[Bug 1097652] Re: dhclient cause error message when calling samba hook

Serge Hallyn 1097652 at bugs.launchpad.net
Wed Jan 9 18:32:07 UTC 2013


Thanks  for submitting this bug.

** Changed in: samba (Ubuntu)
       Status: New => Confirmed

** Changed in: samba (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1097652

Title:
  dhclient cause error message when calling samba hook

Status in “samba” package in Ubuntu:
  Confirmed

Bug description:
  When using dhclient to renew IP, /etc/dhcp3/dhclient-enter-hooks.d/samba is called.
  Unfortunatly, this script use an old method to reload smbd (/usr/sbin/invoke-rc.d smbd reload).
  This call give some error messages.

  papounet at amd8papou:~$ sudo dhclient
  Rather than invoking init scripts through /etc/init.d, use the service(8)
  utility, e.g. service smbd reload

  Since the script you are attempting to invoke has been converted to an
  Upstart job, you may also use the reload(8) utility, e.g. reload smbd
  RTNETLINK answers: File exists
  papounet at amd8papou:~$ 

  You can apply a little patch to avoid this in /debian/samba-
  common.dhcp

  
  71c71
  < 	[ -x /etc/init.d/smbd ] && /usr/sbin/invoke-rc.d smbd reload
  ---
  > 	[ -x /etc/init.d/smbd ] && service smbd reload

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1097652/+subscriptions




More information about the foundations-bugs mailing list