dhclient cause error message when calling samba hook
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
When using dhclient to renew IP, /etc/dhcp3/
Unfortunatly, this script use an old method to reload smbd (/usr/sbin/
This call give some error messages.
papounet@
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@
You can apply a little patch to avoid this in /debian/
71c71
< [ -x /etc/init.d/smbd ] && /usr/sbin/
---
> [ -x /etc/init.d/smbd ] && service smbd reload
Thanks for submitting this bug.