FS#33596 - [samba] nmbd and winbindd services timeout during startup

Attached to Project: Arch Linux
Opened by Neil Darlow (neildarlow) - Sunday, 27 January 2013, 16:10 GMT
Last edited by Tobias Powalowski (tpowa) - Thursday, 31 January 2013, 08:06 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description:

I use smbd/winbindd to provide centralised authentication and uid/gid mapping for several KVM guests. Following an upgrade of samba/libwbclient from 3.6.10 to 3.6.11 this all stopped working. Examining the processes with systemctl status I found that nmbd and winbindd are failing to start due to timeout and they enter a failed state.

Additional info:
* samba-3.6.11-1


Steps to reproduce:
1) Upgrade working samba-3.6.10 installation to samba-3.6.11 and reboot
2) Notice that systemctl status {nmbd,winbindd} report timeout and entering failed state
3) nmbd and winbindd processes do not exist
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Thursday, 31 January 2013, 08:06 GMT
Reason for closing:  Fixed
Additional comments about closing:  3.6.12-1
Comment by Neil Darlow (neildarlow) - Sunday, 27 January 2013, 16:29 GMT
I don't know if this is relevant but this package still has /lib64 references in it. An ldd on /usr/sbin/{nmbd,smbd,winbindd} returns:

/lib64/ld-linux-x86-64.so.2 (0x00007fee91fbb000)

Does it require a rebuild following the recent glibc update?
Comment by Neil Darlow (neildarlow) - Sunday, 27 January 2013, 19:22 GMT
For completeness, I downgraded libwbclient and samba packages to 3.6.10-1 and the system now works correctly.
Comment by Tobias Powalowski (tpowa) - Sunday, 27 January 2013, 20:31 GMT
Could you try if the old service files do work? and if removing the new socket activation files does help?
Comment by ushi (ushi) - Monday, 28 January 2013, 00:01 GMT
I had the same problem and changed the switches in the unit file - everything works fine now.

# Old
ExecStart=/usr/sbin/nmbd -F

# New
ExecStart=/usr/sbin/nmbd -D

I had a look at the Fedora unit file for confirmation and saw that they have no switches at all (by default).
Comment by veegee (veegee) - Monday, 28 January 2013, 05:07 GMT
What the hell guys? How could you let such a critical package slip like this?

Only thing that worked for me was to downgrade.
Comment by Leonid Isaev (lisaev) - Thursday, 31 January 2013, 07:19 GMT
  • Field changed: Percent Complete (100% → 0%)
In samba 3.6.11-4 winbindd.service still calls winbindd without any arguments (should be called with -D). If possible, please fix it in 3.6.12.

Thanks,
Leonid.

Loading...