[Pkg-samba-maint] Bug#762087: samba: systemd and samba stop computer wait of 5 minute
MERLIN Philippe
phil-deb1.merlin at laposte.net
Mon Sep 22 13:43:01 UTC 2014
Hello,
I made additional tests to try to take forward the solution of the problem
which is always on the agenda.
I do an on a console:
portable:/usr/share/man# systemctl stop samba
After an long time an :
------------------------------------------------------------------
portable:/usr/share/man# systemctl status samba
● samba.service - LSB: ensure Samba daemons are started (nmbd and smbd)
Loaded: loaded (/etc/init.d/samba)
Active: failed (Result: timeout) since lun. 2014-09-22 15:16:08 CEST; 2min
35s ago
Process: 9792 ExecStop=/etc/init.d/samba stop (code=killed, signal=TERM)
Process: 9548 ExecStart=/etc/init.d/samba start (code=exited,
status=0/SUCCESS)
sept. 22 15:07:58 portable samba[9548]: Starting nmbd (via systemctl):
nmbd.service.
sept. 22 15:07:58 portable samba[9548]: Starting smbd (via systemctl):
smbd.service.
sept. 22 15:08:02 portable samba[9548]: Starting samba-ad-dc (via systemctl):
samba-ad-dc.service.
sept. 22 15:16:08 portable samba[9792]: Stopping samba-ad-dc (via systemctl):
samba-ad-dc.service
portable:/usr/share/man# systemctl status samba-ad-dc
● samba-ad-dc.service - LSB: start Samba daemons for the AD DC
Loaded: loaded (/etc/init.d/samba-ad-dc)
Active: inactive (dead) since lun. 2014-09-22 15:16:09 CEST; 4min 16s ago
Process: 10428 ExecStop=/etc/init.d/samba-ad-dc stop (code=exited,
status=0/SUCCESS)
Process: 9579 ExecStart=/etc/init.d/samba-ad-dc start (code=exited,
status=0/SUCCESS)
sept. 22 15:16:09 portable samba-ad-dc[10428]: Stopping Samba AD DC daemon:
samba.
an
--------------------------------------------------------------------------------------------------
portable:/usr/share/man# systemctl status smbd
● smbd.service - LSB: start Samba SMB/CIFS daemon (smbd)
Loaded: loaded (/etc/init.d/smbd)
Active: active (running) since lun. 2014-09-22 12:18:04 CEST; 3h 3min ago
CGroup: /system.slice/smbd.service
├─1688 /usr/sbin/smbd -D
└─1704 /usr/sbin/smbd -D
sept. 22 10:29:55 portable smbd[1688]: STATUS=daemon 'smbd' finished starting
up and ready to serve connectionsWARNIN...urity'
sept. 22 10:29:55 portable smbd[1688]: [2014/09/22 10:29:55.866847, 0]
../source3/param/loadparm.c:3155(lp_do_parameter)
sept. 22 10:29:55 portable smbd[1688]: Ignoring unknown parameter "password
level"
sept. 22 10:29:55 portable smbd[1688]: [2014/09/22 10:29:55.867306, 0]
../source3/param/loadparm.c:3155(lp_do_parameter)
sept. 22 10:29:55 portable smbd[1688]: Ignoring unknown parameter "share
modes"
sept. 22 10:29:55 portable smbd[1688]: [2014/09/22 10:29:55.867419, 0]
../source3/param/loadparm.c:3155(lp_do_parameter)
sept. 22 10:29:55 portable smbd[1688]: Ignoring unknown parameter "share
modes"
sept. 22 10:29:55 portable smbd[1688]: [2014/09/22 10:29:55.867631, 0]
../source3/param/loadparm.c:3155(lp_do_parameter)
sept. 22 10:29:55 portable smbd[1688]: Ignoring unknown parameter "share
modes"
sept. 22 10:29:55 portable smbd[5621]: Reloading /etc/samba/smb.conf: smbd.
Hint: Some lines were ellipsized, use -l to show in full.
portable:/usr/share/man#
------------------------------------------------------
Same result for nmbd.
This information shows that the stop of samba by systemd works badly, nor smbd
or nmbd are stopped. It is can be the cause of the wait of 5 minutes in the
stop of the computer.
Best Regards.
More information about the Pkg-samba-maint
mailing list