Univention Bugzilla – Bug 55486
samba restart not always working
Last modified: 2023-01-25 10:26:35 CET
I saw in two customer environments, that samba is not restarted properly. In the one environment it took up to 60 seconds to end all services. These are the once, which took that long. root@ucs-dc:~# ps aufx |grep samba root 10014 0.0 0.0 7332 884 pts/0 S+ 15:30 0:00 \_ grep samba root 13389 0.3 0.5 986408 129852 ? Ssl Okt20 154:26 /usr/sbin/named -c /etc/bind/named.conf.samba4 -f -d 0 root 20801 0.0 0.2 517860 57072 ? Ss 07:31 0:08 /usr/lib/x86_64-linux-gnu/samba/samba-dcerpcd --libexec-rpcds --ready-signal-fd=42 --np-helper --debuglev root 20811 0.0 0.7 558212 186092 ? S 07:31 0:19 \_ /usr/lib/x86_64-linux-gnu/samba/rpcd_spoolss --configfile=/etc/samba/smb.conf --worker-group=4 --work root 20817 0.0 0.2 557148 65316 ? S 07:31 0:01 | \_ /usr/lib/x86_64-linux-gnu/samba/samba-bgqd --ready-signal-fd=24 --parent-watch-fd=0 --debuglevel= root 20478 0.0 0.7 557948 175440 ? S 08:00 0:13 \_ /usr/lib/x86_64-linux-gnu/samba/rpcd_spoolss --configfile=/etc/samba/smb.conf --worker-group=4 --work root 20549 0.0 0.7 557972 185164 ? S 08:00 0:16 \_ /usr/lib/x86_64-linux-gnu/samba/rpcd_spoolss --configfile=/etc/samba/smb.conf --worker-group=4 --work root 20658 0.0 0.7 557948 187100 ? S 08:00 0:21 \_ /usr/lib/x86_64-linux-gnu/samba/rpcd_spoolss --configfile=/etc/samba/smb.conf --worker-group=4 --work root 20820 0.0 0.7 557972 186432 ? S 08:00 0:23 \_ /usr/lib/x86_64-linux-gnu/samba/rpcd_spoolss --configfile=/etc/samba/smb.conf --worker-group=4 --work root 9811 0.8 0.2 558392 68016 ? S 15:30 0:00 \_ /usr/lib/x86_64-linux-gnu/samba/rpcd_classic --configfile=/etc/samba/smb.conf --worker-group=0 --work root 9813 0.7 0.2 520476 63880 ? S 15:30 0:00 \_ /usr/lib/x86_64-linux-gnu/samba/rpcd_winreg --configfile=/etc/samba/smb.conf --worker-group=2 --worke
r19732 | handle samba-dcerpcd 5017e272fb | Update advisory details
7feb743f16 | Advisory wording.
OK: samba-bgqd is killed on samba restart OK: samba-bgqd is reloaded on samba reload OK: YAML Verified
<https://errata.software-univention.de/#/?erratum=5.0x543>