dhclient hook assumes wrong service name ("samba" instead of "smbd")

Bug #652065 reported by Jon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: samba

The samba dhclient hook script located at "/etc/dhcp3/dhclient-enter-hooks.d/samba" tries to reload the samba configuration by calling:
 [ -x /etc/init.d/samba ] && /usr/sbin/invoke-rc.d samba reload

That doesn't work in Lucid because the samba service has been renamed to "smbd".

Also, instead of calling "/usr/sbin/invoke-rc.d" the appropriate upstart command should be used.

Tags: upstart

Related branches

Scott Moser (smoser)
Changed in samba (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Jelmer Vernooij (jelmer)
tags: added: upstart
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package samba - 2:3.5.6~dfsg-5ubuntu3

---------------
samba (2:3.5.6~dfsg-5ubuntu3) natty; urgency=low

  * debian/patches/fix-windows7-print-connection.patch: Fix
    error "0x000003e6" when trying to connect a Windows 7 printer
    to a domain. (LP: #674216)
  * debian/samba-common.dhcp: Take in account of the upstart script.
    (LP: #652065)
 -- Chuck Short <email address hidden> Wed, 02 Mar 2011 16:05:41 -0500

Changed in samba (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.