[Pkg-samba-maint] Bug#638066: winbind initscript should always run after samba initscript
Phil Gold
pgold at hillmgt.com
Tue Aug 16 21:59:52 UTC 2011
Package: winbind
Version: 2:3.5.6~dfsg-3squeeze4
Severity: normal
winbind does not properly get user info from Active Directory unless it is
started after smbd and nmbd, but there is nothing in its initscript to force
that ordering with the new dependency-based boot system. There should be
something.
I just added "samba" to the Required-Start section of the winbind initscript,
but that's probably not the most general approach, since I see that the winbind
package does not depend on the samba package.
-- System Information:
Debian Release: 6.0.2
APT prefers oldstable
APT policy: (500, 'oldstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages winbind depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libcap2 1:2.19-3 support for getting/setting POSIX.
ii libcomerr2 1.41.12-4stable1 common error description library
ii libgssapi-krb5-2 1.8.3+dfsg-4squeeze1 MIT Kerberos runtime libraries - k
ii libk5crypto3 1.8.3+dfsg-4squeeze1 MIT Kerberos runtime libraries - C
ii libkrb5-3 1.8.3+dfsg-4squeeze1 MIT Kerberos runtime libraries
ii libldap-2.4-2 2.4.23-7.2 OpenLDAP libraries
ii libpam-runtime 1.1.1-6.1 Runtime support for the PAM librar
ii libpam0g 1.1.1-6.1 Pluggable Authentication Modules l
ii libpopt0 1.16-1 lib for parsing cmdline parameters
ii libtalloc2 2.0.1-1 hierarchical pool based memory all
ii libwbclient0 2:3.5.6~dfsg-3squeeze4 Samba winbind client library
ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
ii samba-common 2:3.5.6~dfsg-3squeeze4 common files used by both the Samb
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
winbind recommends no packages.
winbind suggests no packages.
-- Configuration Files:
/etc/init.d/winbind changed:
PATH=/sbin:/bin:/usr/sbin:/usr/bin
[ -r /etc/default/winbind ] && . /etc/default/winbind
DAEMON=/usr/sbin/winbindd
PIDDIR=/var/run/samba
WINBINDPID=$PIDDIR/winbindd.pid
unset TMPDIR
test -x $DAEMON || exit 0
. /lib/lsb/init-functions
case "$1" in
start)
log_daemon_msg "Starting the Winbind daemon" "winbind"
mkdir -p /var/run/samba/winbindd_privileged || return 1
chgrp winbindd_priv $PIDDIR/winbindd_privileged/ || return 1
chmod 0750 $PIDDIR/winbindd_privileged/ || return 1
start-stop-daemon --start --quiet --oknodo --exec $DAEMON -- $WINBINDD_OPTS
log_end_msg $?
;;
stop)
log_daemon_msg "Stopping the Winbind daemon" "winbind"
start-stop-daemon --stop --quiet --oknodo --exec $DAEMON
log_end_msg $?
;;
restart|force-reload)
$0 stop && sleep 2 && $0 start
;;
status)
status_of_proc -p $WINBINDPID $DAEMON winbind && exit 0 || exit $?
;;
*)
echo "Usage: /etc/init.d/winbind {start|stop|restart|force-reload|status}"
exit 1
;;
esac
-- no debconf information
More information about the Pkg-samba-maint
mailing list