Debian Bug report logs - #770871
modemmanager: ModemManager does not start automatically

version graph

Package: network-manager; Maintainer for network-manager is Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>; Source for network-manager is src:network-manager.

Reported by: Nils Dagsson Moskopp <nils+debian-reportbug@dieweltistgarnichtso.net>

Date: Mon, 24 Nov 2014 20:24:07 UTC

Severity: serious

Tags: patch

Found in version network-manager/0.9.10.0-5

Fixed in versions network-manager/1.0.0-3, network-manager/0.9.10.0-6

Done: Michael Biebl <biebl@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, nils+debian-reportbug@dieweltistgarnichtso.net, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#770871; Package modemmanager. (Mon, 24 Nov 2014 20:24:12 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nils Dagsson Moskopp <nils+debian-reportbug@dieweltistgarnichtso.net>:
New Bug report received and forwarded. Copy sent to nils+debian-reportbug@dieweltistgarnichtso.net, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>. (Mon, 24 Nov 2014 20:24:12 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Nils Dagsson Moskopp <nils+debian-reportbug@dieweltistgarnichtso.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: modemmanager: ModemManager does not start automatically
Date: Mon, 24 Nov 2014 21:21:50 +0100
Package: modemmanager
Version: 1.4.0-1
Severity: important

Dear Maintainer,

for some time now ModemManager is not starting up automatically anymore.
This means I have to start it explicitly via “/usr/sbin/ModemManager”.
While this does not break MM completely, I think it is not so nice.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.13-1-686-pae (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages modemmanager depends on:
ii  init-system-helpers    1.21
ii  libc6                  2.19-13
ii  libglib2.0-0           2.42.0-2
ii  libgudev-1.0-0         215-5+b1
ii  libmbim-glib4          1.10.0-2
ii  libmbim-proxy          1.10.0-2
ii  libmm-glib0            1.4.0-1
ii  libpolkit-gobject-1-0  0.105-7
ii  libqmi-glib1           1.10.2-2
ii  libqmi-proxy           1.10.2-2

Versions of packages modemmanager recommends:
ii  usb-modeswitch  2.1.1+repack0-1

modemmanager suggests no packages.

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#770871; Package modemmanager. (Tue, 20 Jan 2015 10:45:14 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
Extra info received and forwarded to list. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>. (Tue, 20 Jan 2015 10:45:15 GMT) Full text and rfc822 format available.

Message #10 received at 770871@bugs.debian.org (full text, mbox, reply):

From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: 770871@bugs.debian.org
Cc: 770871-submitter@bugs.debian.org
Subject: ModemManager only starts up if system is PID 1
Date: Tue, 20 Jan 2015 10:42:01 +0000
[Message part 1 (text/plain, inline)]
Severity: serious
Justification: GSM modem support will not work out-of-the-box with  
non-systemd setups

Hi,

I see a similar issue about ModemManager not coming up by default via  
network-manager.

The reason is simple (after staring at mm and nm from jessie and  
wheezy for a while):

  o ModemManager comes with a DBus system-service file
  o NetworkManager in Debian wheezy triggers that service  
(org.freedesktop.ModemManager)
  o NetworkManager in Debian testing does not have that code anymore,  
it expects
    from systemd to launch ModemManager

=> systems without systemd as PID 1 fail to start ModemManager and GSM  
devices are not available in NetworkManager.

Solution IMHO:

  o Provide an init script in /etc/init.d/ that launches ModemManager  
on non-systemd machines
  o other options???

I hope we can get this fixed for jessie.

Mike

-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-signature, inline)]

Severity set to 'serious' from 'important' Request was from Mike Gabriel <mike.gabriel@das-netzwerkteam.de> to control@bugs.debian.org. (Tue, 20 Jan 2015 10:45:17 GMT) Full text and rfc822 format available.

Message sent on to Nils Dagsson Moskopp <nils+debian-reportbug@dieweltistgarnichtso.net>:
Bug#770871. (Tue, 20 Jan 2015 10:45:22 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#770871; Package modemmanager. (Tue, 20 Jan 2015 13:51:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>. (Tue, 20 Jan 2015 13:51:05 GMT) Full text and rfc822 format available.

Message #20 received at 770871@bugs.debian.org (full text, mbox, reply):

From: Michael Biebl <biebl@debian.org>
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 770871@bugs.debian.org
Subject: Re: Bug#770871: ModemManager only starts up if system is PID 1
Date: Tue, 20 Jan 2015 14:50:13 +0100
[Message part 1 (text/plain, inline)]
tags: -1 + moreinfo help

Am 20.01.2015 um 11:42 schrieb Mike Gabriel:
> Severity: serious
> Justification: GSM modem support will not work out-of-the-box with
> non-systemd setups
> 
> Hi,
> 
> I see a similar issue about ModemManager not coming up by default via
> network-manager.
> 
> The reason is simple (after staring at mm and nm from jessie and wheezy
> for a while):
> 
>   o ModemManager comes with a DBus system-service file
>   o NetworkManager in Debian wheezy triggers that service
> (org.freedesktop.ModemManager)
>   o NetworkManager in Debian testing does not have that code anymore, it
> expects
>     from systemd to launch ModemManager
> 
> => systems without systemd as PID 1 fail to start ModemManager and GSM
> devices are not available in NetworkManager.

