[Pkg-samba-maint] Bug#740942: [samba] /etc/init.d/samba forbit systemd shutdown system
Liang Guo
bluestonechina at gmail.com
Thu Mar 6 13:29:42 UTC 2014
Package: samba
Version: 2:4.1.5+dfsg-1
Severity: important
After switch to systemd, my system cannot be shutdown/reboot normally
as before, after some digg, I found systemd cannot correctly shutdown
samba, even with systemctl, after remove samba with 'insserv -r samba',
my system can be shutdown/rebooted as expected.
I think the reason is that /etc/init.d/samba calls /etc/init.d/{smb,nmb,
samba-ad-dc}, it is not a problem in old init system, but (I guess)
systemd cannot call systemd to stop another service.
Why should /etc/init.d/samba be used to start/stop smb/nmb/samba-ad-dc,
why not let /etc/init.d/{smb,nmb,samba-ad-dc} do their own job, I
means call /etc/init.d/{smb,nmb,samba-ad-dc} to complete their own job.
If there are some specific startup order, why not create only ONE init
script to complete this task?
Thanks,
--- System information. ---
Architecture: amd64
Kernel: Linux 3.13-1-amd64
Debian Release: jessie/sid
500 unstable localhost
1 experimental localhost
--- Package information. ---
Depends (Version) | Installed
=============================================-+-=======================
adduser | 3.113+nmu3
heimdal-hdb-api-8 |
libpam-modules | 1.1.8-2
libpam-runtime (>= 1.0.1-11) | 1.1.8-2
lsb-base (>= 4.1+Debian) | 4.1+Debian12
procps | 1:3.3.9-4
python (>= 2.7) | 2.7.5-5
python-dnspython | 1.11.1-1
python-ntdb | 1.0-2
python-samba | 2:4.1.5+dfsg-1
samba-common (= 2:4.1.5+dfsg-1) | 2:4.1.5+dfsg-1
samba-common-bin (= 2:4.1.5+dfsg-1) | 2:4.1.5+dfsg-1
samba-dsdb-modules | 2:4.1.5+dfsg-1
tdb-tools | 1.2.12-1
update-inetd | 4.43
python (<< 2.8) | 2.7.5-5
python2.7:any |
libasn1-8-heimdal (>= 1.4.0+git20110226) | 1.6~rc2+dfsg-2
libbsd0 (>= 0.5.0) | 0.6.0-2
libc6 (>= 2.14) |
libcomerr2 (>= 1.01) |
libhdb9-heimdal (>= 1.4.0+git20110226) |
libkdc2-heimdal (>= 1.4.0+git20110226) |
libkrb5-26-heimdal (>= 1.4.0+git20110226) |
libldb1 (>= 0.9.21) |
libpopt0 (>= 1.14) |
libpython2.7 (>= 2.7) |
libroken18-heimdal (>= 1.4.0+git20110226) |
libtalloc2 (>= 2.0.4~git20101213) |
libtdb1 (>= 1.2.7+git20101214) |
libtevent0 (>= 0.9.14) |
samba-libs (= 2:4.1.5+dfsg-1) |
Recommends (Version) | Installed
================================-+-===========
attr | 1:2.4.47-1
logrotate | 3.8.7-1
samba-vfs-modules | 2:4.1.5+dfsg-1
Suggests (Version) | Installed
==============================-+-=============
bind9 (>= 1:9.5.1) |
bind9utils |
ctdb |
ldb-tools |
ntp | 1:4.2.6.p5+dfsg-3
smbldap-tools |
winbind |
Thanks and Regards,
--
Liang Guo
http://bluestone.cublog.cn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20140306/84764216/attachment.sig>
More information about the Pkg-samba-maint
mailing list