[Pkg-systemd-maintainers] [Pkg-utopia-maintainers] Bug#734460: Bug#734460: network-manager: Issues related to systemd when upgrading from << 0.9.8.8-2

Michael Biebl biebl at debian.org
Sun Jan 12 13:04:24 GMT 2014


Am 12.01.2014 13:53, schrieb Michael Biebl:

> This somehow smells like the same bug as [1] or at least related, i.e.
> systemd getting confused when we mess around with the symlinks.	
> (In case of rsyslog we basically go the other direction: the symlinks
> are no longer shipped in the package but created on install time via
> dh-systemd)
> I wonder if there is a way to address this directly in systemd.
> 
> Michael
> 
> [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=724796

In [1] I suggested to use "kill $(cat /run/rsyslogd.pid)" in postinst
(same reason, to minimize downtime).

We could apply the same workaround to NM:
kill $(cat /var/run/NetworkManager/NetworkManager.pid)
or a less hacky way like
start-stop-daemon --stop --retry 5 --quiet --pidfile
/var/run/NetworkManager/NetworkManager.pid --exec /usr/sbin/NetworkManager
(directly copied from the SysV init script)

Both options (invoke-rc.d stop in preinst, manual stop in postinst)
aren't pretty.

-- 
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: 884 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140112/c533592d/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list