Debugging 20s pause in boot time in rawhide

Dan Williams dcbw at redhat.com
Tue Jan 18 16:02:20 UTC 2011


On Mon, 2011-01-17 at 22:07 -0600, Jason D. Clinton wrote:
> On Mon, Jan 17, 2011 at 22:01, Jason D. Clinton <me at jasonclinton.com>
> wrote:
>         This interesting though:
>         $ ls
>         -l /etc/systemd/system/dbus-org.freedesktop.NetworkManager.service 
>         lrwxrwxrwx. 1 root root 42 Oct 22
>         13:33 /etc/systemd/system/dbus-org.freedesktop.NetworkManager.service -> /lib/systemd/system/NetworkManager.service

There's a couple considerations here, not sure if they are all fulfilled
by the current setup or not...

1) NM doesn't *need* bluez, but if bluez is available NM wants to talk
to it.  We could put the Wants in if that doesn't break when bluez isnt'
installed.

2) NM has some 'special' system magic; just installing the
NetworkManager package should *not* automatically enable NM as a startup
service, so that existing configurations that somehow drag NM in via
dependencies don't randomly change your networking setup.  NM should
only be started when explicitly enabled, which we do in the installer
and the LiveCD explicitly when your system is initially installed.
systemd didn't originally handle that, so Lennart and I worked around
that last fall and that workaround might no longer be adequate?

Dan

> Yes, this was the problem. As soon as I deleted this file and rebooted
> my boot time went from 35s to 15s and NetworkManager and pulseaudio
> are starting at roughly the same time which in turn causes the
> bluetooth.service to appear in time.
> 
> So there's maybe three bugs here:
> NetworkManager.service doesn't Wants=bluetooth.service
> NetworkManager doesn't do D-Bus activation on org.bluez somehow?
> Something is
> touching /etc/systemd/system/dbus-org.freedesktop.NetworkManager.service that shouldn't be.
> 
> Perhaps this file is another clue as to the root cause of
> https://bugzilla.redhat.com/show_bug.cgi?id=668633 ?
> 
> 
> -- 
> devel mailing list
> devel at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel




More information about the devel mailing list