[Pkg-utopia-maintainers] Bug#760998: Bug#760998: Acknowledgement (network-manager: auto restarts)

Dan Williams dcbw at redhat.com
Mon Mar 9 14:41:34 UTC 2015


On Mon, 2015-03-09 at 09:13 +0100, Michael Biebl wrote:
> Am 19.02.2015 um 07:35 schrieb Kurt Roeckx:
> > severity 760998 serious
> > thanks
> > 
> > At this point I'm unable to stop network manager and keep it
> > stopped.  Now I have 0.9.10.0-6.
> > 
> > The log file shows:
> > NetworkManager[15359]: <info> exiting (success)
> > systemd[1]: Stopped Network Manager.
> > dbus[658]: [system] Activating via systemd: service name='org.freedesktop.NetworkManager' unit='dbus-org.freedesktop.NetworkManager.service'
> > systemd[1]: Starting Network Manager...
> > dbus[658]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
> > systemd[1]: Started Network Manager Script Dispatcher Service.
> > NetworkManager[20467]: <info> NetworkManager (version 0.9.10.0) is starting...
> > 
> > I assume something else restarts it, but I have no idea what.  Is
> > there some way to debug this so I can reassign it?
> 
> It's most likely D-Bus activated, e.g. by nm-applet.
> 
> Atm, you need to run "systemctl disable NetworkManager.service;
> systemctl stop NetworkManager.service; <do stuff>; systemctl start
> NetworkManager.service; systemctl enable NetworkManager.service".
> 
> Dan, is dropping the D-Bus autoactivation safe, i.e. removing
> /usr/share/dbus-1/system-services/org.freedesktop.NetworkManager.service?

Yeah, it's safe, though it might slightly slow your bootup for some
reason I don't remember.  Something about not being able to parallelize
bootup, because if something calls NM methods via D-Bus, systemd won't
be able to activate NM and block the receiving process until NM starts,
so the receiving process will just get an error instead of waiting.  But
I guess that's supposed to be the current situation too with our
Exec=/bin/false hack that hasn't worked in a while.

It's worth a try to remove that file, and change the systemd unit file's
[install] section to remove the Alias.  Let me know if that breaks
bootup horribly or something?

Dan



More information about the Pkg-utopia-maintainers mailing list