← Back to team overview

desktop-packages team mailing list archive

[Bug 174234] Re: Scripts inside /etc/NetworkManager/dispatcher.d don't get executed

 

Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: network-manager (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/174234

Title:
  Scripts inside /etc/NetworkManager/dispatcher.d don't get executed

Status in “network-manager” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: network-manager

  As far as i know Network Manager runs all scripts inside
  /etc/NetworkManager/dispatcher.d when connecting to a network. But
  this doesn't seem to work. For testing i created a simple script

  /etc/NetworkManager/dispatcher.d/02test
  ---
  #!/bin/sh -e
  echo nmtest >> /tmp/nmlog.txt
  ---

  and set the rights according to specs

  ---
  -rwxr-xr-x 1 root root   39 2007-12-05 22:33 02test
  ---

  But when i start network manager (my computer is connected to a router
  running dhcp via cable) nothing happens. /tmp/nmlog.txt stays empty.
  This looks like the script doesn't get executed when Network Manager
  opens the connection.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/174234/+subscriptions