After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 727783 - nm tries to start the ModemManager service even when it is not installed.
nm tries to start the ModemManager service even when it is not installed.
Status: RESOLVED DUPLICATE of bug 703040
Product: NetworkManager
Classification: Platform
Component: ModemManager
0.9.8
Other Linux
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-04-07 21:23 UTC by Eric Toombs
Modified: 2014-04-08 09:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Eric Toombs 2014-04-07 21:23:32 UTC
nm repeatedly tries to start the ModemManager systemd service, even after the first attempt to start it failed because the service doesn't exist, because ModemManager wasn't installed. It should stop trying to start the service the first time such an attempt fails due to the service not existing. Better yet, ModemManager's existence should be checked before any attempt is made to start it, since it is optional after all.

I suppose this isn't a big deal, except that it unnecessarily clutters up systemd's log file. Here's a sample:

Apr 07 17:03:23 vault dbus[238]: [system] Activating via systemd: service name='org.freedesktop.ModemManager1' unit='dbus-org.freedesktop.ModemManager1.service'
Apr 07 17:03:23 vault dbus[238]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.ModemManager1.service': Unit dbus-org.freedesktop.ModemManager1.service failed to load: No such file or directory.
Apr 07 17:05:23 vault dbus[238]: [system] Activating via systemd: service name='org.freedesktop.ModemManager1' unit='dbus-org.freedesktop.ModemManager1.service'
Apr 07 17:05:23 vault dbus[238]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.ModemManager1.service': Unit dbus-org.freedesktop.ModemManager1.service failed to load: No such file or directory.
Apr 07 17:07:23 vault dbus[238]: [system] Activating via systemd: service name='org.freedesktop.ModemManager1' unit='dbus-org.freedesktop.ModemManager1.service'
Apr 07 17:07:23 vault dbus[238]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.ModemManager1.service': Unit dbus-org.freedesktop.ModemManager1.service failed to load: No such file or directory.
Apr 07 17:09:23 vault dbus[238]: [system] Activating via systemd: service name='org.freedesktop.ModemManager1' unit='dbus-org.freedesktop.ModemManager1.service'
Apr 07 17:09:23 vault dbus[238]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.ModemManager1.service': Unit dbus-org.freedesktop.ModemManager1.service failed to load: No such file or directory.
Apr 07 17:11:23 vault dbus[238]: [system] Activating via systemd: service name='org.freedesktop.ModemManager1' unit='dbus-org.freedesktop.ModemManager1.service'
Apr 07 17:11:23 vault dbus[238]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.ModemManager1.service': Unit dbus-org.freedesktop.ModemManager1.service failed to load: No such file or directory.
Apr 07 17:13:23 vault dbus[238]: [system] Activating via systemd: service name='org.freedesktop.ModemManager1' unit='dbus-org.freedesktop.ModemManager1.service'
Apr 07 17:13:23 vault dbus[238]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.ModemManager1.service': Unit dbus-org.freedesktop.ModemManager1.service failed to load: No such file or directory.
Apr 07 17:15:23 vault dbus[238]: [system] Activating via systemd: service name='org.freedesktop.ModemManager1' unit='dbus-org.freedesktop.ModemManager1.service'
Apr 07 17:15:23 vault dbus[238]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.ModemManager1.service': Unit dbus-org.freedesktop.ModemManager1.service failed to load: No such file or directory.

As you can see, about every 2 minutes, systemd tries to start dbus-org.freedesktop.ModemManager1.service, most likely at the request of NetworkManager, since these start attempts disappear when NetworkManager isn't running.
Comment 1 Aleksander Morgado 2014-04-08 09:42:59 UTC

*** This bug has been marked as a duplicate of bug 703040 ***