Bug 1209488 - winbind fails to start up
Summary: winbind fails to start up
Keywords:
Status: CLOSED DUPLICATE of bug 1207381
Alias: None
Product: Fedora
Classification: Fedora
Component: samba
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Guenther Deschner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-07 13:24 UTC by David Woodhouse
Modified: 2015-04-07 13:53 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-04-07 13:53:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description David Woodhouse 2015-04-07 13:24:36 UTC
Presumably since the latest samba upgrade, the winbind service no longer starts up.

If I run 'systemctl start winbind' it does actually start running, and it works fine for a while but the systemctl command doesn't return; it's waiting for something.

The /run/winbindd.pid file exists and correctly contains the pid of the running winbind dæmon.

After a while, the systemctl command reports failure.

# systemctl --no-ask-password start winbind
Job for winbind.service failed. See "systemctl status winbind.service" and "journalctl -xe" for details.


However, the logs give me no indication about *why* systemd chose to kill the running winbindd:


[root@i7 samba]# systemctl status winbind.service
● winbind.service - Samba Winbind Daemon
   Loaded: loaded (/usr/lib/systemd/system/winbind.service; enabled; vendor preset: disabled)
   Active: failed (Result: timeout) since Tue 2015-04-07 14:20:11 BST; 13s ago
  Process: 14042 ExecStart=/usr/sbin/winbindd $WINBINDOPTIONS (code=exited, status=0/SUCCESS)
 Main PID: 14042 (code=exited, status=0/SUCCESS)

Apr 07 14:20:11 i7.infradead.org systemd[1]: winbind.service start operation timed out. Terminating.
Apr 07 14:20:11 i7.infradead.org winbindd[14042]: [2015/04/07 14:20:11.580331,  0, pid=14042, effective(0, 0), real(0, 0), class=winbind] ../source3/winbindd/winbindd.c:266(winbindd_sig_term_handler)
Apr 07 14:20:11 i7.infradead.org winbindd[14044]: [2015/04/07 14:20:11.580338,  0, pid=14044, effective(0, 0), real(0, 0), class=winbind] ../source3/winbindd/winbindd.c:266(winbindd_sig_term_handler)
Apr 07 14:20:11 i7.infradead.org winbindd[14074]: [2015/04/07 14:20:11.580346,  0, pid=14074, effective(0, 0), real(0, 0), class=winbind] ../source3/winbindd/winbindd.c:266(winbindd_sig_term_handler)
Apr 07 14:20:11 i7.infradead.org winbindd[14044]: Got sig[15] terminate (is_parent=0)
Apr 07 14:20:11 i7.infradead.org winbindd[14042]: Got sig[15] terminate (is_parent=1)
Apr 07 14:20:11 i7.infradead.org winbindd[14074]: Got sig[15] terminate (is_parent=0)
Apr 07 14:20:11 i7.infradead.org systemd[1]: Failed to start Samba Winbind Daemon.
Apr 07 14:20:11 i7.infradead.org systemd[1]: Unit winbind.service entered failed state.
Apr 07 14:20:11 i7.infradead.org systemd[1]: winbind.service failed.

I have SELinux in Permissive mode, which means this shouldn't be relevant:

type=AVC msg=audit(1428412722.492:760): avc:  denied  { sendto } for  pid=14044 comm="winbindd" path="/var/lib/samba/msg/14042" scontext=system_u:system_r:winbind_t:s0 tcontext=system_u:system_r:winbind_t:s0 tclass=unix_dgram_socket permissive=1
type=SYSCALL msg=audit(1428412722.492:760): arch=c000003e syscall=46 success=yes exit=68 a0=8 a1=7fff8569a550 a2=0 a3=13f items=0 ppid=14042 pid=14044 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="winbindd" exe="/usr/sbin/winbindd" subj=system_u:system_r:winbind_t:s0 key=(null)
type=PROCTITLE msg=audit(1428412722.492:760): proctitle="/usr/sbin/winbindd"

Comment 1 David Woodhouse 2015-04-07 13:53:49 UTC
[dwoodhou@i7 ~]$ ldd /usr/sbin/winbindd | grep systemd
[dwoodhou@i7 ~]$

*** This bug has been marked as a duplicate of bug 1207381 ***


Note You need to log in before you can comment on or make changes to this bug.