Looks like ModemManager starts just fine here if I boot with sysvinit.
If, as you say, NM no longer pokes the D-Bus service, I guess something
else in the desktop (GNOME3 here) does it. So this issue might be
specific to certain DEs.


> 
> Solution IMHO:
> 
>   o Provide an init script in /etc/init.d/ that launches ModemManager on
> non-systemd machines
>   o other options???

I don't think adding an init script to ModemManager is a good option.
For one, I don't want to start MM unconditionally.

I'd rather have NM use a runtime check for systemd (sd_booted()).
All the code still seems to be there [1], it just needs to be changed to
use a runtime check instead of compile time.

I'm inclined to re-assign this to NM.

> I hope we can get this fixed for jessie.
> 

I'd be willing to review and merge a tested patch for NM.

Cheers,
Michael



[1]
http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=3b76ae18a52b44dbe577557e038fdc263edc5715
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#770871; Package modemmanager. (Tue, 20 Jan 2015 14:21:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>. (Tue, 20 Jan 2015 14:21:04 GMT) Full text and rfc822 format available.

Message #25 received at 770871@bugs.debian.org (full text, mbox, reply):

From: Michael Biebl <biebl@debian.org>
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 770871@bugs.debian.org
Subject: Re: Bug#770871: ModemManager only starts up if system is PID 1
Date: Tue, 20 Jan 2015 15:13:29 +0100
[Message part 1 (text/plain, inline)]
Am 20.01.2015 um 14:50 schrieb Michael Biebl:

> I'd rather have NM use a runtime check for systemd (sd_booted()).
> All the code still seems to be there [1], it just needs to be changed to
> use a runtime check instead of compile time.
> 
> I'm inclined to re-assign this to NM.
> 
>> I hope we can get this fixed for jessie.
>>
> 
> I'd be willing to review and merge a tested patch for NM.

[..]
> 
> [1]
> http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=3b76ae18a52b44dbe577557e038fdc263edc5715


Fwiw, this is the upstream response:
https://bugzilla.gnome.org/show_bug.cgi?id=703040#c7

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#770871; Package modemmanager. (Wed, 21 Jan 2015 10:42:14 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
Extra info received and forwarded to list. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>. (Wed, 21 Jan 2015 10:42:14 GMT) Full text and rfc822 format available.

Message #30 received at 770871@bugs.debian.org (full text, mbox, reply):

From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Michael Biebl <biebl@debian.org>
Cc: 770871@bugs.debian.org
Subject: Re: Bug#770871: ModemManager only starts up if system is PID 1
Date: Wed, 21 Jan 2015 10:41:42 +0000
[Message part 1 (text/plain, inline)]
Hi Michael,

On  Di 20 Jan 2015 14:50:13 CET, Michael Biebl wrote:

> tags: -1 + moreinfo help
>
> All the code still seems to be there [1], it just needs to be changed to
> use a runtime check instead of compile time.

Ok. I think I am not involved with that code base enough. Also quite  
busy with the rest of my packages atm.

> I'm inclined to re-assign this to NM.
>

Fair enough, seems like NM should handle the start up of MM by what I  
have read so far.

> [1]
> http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=3b76ae18a52b44dbe577557e038fdc263edc5715

Thanks for looking at it,
Mike

-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#770871; Package modemmanager. (Sun, 01 Feb 2015 12:48:09 GMT) Full text and rfc822 format available.

Acknowledgement sent to Didier 'OdyX' Raboud <odyx@debian.org>:
Extra info received and forwarded to list. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>. (Sun, 01 Feb 2015 12:48:09 GMT) Full text and rfc822 format available.

Message #35 received at 770871@bugs.debian.org (full text, mbox, reply):

From: Didier 'OdyX' Raboud <odyx@debian.org>
To: 770871@bugs.debian.org
Cc: Michael Biebl <biebl@debian.org>, network-manager@packages.qa.debian.org, Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Subject: Re: Bug#770871: ModemManager only starts up if system is PID 1
Date: Sun, 01 Feb 2015 13:45:16 +0100
[Message part 1 (text/plain, inline)]
Control: reassign -1 network-manager 0.9.10.0-5
Control: tags -1 +patch

(St-Cergue [modest] BSP here)

On Tue, 20 Jan 2015 15:13:29 +0100 Michael Biebl wrote:
> > I'd rather have NM use a runtime check for systemd (sd_booted()).
> > All the code still seems to be there [1], it just needs to be
> > changed to use a runtime check instead of compile time.
> > 
> > I'm inclined to re-assign this to NM.

Doing so then.

> > I'd be willing to review and merge a tested patch for NM.

Attaching a patch for Network-Manager that replaces the HAVE_SYSTEMD 
ifdefs with sd_booted() calls, linking against systemd/sd-daemon.h.

