[Bug 839067] New: ModemManager does not start automatically when an Huawei USB GSM modem is inserted
https://bugzilla.novell.com/show_bug.cgi?id=839067 https://bugzilla.novell.com/show_bug.cgi?id=839067#c0 Summary: ModemManager does not start automatically when an Huawei USB GSM modem is inserted Classification: openSUSE Product: openSUSE Factory Version: 13.1 Milestone 4 Platform: x86-64 OS/Version: SUSE Other Status: NEW Severity: Major Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: tittiatcoke@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- Created an attachment (id=556299) --> (http://bugzilla.novell.com/attachment.cgi?id=556299) Output from udevadm monitor User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1619.0 Safari/537.36 SUSE/31.0.1619.0 The latest ModemManager (1.0) is not started automatically upon inserting of my Huawei GSM USB stick. Starting ModemManager manually from a konsole recognizes the stick and the Modem can be used. It seems that ModemManager contains a systemd service, which could be used to auto start it but based on feedback on IRC, it seems that ModemManager should be started automatically by UDEV. But as stated this seems not to happen. I have attached the output from udevadm monitor. Reproducible: Always Steps to Reproduce: 1. Install ModemManager 1.0 2. Reboot the system 3. Plug in an USB GSM stick Actual Results: Npthing happens. The Modem is not recognized by NetworkManager and therefore no connections can be started. Expected Results: ModemManager is started by udev and NetworkManager allows connections over the GSM Modem -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839067 https://bugzilla.novell.com/show_bug.cgi?id=839067#c1 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |dimstar@opensuse.org InfoProvider| |fcrozat@suse.com --- Comment #1 from Dominique Leuenberger <dimstar@opensuse.org> 2013-09-07 12:29:12 UTC --- Looking into this, ModemManager should be enabled by systemd... according to our systemd-preset package, this is should be the default. @Frederic: any idea why MM happens to be disabled on machines? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839067 https://bugzilla.novell.com/show_bug.cgi?id=839067#c2 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |fcrozat@suse.com InfoProvider|fcrozat@suse.com | --- Comment #2 from Frederic Crozat <fcrozat@suse.com> 2013-09-09 08:40:18 UTC --- There is nothing in ModemManager udev rules which states the service should be started. ModemManager is added to systemd presets (/usr/lib/systemd/system-preset/90-default-openSUSE.preset) but presets are only applied on initial package install, so on upgrade, I guess MM systemd service isn't enabled (it should be handled by a %post or %triggerpostun). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839067 https://bugzilla.novell.com/show_bug.cgi?id=839067#c3 --- Comment #3 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-09-11 09:00:29 CEST --- This is an autogenerated message for OBS integration: This bug (839067) was mentioned in https://build.opensuse.org/request/show/198412 Factory / ModemManager -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839067 https://bugzilla.novell.com/show_bug.cgi?id=839067#c4 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lnussel@suse.com --- Comment #4 from Ludwig Nussel <lnussel@suse.com> 2013-09-11 13:17:05 CEST --- The method to call systemctl enable doesn't fit the presets idea. The %pre script should instead check if the ModemManager.service file exists. If not, leave a marker and apply the preset also in the update case. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839067 https://bugzilla.novell.com/show_bug.cgi?id=839067#c5 --- Comment #5 from Dominique Leuenberger <dimstar@opensuse.org> 2013-09-11 11:24:45 UTC --- This is no 'regular' systemd, service; it's a dbus service: [Service] Type=dbus Arguably, this kind of service should be always enabled (there is also no special step needed to enable a service in /usr/share/dbus-1/system-service). so, arguably, the preset model is invalid of Type=dbus services. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839067 https://bugzilla.novell.com/show_bug.cgi?id=839067#c6 --- Comment #6 from Frederic Crozat <fcrozat@suse.com> 2013-09-11 12:36:12 UTC --- I agree with Dominique here. Moreover, every package shipping a dbus service in /usr/share/dbus-1/system-service should have its own systemd service file too, to ensure process end in their own systemd service / cgroup and not in dbus one. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839067 https://bugzilla.novell.com/show_bug.cgi?id=839067#c7 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #7 from Dominique Leuenberger <dimstar@opensuse.org> 2013-09-22 14:03:23 UTC --- AS we all agree and the fix has been submitted, I close the bug; ModemManager's "dbus type service" is being enabled on installation -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=839067 https://bugzilla.novell.com/show_bug.cgi?id=839067#c8 --- Comment #8 from Ludwig Nussel <lnussel@suse.com> 2013-09-23 09:48:05 CEST --- I'm not arguing about whether or not ModemManager should be enabled. I'm just saying that the method you chose is an unnecessary hack that does not use the infrastructure intended for it. See comment #4. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com