Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 477710

Summary: net-misc/modemmanager-1.0.0: not working due to bad dbus service entry
Product: Gentoo Linux Reporter: Martin Dummer <martin.dummer>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: major CC: martin.dummer
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: https://bugzilla.gnome.org/show_bug.cgi?id=704711
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 463242    
Attachments: emerge --info net-misc/{networkmanager,modemmanager}

Description Martin Dummer 2013-07-22 07:37:40 UTC
After upgrading to modemmanager-1.0.0 the UMTS modem icon does not appear in the networkmanager gui any more

Reproducible: Always

Steps to Reproduce:
1. upgrade modemmanager to 1.0.0
2. restart computer, login to kde
3. try to connect to internet via GSM/UMTS
Actual Results:  
no UMTS Modem Icon in networkmanager gui, no related connection descriptions available

Expected Results:  
connect to the internet by activiating a umts modem connection

after checking syslog, there are error messages from dbus:

Jul 22 09:07:09 XXX dbus[3000]: [system] Activating service name='org.freedesktop.ModemManager1' (using servicehelper)
Jul 22 09:07:09 XXX dbus[3000]: [system] Activated service 'org.freedesktop.ModemManager1' failed: Cannot launch daemon, file not found or permissions invalid


after some investigation, I found that the dbus service file from ModemManager located in 

/usr/share/dbus-1/system-services/org.freedesktop.ModemManager1.service

contains a bad path to the executable:

[D-BUS Service]
...
Exec=${exec_prefix}/sbin/ModemManager



Correcting the EXEC path to

[D-BUS Service]
...
Exec=/usr/sbin/ModemManager


made ModemManager working again!
Comment 1 Martin Dummer 2013-07-22 07:42:15 UTC
Created attachment 353842 [details]
emerge --info net-misc/{networkmanager,modemmanager}
Comment 2 Pacho Ramos gentoo-dev 2013-07-24 05:40:16 UTC
+*modemmanager-1.0.0-r1 (24 Jul 2013)
+
+  24 Jul 2013; Pacho Ramos <pacho@gentoo.org>
+  +files/modemmanager-1.0.0-dbus-generation.patch,
+  +files/modemmanager-1.0.0-logging-serial.patch, +modemmanager-1.0.0-r1.ebuild,
+  -modemmanager-1.0.0.ebuild:
+  Apply upstream fixes, also solving dbus file generation (#477710 by Martin
+  Dummer).
+