2010-05-04 10:04 keltezéssel, Andreas Jaeger írta:
On Tuesday 04 May 2010 09:56:29 Peter Czanik wrote:
Hello,
2010-05-04 09:19 keltezéssel, Andreas Jaeger írta:
Btw. the following packages are still using /var/run (in the last published
factory):
[...]
syslog-ng
[...]
Some of these might be fixed already but not yet checked into factory,
What needs to be fixed here? I did not follow this discussion, as many posts were emotional rather than technical... I can take care for syslog-ng, if I know, what I need to fix :-)
http://lizards.opensuse.org/2010/05/03/preparation-for-mounting-varrun-as- tmpfs/
Currently syslog-ng has its pid and ctl file in /var/run, which definitely could stay.
Yes, no problem with that.
There is also a file for additional log sockets generated /etc/init.d/syslogd on each invocation, which is under the directory /var/run/syslog-ng (as discussed with mt). This could me more of a problem. Possible solutions:
- move /var/run/syslog-ng to somwhere else. Where? This would involve changing the following packages: syslogd, syslog-ng and apparmor-profiles.
Do this only if you have data that needs to survive a reboot.
- remove the /var/run/syslog-ng directory from the syslog-ng package and create it dynamically by /etc/init.d/syslogd
Yes.
Both solutions have advantages and disadvantages. Rsyslog has the exact same problem, so should be solved the same way. Which one should be chosen?
Create it if it does not exist,
OK, done: bigone112:/local/tmp/home:czanik:branches:Base:System/syslogd # osc sr created request id 39390 bigone112:/local/tmp/home:czanik:branches:Base:System/syslogd # cd ../syslog-ng/ bigone112:/local/tmp/home:czanik:branches:Base:System/syslog-ng # osc sr created request id 39391 /var/run/syslog-ng is removed from the syslog-ng package and created on demand by /etc/init.d/syslog. Also added some patches to syslog-ng from git, which were made for the openSUSE version of syslog-ng 2.0.9 and now accepted by upstream. Bye, CzP -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org