winbind init script not LSB compliant

Bug #1052924 reported by Maxxer
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Debian)
Fix Released
Unknown
samba (Ubuntu)
Triaged
Low
Unassigned

Bug Description

winbind init script is not LSB compliant: the status function returns 4 instead of 3 when the daemon is stopped

repro:
apt-get install winbind
/etc/init.d/winbind stop
/etc/init.d/winbind status; echo $?

this happens because the status_of_proc call has wrong parameter ordering

Revision history for this message
Maxxer (lorenzo-milesi) wrote :
affects: smbldap-tools (Ubuntu) → samba (Ubuntu)
Changed in samba (Debian):
status: Unknown → New
Revision history for this message
Robie Basak (racb) wrote :

Thanks for the patch!

Is there any particular reason that you need a delta in Ubuntu for this, or are you happy to wait for Debian to pick up the fix and for Ubuntu to merge?

Changed in samba (Ubuntu):
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Maxxer (lorenzo-milesi) wrote :

I can fix my installations by myself, it's just a stopper for HeartBeat installations, because the monitor action expect lsb-compliant return codes.
Quite tricky on servers.

Changed in samba (Debian):
status: New → 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.