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?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to