Univention Bugzilla – Attachment 11215 Details for
Bug 57310
Samba (AD DC) restart may fail due to network sockets still being occupied by left-over processes - NT_STATUS_ADDRESS_ALREADY_ASSOCIATED
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to /etc/init.d/samba-ad-dc
samba-ad-dc.patch (text/plain), 883 bytes, created by
Christian Kowarzik
on 2024-05-28 22:15:50 CEST
(
hide
)
Description:
patch to /etc/init.d/samba-ad-dc
Filename:
MIME Type:
Creator:
Christian Kowarzik
Created:
2024-05-28 22:15:50 CEST
Size:
883 bytes
patch
obsolete
>--- a/etc/init.d/samba-ad-dc 2024-03-05 13:13:26.000000000 +0100 >+++ b/etc/init.d/samba-ad-dc 2024-05-28 23:10:16.815642938 +0200 >@@ -77,9 +77,14 @@ > log_daemon_msg "Stopping $DESC" $NAME > ## sometimes samba takes a long time to terminate, > ## which would make starting new samba processes fail. >- pids=$(pgrep -F "$PIDFILE"; pgrep --exact '(smbd|winbindd)') >+ pid_samba=$(pgrep -F "$PIDFILE") >+ pid_smbd=$(pgrep --exact 'smbd') >+ pid_winbindd=$(pgrep --exact 'winbindd') > start-stop-daemon --stop --quiet --pidfile $PIDFILE --name samba > ret="$?" >+ [ -n "$pid_smbd" ] && start-stop-daemon --stop --quiet --pid $pid_smbd --name smbd >+ [ -n "$pid_winbindd" ] && start-stop-daemon --stop --quiet --pid $pid_winbindd --name winbindd >+ pids=$(echo $pid_samba; echo $pid_smbd; echo $pid_winbindd) > if [ -n "$pids" ]; then > unset pgids kgids > for pid in $pids; do
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 57310
:
11214
|
11215
|
11224
|
11225