Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 477710 - net-misc/modemmanager-1.0.0: not working due to bad dbus service entry
Summary: net-misc/modemmanager-1.0.0: not working due to bad dbus service entry
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks: gnome-3.8
  Show dependency tree
 
Reported: 2013-07-22 07:37 UTC by Martin Dummer
Modified: 2013-07-24 05:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info net-misc/{networkmanager,modemmanager} (emerge-info.txt,6.59 KB, text/plain)
2013-07-22 07:42 UTC, Martin Dummer
Details

Note You need to log in before you can comment on or make changes to this bug.
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).
+