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

Bug 188085

Summary: net-misc/networkmanager - No script to start NetworkManagerDispatcher
Product: Gentoo Linux Reporter: Matthias Kuhn <mku>
Component: New packagesAssignee: Robert Buchholz (RETIRED) <rbu>
Status: RESOLVED FIXED    
Severity: normal CC: dju, gnome, steev, voyageur
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: NM dispatcher init script
Proposal for starter of ntp-client using dispatcher

Description Matthias Kuhn 2007-08-08 08:54:48 UTC
There is no script provided by the ebuild to start the NetworkManagerDispatcher, which comes in pretty handy, for example to start ntp-client or other connection-dependent tasks.

Reproducible: Always




I wrote (respectively copied and changed) an init-script to start up NetworkManagerDispatcher.
As I didn't figure out, how to create an attachment, have a look here http://gentoo-wiki.com/NetworkManager#Another_Solution .
Comment 1 Gilles Dartiguelongue gentoo-dev 2007-08-08 09:02:20 UTC
please read metadata.xml before assigning.

guys, please advise.
Comment 2 Joshua Charles Campbell 2007-08-13 22:19:36 UTC
I would like this.
Comment 3 Miroslaw Mieszczak 2007-11-28 17:39:06 UTC
Created attachment 137250 [details]
NM dispatcher init script

There is proposal init script for NetworkManager dispatcher
Comment 4 Miroslaw Mieszczak 2007-11-28 17:40:28 UTC
Created attachment 137251 [details]
Proposal for starter of ntp-client using dispatcher

This file should be put into:
/etc/NetworkManager/dispatcher.d/
Comment 5 Yang Zhao 2008-01-18 01:53:06 UTC
This seems to make more sense as being built into the NetworkManager init script rather than being standalone. If the slightly increased memory usage is a concern, then it can always be made configurable.

In any case, having the dispatcher actually start would make NM-6* much more useful while 7.0 still appears to be far away.
Comment 6 Steev Klimaszewski (RETIRED) gentoo-dev 2008-02-02 07:38:45 UTC
Thanks for the report, I added the dispatcher script itself, the rest of the legwork however (scripts to run) has to be done by the user.  Thanks for the script.  Please test and let me know how well it works for you.