Bug#761953: Acknowledgement (systemd: Hangup in shutdown process)

K.Ohta whatisthis.sowhat at gmail.com
Thu Sep 18 09:27:11 BST 2014


I resolved this hangup issue with below workarounds:

1. In /etc/fstab, was written undefined UUID of swap partition
  (used older disk) entry.
  So, systemd tries to activate this nonexitance swap partition.
  I removed this entry from /etc/fstab.

2.This hangup is waiting systemd of 5 minutes to complete to
exit /etc/init.d/samba (very long!!). ---
ii  samba                          2:4.1.11+dfsg-1
amd64                SMB/CIFS file, print, and login server for Unix ---
  I don't setup samba4 as AD DC, only file server.
  All of daemons seem to be exited, but script not response (why?).
  Below is answer of "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: active (exited) since 木 2014-09-18 17:09:27 JST; 11min ago
  Process: 2603 ExecStart=/etc/init.d/samba-ad-dc start (code=exited,
status=0/SUCCESS) ---


  So, I did after stopping smbd, nmbd and samba-ad-dc:
   a. sudo systemctl disable samba
   b. sudo update-rc.d remove samba
   c. sudo systemctl enble nmbd
   d. sudo systemctl enable smbd
   e. sudo systemctl enable samba-ad-dc
   f. sudo systemctl reload-daemon
     and, start nmbd, smbd, samba-ad-dc.
  After these, rebooting was normally, not waiting 5minutes ;-)

 Please treat to these issue to systemd and samba.

Regards,
 K.Ohta.




More information about the Pkg-systemd-maintainers mailing list