[Pkg-utopia-maintainers] Bug#619524: [network-manager] use systemd service for nm_dispatcher as well?

Florian Kriener florian at kriener.org
Thu Mar 24 18:21:35 UTC 2011


Package: network-manager
Version: 0.8.3.998-1
Severity: wishlist
Tags: patch

--- Please enter the report below this line. ---

Would it make sense to place the DBus activated nm_dispatcher.action 
into it's own systemd service?

I am currently playing around with systemd and noticed that although 
network manager uses systemd it's dispatcher process does not get that 
treatment. So I came up with this unit file:

  [Unit]
  Description=Network Manager Dispatcher

  [Service]
  Type=dbus
  BusName=org.freedesktop.nm_dispatcher
  ExecStart=/usr/lib/NetworkManager/nm-dispatcher.action
  StandardOutput=syslog
  ControlGroup=/system/NetworkManager.service/NetworkManager_dispatcher.service

  [Install]
  Alias=dbus-org.freedesktop.nm_dispatcher.service


And put the line

  SystemdService=dbus-org.freedesktop.nm_dispatcher.service

to the end of org.freedesktop.nm_dispatcher.service in 
/usr/share/dbus-1/system-services.

Now I am wondering is that a good idea? And is it fine to use a "sub-
cgroup" for the dispatcher service or is that a rather bad idea?

--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.38-1-amd64

Debian Release: wheezy/sid
  500 unstable        www.debian-multimedia.org 
  500 unstable        ftp.de.debian.org 
  500 testing         ftp.de.debian.org 
  100 experimental-snapshots qt-kde.debian.net 
    1 experimental    ftp.de.debian.org 

--- Package information. ---
Depends                         (Version) | Installed
=========================================-+-================
libc6                            (>= 2.4) | 2.11.2-13
libdbus-1-3                    (>= 1.0.2) | 1.4.6-1
libdbus-glib-1-2                (>= 0.88) | 0.92-1
libgcrypt11                    (>= 1.4.6) | 1.4.6-5
libglib2.0-0                  (>= 2.24.0) | 2.28.2-1
libgnutls26                 (>= 2.9.11-0) | 2.10.5-1
libgudev-1.0-0                   (>= 146) | 166-1
libnl1                           (>= 1.1) | 1.1-6
libnm-glib2                    (>= 0.8.2) | 0.8.3.998-1
libnm-util1                    (>= 0.8.2) | 0.8.3.998-1
libpolkit-gobject-1-0           (>= 0.99) | 0.101-1
libuuid1                        (>= 2.16) | 2.17.2-9.1
lsb-base                      (>= 3.2-14) | 3.2-27
wpasupplicant                (>= 0.6.2-1) | 0.7.3-1
dbus                           (>= 1.1.2) | 1.4.6-1
udev                                      | 166-1
adduser                                   | 3.112+nmu2
isc-dhcp-client           (>= 4.1.1-P1-4) | 4.1.1-P1-16


Recommends        (Version) | Installed
===========================-+-===========
policykit-1                 | 0.101-1
ppp              (>= 2.4.5) | 2.4.5-5
dnsmasq-base                | 2.57-1
iptables                    | 1.4.10-1
modemmanager                | 0.4+git.20110124t203624.00b6cce-2


Suggests           (Version) | Installed
============================-+-===========
avahi-autoipd                | 





-- 
Florian Kriener

August-Bebel-Straße 46
04275 Leipzig

Tel:   +49 341-3047701
Mobil: +49 176-20070874





More information about the Pkg-utopia-maintainers mailing list