Univention Bugzilla – Attachment 11224 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]
revised patch to /etc/init.d/samba-ad-dc
samba-ad-dc.patch (text/plain), 927 bytes, created by
Christian Kowarzik
on 2024-07-02 13:58:50 CEST
(
hide
)
Description:
revised patch to /etc/init.d/samba-ad-dc
Filename:
MIME Type:
Creator:
Christian Kowarzik
Created:
2024-07-02 13:58:50 CEST
Size:
927 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-07-02 15:50:59.616000000 +0200 >@@ -77,10 +77,15 @@ > 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="$?" >- if [ -n "$pids" ]; then >+ [ -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="$pid_samba $pid_smbd $pid_winbindd" >+ if [ -n "${pids// /}" ]; then > unset pgids kgids > for pid in $pids; do > pgids="$pgids -g $pid"
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