FreeBSD Bugzilla – Attachment 250062 Details for
Bug 278395
security/krb5: KDC has some issues if its LDAP servers are down
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Try 2
foobar (text/plain), 568 bytes, created by
Cy Schubert
on 2024-04-18 18:07:05 UTC
(
hide
)
Description:
Try 2
Filename:
MIME Type:
Creator:
Cy Schubert
Created:
2024-04-18 18:07:05 UTC
Size:
568 bytes
patch
obsolete
>diff --git a/security/krb5-121/files/kdc.in b/security/krb5-121/files/kdc.in >index d462d45d47f6..04cd3e59d3a6 100644 >--- a/security/krb5-121/files/kdc.in >+++ b/security/krb5-121/files/kdc.in >@@ -1,4 +1,16 @@ > #!/bin/sh - > >-set -- $(echo "$*" | sed 's/--detach//') >-exec %%PREFIX%%/sbin/krb5kdc "$@" >+unset restart >+for i in "$@"; do >+ case $i in >+ --restart) restart=yes;; >+ esac >+done >+ >+set -- $(echo "$*" | sed 's/--detach//;s/--restart//') >+ >+if [ "$restart" = yes ]; then >+ daemon -r %%PREFIX%%/sbin/krb5kdc -n "$@" >+else >+ exec %%PREFIX%%/sbin/krb5kdc "$@" >+fi
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 278395
:
250061
|
250062
|
250064
|
250065
|
250066
|
250145
|
250146
|
250147