[Pkg-systemd-maintainers] Bug#724796: Bug#724796: systemd loses track of rsyslog state when syslog.service is replaced during upgrade
Michael Biebl
biebl at debian.org
Sat Sep 28 01:43:57 BST 2013
Am 28.09.2013 02:17, schrieb Michael Biebl:
> Atm, the only workaround I see is to *manually* kill the old rsyslogd
> process in postinst via kill $(cat /run/rsyslogd.pid) before the daemon
> is restarted via invoke-rc.d rsyslog restart.
> This is of course an ugly hack and I assume syslog-ng will be effected
> by this in a similar way.
> not a great solution.
Another option which seems to work, is to "systemctl stop syslog.socket
syslog.service" in rsyslog.preinst of the new version. Then let dpkg
remove the symlink and d-s-h (re)create it in postinst.
The only downside of this approach is, that rsyslog will be down for
quite a while and not log any messages during the dist-upgrade.
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20130928/ae1a8b52/attachment-0002.sig>
More information about the Pkg-systemd-maintainers
mailing list