I have the same problem in the stop of the computer, infringe 5 minutes. For the record, Systemd launches to the starting up of Samba 4 services(departments): samba, samba-ad-dc, nmbd, smbd. In the stop(ruling) it should stop all these services, if we look at the script of /etc/init.d/samba its stop samba-ad-ac, smbd, nmbd. In a Konsole i do an :
portable:/usr/share/man# time systemctl stop samba real 5m0.350s user 0m0.000s sys 0m0.000s As time show : 5 minutes wait 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 sam. 2014-09-27 18:26:04 CEST; 46s ago Process: 31126 ExecStop=/etc/init.d/samba stop (code=killed, signal=TERM) sept. 27 18:26:04 portable samba[31126]: 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 sam. 2014-09-27 18:26:05 CEST; 1min 55s ago Process: 31764 ExecStop=/etc/init.d/samba-ad-dc stop (code=exited, status=0/SUCCESS) It shows that : samba and samba-ad-dc are stopped But 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 sam. 2014-09-27 11:50:21 CEST; 6h ago CGroup: /system.slice/smbd.service ├─1732 /usr/sbin/smbd -D └─1746 /usr/sbin/smbd -D sept. 27 11:50:21 portable smbd[1724]: [2014/09/27 11:50:21.658274, 0] ../source3/param/loadparm.c:3155(lp_do_parameter) sept. 27 11:50:21 portable smbd[1724]: Ignoring unknown parameter "password level" sept. 27 11:50:21 portable smbd[1724]: [2014/09/27 11:50:21.658774, 0] ../source3/param/loadparm.c:3155(lp_do_parameter) sept. 27 11:50:21 portable smbd[1724]: Ignoring unknown parameter "share modes" sept. 27 11:50:21 portable smbd[1724]: [2014/09/27 11:50:21.658899, 0] ../source3/param/loadparm.c:3155(lp_do_parameter) sept. 27 11:50:21 portable smbd[1724]: Ignoring unknown parameter "share modes" sept. 27 11:50:21 portable smbd[1724]: [2014/09/27 11:50:21.659245, 0] ../source3/param/loadparm.c:3155(lp_do_parameter) sept. 27 11:50:21 portable smbd[1724]: Ignoring unknown parameter "share modes" sept. 27 11:50:21 portable smbd[1694]: Starting SMB/CIFS daemon: smbd. sept. 27 11:50:24 portable smbd[1732]: [2014/09/27 11:50:24.239602, 0] ../lib/util/become_daemon.c:136(daemon_ready) portable:/usr/share/man# systemctl status nmbd ● nmbd.service - LSB: start Samba NetBIOS nameserver (nmbd) Loaded: loaded (/etc/init.d/nmbd) Active: active (running) since sam. 2014-09-27 11:49:56 CEST; 6h ago CGroup: /system.slice/nmbd.service └─1034 /usr/sbin/nmbd -D sept. 27 11:49:56 portable nmbd[1033]: [2014/09/27 11:49:56.510769, 0] ../source3/param/loadparm.c:3067(lp_set_enum_parm) sept. 27 11:49:56 portable nmbd[1033]: WARNING: Ignoring invalid value 'share' for parameter 'security' sept. 27 11:49:56 portable nmbd[1033]: [2014/09/27 11:49:56.579792, 0] ../source3/param/loadparm.c:3155(lp_do_parameter) sept. 27 11:49:56 portable nmbd[1033]: Ignoring unknown parameter "password level" sept. 27 11:49:56 portable nmbd[1034]: [2014/09/27 11:49:56.581992, 0] ../source3/nmbd/nmbd_subnetdb.c:250(create_subnets) sept. 27 11:49:56 portable nmbd[920]: Starting NetBIOS name server: nmbd. sept. 27 11:49:56 portable nmbd[1034]: create_subnets: No local IPv4 non- loopback interfaces ! sept. 27 11:49:56 portable nmbd[1034]: [2014/09/27 11:49:56.582973, 0] ../source3/nmbd/nmbd_subnetdb.c:251(create_subnets) sept. 27 11:49:56 portable nmbd[1034]: create_subnets: Waiting for an interface to appear ... sept. 27 11:50:46 portable nmbd[1034]: [2014/09/27 11:50:46.586911, 0] ../lib/util/become_daemon.c:136(daemon_ready) portable:/usr/share/man# But smbd and nmbd services are still Active. If i do in a Konsole : systemctl stop smbd or nmbd its stop correctly. -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org