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

Bug 604664

Summary: net-misc/modemmanager - requires an init script
Product: Gentoo Linux Reporter: Jaco Kroon <jaco>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: enhancement CC: mattst88
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/19660
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: modemmanager init script

Description Jaco Kroon 2017-01-04 16:02:01 UTC
There is no init script shipped with modem manager.

Reproducible: Always
Comment 1 Jaco Kroon 2017-01-04 16:02:40 UTC
Created attachment 458744 [details]
modemmanager init script

The attached works for me.
Comment 2 Jaco Kroon 2020-03-29 07:31:22 UTC
3 years and counting.  I'm still using the attached exactly as is ... and it's working well for me.

I get that this is aimed primarily at desktop environments, eg, gnome, but we've got this deployed even in certain remote server locations where init scripts are really useful, as evident by the fact that a systemd file is included.
Comment 3 Conrad Kostecki gentoo-dev 2021-03-01 22:16:18 UTC
(In reply to Jaco Kroon from comment #2)
> I get that this is aimed primarily at desktop environments, eg, gnome, but
> we've got this deployed even in certain remote server locations where init
> scripts are really useful, as evident by the fact that a systemd file is
> included.

What's the point of having here a init script? Could you explain for me a scenario?
Comment 4 Jaco Kroon 2021-03-02 06:32:39 UTC
No X.  No Gnome.  I believe it was explained in comment 2.

There is already a systemd unit file which should testify to the usefulness.

As stated, remote servers, so need a way of starting (and stopping) modemmanager if and when modems gets plugged in and removed.  This just makes that easier.  This is a daemon after all, and as such, should be managed accordingly.
Comment 5 Larry the Git Cow gentoo-dev 2021-03-15 21:19:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48e417c84ea25f8d94fafb248954308d0ec4282e

commit 48e417c84ea25f8d94fafb248954308d0ec4282e
Author:     Jaco Kroon <jaco@uls.co.za>
AuthorDate: 2021-02-25 23:20:54 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2021-03-15 21:19:37 +0000

    net-misc/modemmanager: add init script
    
    Closes: https://github.com/gentoo/gentoo/pull/19660
    Closes: https://bugs.gentoo.org/604664
    Signed-off-by: Jaco Kroon <jaco@uls.co.za>
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 net-misc/modemmanager/files/modemmanager.initd     |  11 ++
 .../modemmanager/modemmanager-1.14.8-r1.ebuild     | 132 +++++++++++++++++++++
 2 files changed, 143 insertions(+)