samba init script status action

Bug #247087 reported by Dustin Kirkland  on 2008-07-09
4
Affects Status Importance Assigned to Milestone
samba (Debian)
Fix Released
Unknown
samba (Ubuntu)
Low
Dustin Kirkland 

Bug Description

Binary package hint: samba

Related to changes from Bug #203169; filing as a new bug because that one is getting too big for its own good.

Patch attached, to provide a status action for nmbd and smbd in /etc/init.d/samba, and winbindd in /etc/init.d/winbind.

:-Dustin

Related branches

Dustin Kirkland  (kirkland) wrote :
Dustin Kirkland  (kirkland) wrote :

Patch updated to reference this bug number.

:-Dustin

Changed in samba:
assignee: nobody → kirkland
importance: Undecided → Low
status: New → In Progress
Changed in samba:
milestone: none → ubuntu-8.10-beta
Dustin Kirkland  (kirkland) wrote :

Patch updated to account for:
 * nmbd disabled
 * running from inetd

:-Dustin

Dustin Kirkland  (kirkland) wrote :

Patch updated to return 4 (program or service status is unknown), per http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html if [ nmbd is disabled and smbd is running from inetd ].

:-Dustin

Dustin Kirkland  (kirkland) wrote :

Patch updated, merging the last two. We should test for nmbd disabled before checking it's status, then test for running from inetd before checking smbd's status, and then return 4 if nmbd is disabled and smbd is running from inetd.

:-Dustin

Changed in samba:
status: Unknown → New
Dustin Kirkland  (kirkland) wrote :

Patch updated to require lsb-base 3.2-12ubuntu3, which has the -p $pidfile support.

:-Dustin

Changed in samba:
status: In Progress → Confirmed
Changed in samba:
status: Confirmed → Triaged
Chuck Short (zulcss) wrote :

Hi Dustin,

Can you rediff this against samba-3.2?

Thanks
chuck

Dustin Kirkland  (kirkland) wrote :

Done. Patch attached.

:-Dustin

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package samba - 2:3.2.0-4ubuntu2

---------------
samba (2:3.2.0-4ubuntu2) intrepid; urgency=low

  * debian/control: Depend on lsb-base >= 3.2-14, which has the
    status_of_proc() function.
  * debian/samba.init: Replace the previous 'status' gathering mechanism with
    the common one now provided by status_of_proc() (LP: #247087).
  * debian/winbind.init: Add a pid variable and a 'status' action.

 -- Dustin Kirkland <email address hidden> Mon, 28 Jul 2008 15:55:45 -0500

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

Other bug subscribers

Remote bug watches

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