It builds and runs fine under systemd, as far as I could test (but 
didn't have a GSM dongle handy, to really assess that it does).

Cheers, OdyX
[signature.asc (application/pgp-signature, inline)]

Bug reassigned from package 'modemmanager' to 'network-manager'. Request was from Didier 'OdyX' Raboud <odyx@debian.org> to 770871-submit@bugs.debian.org. (Sun, 01 Feb 2015 12:48:09 GMT) Full text and rfc822 format available.

No longer marked as found in versions modemmanager/1.4.0-1. Request was from Didier 'OdyX' Raboud <odyx@debian.org> to 770871-submit@bugs.debian.org. (Sun, 01 Feb 2015 12:48:10 GMT) Full text and rfc822 format available.

Marked as found in versions network-manager/0.9.10.0-5. Request was from Didier 'OdyX' Raboud <odyx@debian.org> to 770871-submit@bugs.debian.org. (Sun, 01 Feb 2015 12:48:11 GMT) Full text and rfc822 format available.

Added tag(s) patch. Request was from Didier 'OdyX' Raboud <odyx@debian.org> to 770871-submit@bugs.debian.org. (Sun, 01 Feb 2015 12:48:12 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#770871; Package network-manager. (Mon, 02 Feb 2015 09:00:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
Extra info received and forwarded to list. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>. (Mon, 02 Feb 2015 09:00:04 GMT) Full text and rfc822 format available.

Message #48 received at 770871@bugs.debian.org (full text, mbox, reply):

From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Didier 'OdyX' Raboud <odyx@debian.org>
Cc: 770871@bugs.debian.org, Michael Biebl <biebl@debian.org>, network-manager@packages.qa.debian.org
Subject: Re: Bug#770871: ModemManager only starts up if system is PID 1
Date: Mon, 02 Feb 2015 08:57:02 +0000
[Message part 1 (text/plain, inline)]
Hi Odyx,

On  So 01 Feb 2015 13:45:16 CET, Didier 'OdyX' Raboud wrote:

> Control: reassign -1 network-manager 0.9.10.0-5
> Control: tags -1 +patch
>
> (St-Cergue [modest] BSP here)
>
> On Tue, 20 Jan 2015 15:13:29 +0100 Michael Biebl wrote:
>> > I'd rather have NM use a runtime check for systemd (sd_booted()).
>> > All the code still seems to be there [1], it just needs to be
>> > changed to use a runtime check instead of compile time.
>> >
>> > I'm inclined to re-assign this to NM.
>
> Doing so then.
>
>> > I'd be willing to review and merge a tested patch for NM.
>
> Attaching a patch for Network-Manager that replaces the HAVE_SYSTEMD
> ifdefs with sd_booted() calls, linking against systemd/sd-daemon.h.
>
> It builds and runs fine under systemd, as far as I could test (but
> didn't have a GSM dongle handy, to really assess that it does).
>
> Cheers, OdyX

Could you add the patch file to this bug. It seems you forgot to  
attach it in your previous mail.

Mike

-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#770871; Package network-manager. (Mon, 02 Feb 2015 10:15:14 GMT) Full text and rfc822 format available.

Acknowledgement sent to Didier 'OdyX' Raboud <odyx@debian.org>:
Extra info received and forwarded to list. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>. (Mon, 02 Feb 2015 10:15:14 GMT) Full text and rfc822 format available.

Message #53 received at 770871@bugs.debian.org (full text, mbox, reply):

From: Didier 'OdyX' Raboud <odyx@debian.org>
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Cc: 770871@bugs.debian.org, Michael Biebl <biebl@debian.org>, network-manager@packages.qa.debian.org
Subject: Re: Bug#770871: ModemManager only starts up if system is PID 1
Date: Mon, 02 Feb 2015 11:10:59 +0100
[Message part 1 (text/plain, inline)]
Le lundi, 2 février 2015 08.57:02, vous avez écrit :
> Could you add the patch file to this bug. It seems you forgot to
> attach it in your previous mail.

Damn. :'(

Here you go.

OdyX
[0017-use-sd_booted-for-systemd-detection-at-runtime.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#770871; Package network-manager. (Mon, 02 Feb 2015 13:27:09 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
Extra info received and forwarded to list. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>. (Mon, 02 Feb 2015 13:27:09 GMT) Full text and rfc822 format available.

Message #58 received at 770871@bugs.debian.org (full text, mbox, reply):

From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Didier 'OdyX' Raboud <odyx@debian.org>
Cc: 770871@bugs.debian.org, Michael Biebl <biebl@debian.org>, network-manager@packages.qa.debian.org
Subject: Re: Bug#770871: ModemManager only starts up if system is PID 1
Date: Mon, 02 Feb 2015 13:25:16 +0000
[Message part 1 (text/plain, inline)]
Hi all,

On  Mo 02 Feb 2015 11:10:59 CET, Didier 'OdyX' Raboud wrote:

> Le lundi, 2 février 2015 08.57:02, vous avez écrit :
>> Could you add the patch file to this bug. It seems you forgot to
>> attach it in your previous mail.
>
> Damn. :'(
>
> Here you go.
>
> OdyX

OdyX! The patch works well (at least here)!

THANKS+GREETS,
Mike

-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#770871; Package network-manager. (Mon, 02 Feb 2015 13:36:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>. (Mon, 02 Feb 2015 13:36:04 GMT) Full text and rfc822 format available.

Message #63 received at 770871@bugs.debian.org (full text, mbox, reply):

From: Michael Biebl <biebl@debian.org>
To: Didier 'OdyX' Raboud <odyx@debian.org>, 770871@bugs.debian.org
Subject: Re: [Pkg-utopia-maintainers] Bug#770871: ModemManager only starts up if system is PID 1
Date: Mon, 02 Feb 2015 14:34:14 +0100
[Message part 1 (text/plain, inline)]
Hi OdyX,

Am 02.02.2015 um 11:10 schrieb Didier 'OdyX' Raboud:
> Le lundi, 2 février 2015 08.57:02, vous avez écrit :
>> Could you add the patch file to this bug. It seems you forgot to
>> attach it in your previous mail.
> 
> Damn. :'(
> 
> Here you go.

To keep the diff smaller, could you change the patch to simply use

/* Do nothing if booted with systemd */
if (sd_booted())
	return;

for modem_manager_1_poke_cb() and modem_manager_1_poke().

A more verbose patch header would be great as well.
Just add a few sentences that for MM we use runtime detection since we
want the dbus autostart behaviour on !systemd for MM.

Keep in mind, that we didn't replace all occurences of HAVE_SYSTEMD.

Thanks,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#770871; Package network-manager. (Mon, 02 Feb 2015 15:18:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to Didier 'OdyX' Raboud <odyx@debian.org>:
Extra info received and forwarded to list. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>. (Mon, 02 Feb 2015 15:18:09 GMT) Full text and rfc822 format available.

Message #68 received at 770871@bugs.debian.org (full text, mbox, reply):

From: Didier 'OdyX' Raboud <odyx@debian.org>
To: Michael Biebl <biebl@debian.org>
Cc: 770871@bugs.debian.org
Subject: Re: [Pkg-utopia-maintainers] Bug#770871: ModemManager only starts up if system is PID 1
Date: Mon, 02 Feb 2015 16:14:25 +0100
[Message part 1 (text/plain, inline)]
Le lundi, 2 février 2015, 14.34:14 Michael Biebl a écrit :
> To keep the diff smaller, could you change the patch to simply use
> (…)
> A more verbose patch header would be great as well.
> Just add a few sentences that for MM we use runtime detection since we
> want the dbus autostart behaviour on !systemd for MM.

Something along these lines?

Cheers,
OdyX
[0017-In-ModemManager-lifecycle-handler-replace-build-time.patch (text/x-patch, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#770871; Package network-manager. (Mon, 02 Feb 2015 20:54:10 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>. (Mon, 02 Feb 2015 20:54:10 GMT) Full text and rfc822 format available.

Message #73 received at 770871@bugs.debian.org (full text, mbox, reply):

From: Michael Biebl <biebl@debian.org>
To: Didier 'OdyX' Raboud <odyx@debian.org>, 770871@bugs.debian.org
Subject: Re: [Pkg-utopia-maintainers] Bug#770871: Bug#770871: ModemManager only starts up if system is PID 1
Date: Mon, 02 Feb 2015 21:51:50 +0100
[Message part 1 (text/plain, inline)]
Am 02.02.2015 um 16:14 schrieb Didier 'OdyX' Raboud:
> Le lundi, 2 février 2015, 14.34:14 Michael Biebl a écrit :
>> To keep the diff smaller, could you change the patch to simply use
>> (…)
>> A more verbose patch header would be great as well.
>> Just add a few sentences that for MM we use runtime detection since we
>> want the dbus autostart behaviour on !systemd for MM.
> 
> Something along these lines?

I've looked into this a bit more:
Adding the sd_booted() checks to modem_manager_poke() and
modem_manager_poke_cb() is actually not necessary, since we well never
call them in the systemd case.

I'll fix this patch up accordingly beforce committing it.

Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

[signature.asc (application/pgp-signature, attachment)]

Added tag(s) pending. Request was from Michael Biebl <biebl@debian.org> to control@bugs.debian.org. (Mon, 09 Feb 2015 01:03:05 GMT) Full text and rfc822 format available.

Reply sent to Michael Biebl <biebl@debian.org>:
You have taken responsibility. (Mon, 09 Feb 2015 01:21:10 GMT) Full text and rfc822 format available.

Notification sent to Nils Dagsson Moskopp <nils+debian-reportbug@dieweltistgarnichtso.net>:
Bug acknowledged by developer. (Mon, 09 Feb 2015 01:21:10 GMT) Full text and rfc822 format available.

Message #80 received at 770871-close@bugs.debian.org (full text, mbox, reply):

From: Michael Biebl <biebl@debian.org>
To: 770871-close@bugs.debian.org
Subject: Bug#770871: fixed in network-manager 1.0.0-3
Date: Mon, 09 Feb 2015 01:19:24 +0000
Source: network-manager
Source-Version: 1.0.0-3

We believe that the bug you reported is fixed in the latest version of
network-manager, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 770871@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Biebl <biebl@debian.org> (supplier of updated network-manager package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 09 Feb 2015 01:58:39 +0100
Source: network-manager
Binary: network-manager network-manager-dev libnm-glib4 libnm-glib-dev libnm-glib-vpn1 libnm-glib-vpn-dev libnm-util2 libnm-util-dev libnm0 libnm-dev network-manager-dbg gir1.2-networkmanager-1.0
Architecture: source amd64
Version: 1.0.0-3
Distribution: experimental
Urgency: medium
Maintainer: Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>
Changed-By: Michael Biebl <biebl@debian.org>
Description:
 gir1.2-networkmanager-1.0 - GObject introspection data for NetworkManager
 libnm-dev  - GObject-based client library for NetworkManager (development file
 libnm-glib-dev - network management framework (GLib interface)
 libnm-glib-vpn-dev - network management framework (GLib interface)
 libnm-glib-vpn1 - network management framework (GLib VPN shared library)
 libnm-glib4 - network management framework (GLib shared library)
 libnm-util-dev - network management framework (development files)
 libnm-util2 - network management framework (shared library)
 libnm0     - GObject-based client library for NetworkManager
 network-manager - network management framework (daemon and userspace tools)
 network-manager-dbg - network management framework (debugging symbols)
 network-manager-dev - network management framework (development files)
Closes: 770871
Changes:
 network-manager (1.0.0-3) experimental; urgency=medium
 .
   * Add strictly versioned Depends on libnm0 to libnm-dev.
   * Detect at runtime whether to start ModemManager. (Closes: #770871)
   * Don't install nm-settings-ifcfg-rh.5 man page.
Checksums-Sha1:
 1116e5b0511f510bb9e71db4945234c57d165258 3544 network-manager_1.0.0-3.dsc
 d8dff8d6430ebec6e7b090b89305c83aecea4a39 42200 network-manager_1.0.0-3.debian.tar.xz
 0a5f58fa16ac2407c278ca734bd370270e0fa6d9 1935586 network-manager_1.0.0-3_amd64.deb
 f4c459bcc0b526bf6c63fe439775785e9399b7f8 288842 network-manager-dev_1.0.0-3_amd64.deb
 0e90c35687396705feecac68067679131546f5f9 316262 libnm-glib4_1.0.0-3_amd64.deb
 6588f9c7cdc183777e9ec8b7c3c3e77ce27a2795 428088 libnm-glib-dev_1.0.0-3_amd64.deb
 19a2826a9dd41c33cd54eb6cef95e61109957f13 245038 libnm-glib-vpn1_1.0.0-3_amd64.deb
 ec0ec1e3df77019c89946b891513db423bf2ec05 236676 libnm-glib-vpn-dev_1.0.0-3_amd64.deb
 56945ff4b103723220752073eeaa0c4d00ad93c5 356256 libnm-util2_1.0.0-3_amd64.deb
 c2bd52cf5c58524aa5f693ad5bddf38adb46e05e 432010 libnm-util-dev_1.0.0-3_amd64.deb
 1680f59d79ef13c516fd358c390aaccb609cf88f 524356 libnm0_1.0.0-3_amd64.deb
 d25ad5e822e75992daf39b59320f86fa2daa0305 594338 libnm-dev_1.0.0-3_amd64.deb
 67120166c6a49550b932454d25b4560f48b000b8 5352102 network-manager-dbg_1.0.0-3_amd64.deb
 fadb38792f9de8ae5ea3e9855a3e6420dbf3e35a 292668 gir1.2-networkmanager-1.0_1.0.0-3_amd64.deb
Checksums-Sha256:
 b81284e0a489a46cf95d6256262406fa3ab6fe0597b34c109d1bd1389b03c6c8 3544 network-manager_1.0.0-3.dsc
 45f799036ff38f2204a076234dd072f11ebdf4bcf6634fcd9fd8467c234a5b8c 42200 network-manager_1.0.0-3.debian.tar.xz
 15c3669d4594f2cd2b2026b7e7e9ebf8c76684406a299e5c5a2673e48e3bdef4 1935586 network-manager_1.0.0-3_amd64.deb
 92c5b370657e9575c4945e0569b9078aded4dd116b579383899bfc32b277cf4f 288842 network-manager-dev_1.0.0-3_amd64.deb
 16df8eb10d935ac83df503bc826fe97f5e3e02c6f533c7dca1c2670b79ae597c 316262 libnm-glib4_1.0.0-3_amd64.deb
 f2ed7207993844de2bcac1cbe85cdcb59921626b18880f92f1833a7ed35a0ae3 428088 libnm-glib-dev_1.0.0-3_amd64.deb
 cf9c4c0681e826ab356cde2f83c6bd3d91f9d7d380aa23af721b6831c046f2e9 245038 libnm-glib-vpn1_1.0.0-3_amd64.deb
 57c2f66ecafc48ef5b61e8de1a5e6af2b7494fe110c5c0da8bd231c1f16f34d7 236676 libnm-glib-vpn-dev_1.0.0-3_amd64.deb
 509e0eb397659f23098f797c368b67f021cf7606d2e061684b5c1ee5fbdee8d9 356256 libnm-util2_1.0.0-3_amd64.deb
 6914257d9c8eac4ef5ca2ff5021babbb20fefd04ea4dccfc356ce6641c4149eb 432010 libnm-util-dev_1.0.0-3_amd64.deb
 260ac33aecf8627f470a0a04590a13ce0cf83aac55f12305e75ee0ef8456358b 524356 libnm0_1.0.0-3_amd64.deb
 eaec6c39f96b4b8f52e3dd867e3a5a46edc26f84c7322774dd76d9c950fc6114 594338 libnm-dev_1.0.0-3_amd64.deb
 a0600c16b1e350901a881ac749fb2304e5f0692096f07964b9beba090df91df3 5352102 network-manager-dbg_1.0.0-3_amd64.deb
 989c4846175037bd576187fc25759b7c02178db7fe76c2c2e5db3fe9e7c1f3a6 292668 gir1.2-networkmanager-1.0_1.0.0-3_amd64.deb
Files:
 c170bdf08f22cea9ad0fa58ab5a82f8b 3544 net optional network-manager_1.0.0-3.dsc
 3d270409fb91b8ac12d4fe8cb1dd7957 42200 net optional network-manager_1.0.0-3.debian.tar.xz
 39dca203b9513c2111328589e95d31ce 1935586 net optional network-manager_1.0.0-3_amd64.deb
 0660bdb6405a58733385007bba11daca 288842 devel optional network-manager-dev_1.0.0-3_amd64.deb
 791627a17e58bb036c26537929a7d9de 316262 libs optional libnm-glib4_1.0.0-3_amd64.deb
 7a24fb7b85aeaa4bc554a10c9c77abb7 428088 libdevel optional libnm-glib-dev_1.0.0-3_amd64.deb
 1119ed8ed0be0dfd9b3ba59edc8ef3e5 245038 libs optional libnm-glib-vpn1_1.0.0-3_amd64.deb
 bbd325429942b9eda246c30b1e3e2553 236676 libdevel optional libnm-glib-vpn-dev_1.0.0-3_amd64.deb
 dbf68cfab7e50c13399dec469c596b9c 356256 libs optional libnm-util2_1.0.0-3_amd64.deb
 f97c79904423bbe6ff80d92087dae29a 432010 libdevel optional libnm-util-dev_1.0.0-3_amd64.deb
 2a3c51483c6d5d5c6b37cb80d918b28a 524356 libs optional libnm0_1.0.0-3_amd64.deb
 cfaa2c57678ae13464b29582540de1e2 594338 libdevel optional libnm-dev_1.0.0-3_amd64.deb
 0574bba83f80837232759e44f89d6ee2 5352102 debug extra network-manager-dbg_1.0.0-3_amd64.deb
 9fc92ee96370231c1122d11e08cd2bf6 292668 introspection optional gir1.2-networkmanager-1.0_1.0.0-3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJU2Ae9AAoJEGrh3w1gjyLc7toP/iNEKaKsAWPOzu9auFWymdfF
XqyhfP3pl9bd1TAZ3rzSqIT6HKZBV12FUTFx5zeayMC4YBXLovo0ddZ2J1HdWZWW
vt1VxLT3UlMtTnRUM8+bn8exMOY7QBlGnVRALfQyfAAPfeyq+884Lv5Oq8QFGSLF
2SYEH/cN1pjEBKFwpY3/kNLf8FoUgtJegtyoyCuAfT7GPJ5bSuoSKahfMLup9jk2
hseoxEXaCskW+8l2wBmj2mcxAoDDsXGqgqS64GcfOVW8xuszODrVokYLjbhwrGiM
kQvJ0WsB2HDUzZyUiTNxXYLThZraN22s44+5i5jODdtW08NFUPCOSucXMSMdfBFa
IptXSXYEfKz8SFmFDO/djs7vbza+JpLY5AnfNOqjTT5IrJ8gm4J6/CnPFVzDNO+6
LfzrS67MQkPj+gZ/XVs5fdPKKZ0ORGjSHpSGTX0B815gZeqr0Uu9mGQvuzer+Ajb
xi8jiTvbejIN0ILBKjDyGu2DzgHVJxpykqdeG9NrJOcln4NhMRwTdbaOS8XSZQUr
W6rSMRo64iZbI3G1iAM+OlhQh10CJrSuwY0Tvy/AgYGjwXBKjZVW7GI28wT3Pk3d
VYUIY/wfbRVNNGjf3zeXroOQybx9nisL6w8vsrkuxiYxKbk57+LN7ng3oc4U3WZ3
dKSAWtMZgLs2EU2LdCDM
=7acR
-----END PGP SIGNATURE-----




Reply sent to Michael Biebl <biebl@debian.org>:
You have taken responsibility. (Mon, 09 Feb 2015 01:51:12 GMT) Full text and rfc822 format available.

Notification sent to Nils Dagsson Moskopp <nils+debian-reportbug@dieweltistgarnichtso.net>:
Bug acknowledged by developer. (Mon, 09 Feb 2015 01:51:12 GMT) Full text and rfc822 format available.

Message #85 received at 770871-close@bugs.debian.org (full text, mbox, reply):

From: Michael Biebl <biebl@debian.org>
To: 770871-close@bugs.debian.org
Subject: Bug#770871: fixed in network-manager 0.9.10.0-6
Date: Mon, 09 Feb 2015 01:48:53 +0000
Source: network-manager
Source-Version: 0.9.10.0-6

We believe that the bug you reported is fixed in the latest version of
network-manager, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 770871@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Biebl <biebl@debian.org> (supplier of updated network-manager package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 09 Feb 2015 02:29:46 +0100
Source: network-manager
Binary: network-manager network-manager-dev libnm-glib4 libnm-glib-dev libnm-glib-vpn1 libnm-glib-vpn-dev libnm-util2 libnm-util-dev network-manager-dbg gir1.2-networkmanager-1.0
Architecture: source amd64
Version: 0.9.10.0-6
Distribution: unstable
Urgency: medium
Maintainer: Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>
Changed-By: Michael Biebl <biebl@debian.org>
Description:
 gir1.2-networkmanager-1.0 - GObject introspection data for NetworkManager
 libnm-glib-dev - network management framework (GLib interface)
 libnm-glib-vpn-dev - network management framework (GLib interface)
 libnm-glib-vpn1 - network management framework (GLib VPN shared library)
 libnm-glib4 - network management framework (GLib shared library)
 libnm-util-dev - network management framework (development files)
 libnm-util2 - network management framework (shared library)
 network-manager - network management framework (daemon and userspace tools)
 network-manager-dbg - network management framework (debugging symbols)
 network-manager-dev - network management framework (development files)
Closes: 770871 773216
Changes:
 network-manager (0.9.10.0-6) unstable; urgency=medium
 .
   * Detect at runtime whether to start ModemManager. When not running under
     systemd, start ModemManager via dbus activation. (Closes: #770871)
   * Do not assert when a device is enslaved externally. Fixes crash when
     running something like 'brctl addif br0 eth0'. (Closes: #773216)
Checksums-Sha1:
 284c5dd2b11c98897d3f7cfdd61ef569c2942616 3393 network-manager_0.9.10.0-6.dsc
 e04a31b45429b7e455a65fc9bc778681e3c828e1 45040 network-manager_0.9.10.0-6.debian.tar.xz
 471a97c819dd252517f699b3ac37f66cdaa067b4 1435566 network-manager_0.9.10.0-6_amd64.deb
 352a3963afc9d53356d9661d8fcf81b0ab127ac6 287128 network-manager-dev_0.9.10.0-6_amd64.deb
 f886fcd6c715e481f6598e9336fce95e2454740a 316302 libnm-glib4_0.9.10.0-6_amd64.deb
 d91e6f2348b6747994c92595b2cd68d12b60e6b1 426944 libnm-glib-dev_0.9.10.0-6_amd64.deb
 7c40c050c029d51e7514975f9db1411dee7eb06f 244892 libnm-glib-vpn1_0.9.10.0-6_amd64.deb
 236b04495de6d9af0c4967c59a4a02458148fdd9 236556 libnm-glib-vpn-dev_0.9.10.0-6_amd64.deb
 aca946aa8b94ac1a1d1e0f544f88aa6e2e83955e 364818 libnm-util2_0.9.10.0-6_amd64.deb
 cd2751e9b07069c14838fc342f7124d5ae604953 420476 libnm-util-dev_0.9.10.0-6_amd64.deb
 4be59fce77787863c8b8a8606cb26a96426ff369 2863206 network-manager-dbg_0.9.10.0-6_amd64.deb
 2d9e7e23298a752eff676129f18a3cdbd5e77e5c 270412 gir1.2-networkmanager-1.0_0.9.10.0-6_amd64.deb
Checksums-Sha256:
 0e468c56047f27007e21603e4b9661fdf8b63054b8f9f50aa311c73185516ae1 3393 network-manager_0.9.10.0-6.dsc
 15d2d6a41d4c642b42172ed499b119d13b7f95611782403a196d76487ee82ede 45040 network-manager_0.9.10.0-6.debian.tar.xz
 28f347b6dae5ef9c056cccdf653dd40eca485247a018b48b65ae2d442b1edc05 1435566 network-manager_0.9.10.0-6_amd64.deb
 e1bdddfd93efb569410ce38a55175839bde71c330dcf4cb763019531fc7a4fac 287128 network-manager-dev_0.9.10.0-6_amd64.deb
 9912eefa2c2c7c870dd392dd102442e08fcb58d93e92f3cf8de2d6d886dc9edd 316302 libnm-glib4_0.9.10.0-6_amd64.deb
 849eebe82397914cf7eb1b4966e9dc39c0cbbe0dc423d9641142554166be08af 426944 libnm-glib-dev_0.9.10.0-6_amd64.deb
 317ca5d875aa6ca2df8a2daebb2ef5691c6bed4e285a5551a3f1693ea2490705 244892 libnm-glib-vpn1_0.9.10.0-6_amd64.deb
 672a67d1c97d3ebc1b5c8513ca9cc632cc9b9b37400353b7b9964b1d9a4e6263 236556 libnm-glib-vpn-dev_0.9.10.0-6_amd64.deb
 0c94486e3854d1f2891fbd038dbb9d36a921ec789eacc7c9d7aa1eff10dc35ac 364818 libnm-util2_0.9.10.0-6_amd64.deb
 1b95b407373daa02c31cb62387a529b0faeffe8d817204c55213cba5e156fd01 420476 libnm-util-dev_0.9.10.0-6_amd64.deb
 38bf7548ba92239ac14f0e91b1d55422c468a6e679599fe002ac116e1704de1b 2863206 network-manager-dbg_0.9.10.0-6_amd64.deb
 01b781fb091ba93a67f5346c4c7c0bfbfb31b8002fd4aa4a99492853b7448807 270412 gir1.2-networkmanager-1.0_0.9.10.0-6_amd64.deb
Files:
 54606c151b1deebe04478b1bdd6e3df4 3393 net optional network-manager_0.9.10.0-6.dsc
 f6eadaaccc091a54557706220d1fdc8f 45040 net optional network-manager_0.9.10.0-6.debian.tar.xz
 e10b88eafbe52517a9cd6bb641a1df39 1435566 net optional network-manager_0.9.10.0-6_amd64.deb
 222086da08f3eab061487e349eb325e7 287128 devel optional network-manager-dev_0.9.10.0-6_amd64.deb
 a3191c6cc78ec23b1d5b1fe53c1deb09 316302 libs optional libnm-glib4_0.9.10.0-6_amd64.deb
 515abff5917d59dd970f5932c167074e 426944 libdevel optional libnm-glib-dev_0.9.10.0-6_amd64.deb
 160e8f28e43ce161b124a96c951dac10 244892 libs optional libnm-glib-vpn1_0.9.10.0-6_amd64.deb
 84c5542b315075e63a99ff5d31b18932 236556 libdevel optional libnm-glib-vpn-dev_0.9.10.0-6_amd64.deb
 4afe50cebafb107aef49b313ccea7a40 364818 libs optional libnm-util2_0.9.10.0-6_amd64.deb
 6cd06a62bd2e64f4d8544f77a00983ae 420476 libdevel optional libnm-util-dev_0.9.10.0-6_amd64.deb
 a84e5b881032aadd0506c763275337dc 2863206 debug extra network-manager-dbg_0.9.10.0-6_amd64.deb
 abb588d3b855954b6ae5ddb464c0effa 270412 introspection optional gir1.2-networkmanager-1.0_0.9.10.0-6_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJU2A7BAAoJEGrh3w1gjyLcxTAP/jVTS5OuaCzpcmreb4FDOfhq
YD0cVlurbBHVoDYC5VpnTUvevrdCzOwj6gr3O13/l18rEk6ZBT38z5YgmRjRXVqj
VhB0dGBfTVNtVav0LqXP+Skdf1d3KtAFsBjwuKQiDg5i0N3ASp1B9R3xX3iV96i1
Q7/kEP6BbzYUwxttNlOaH9apEdlmdM/NlKBn5QswwwquMe8OM/0s1lHypTXWczwa
ZosN/eK5QjUuKYa1P3RtWO/eUKX0SELO7v0FNJKHeAPL23D4ju9As1iw5pNm/84z
VRZc4QvdjU5hyxwa8WQjRQ6h2CMISHw8+LlWGA0FHUR+ak10+6Q90V7EbF4EftmG
5SktKgQJEVT5ByJliOSA2WAt0GzTaJ3q/1MDrXo380ihQ2JN/Mo97L8FAEjR4XrZ
o/gjxr4u8KqZ+TB+wZf/WpQgbgMpTrbC9GGhujOIp/X8ZIrL7JacyWHMrwbYsfb4
01abuW77yGFi1EoXrKDMeEFXyrlbaOCYwFD79VXEjV/lVRpEjSYuPivvc4yw4Skj
Zh6XXinl33N11eRGrm8jUvctRD8w75lsObtzQIWf6OOAE57mcYydCIBlKIxfPNzE
V+PJNJHYnY55O3B7vMIHBdajs7AYMogupAm8GJZAOLJU6LMEtZMkoo7bXslJ0rXX
HY0wD054ZQBOZi2D5qTr
=09mJ
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 15 Mar 2015 07:30:09 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Nov 2 18:23:53 2015; Machine Name: buxtehude

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.