FreeBSD Bugzilla – Attachment 158276 Details for
Bug 201298
[patch] net/nss-pam-ldapd rc script fails to check pid correctly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch for nslcd.in
patch.txt (text/plain), 606 bytes, created by
Kan Sasaki
on 2015-07-03 01:38:03 UTC
(
hide
)
Description:
patch for nslcd.in
Filename:
MIME Type:
Creator:
Kan Sasaki
Created:
2015-07-03 01:38:03 UTC
Size:
606 bytes
patch
obsolete
>Index: files/nslcd.in >=================================================================== >--- files/nslcd.in (revision 391162) >+++ files/nslcd.in (working copy) >@@ -80,10 +80,11 @@ > > nslcd_findpid() > { >- if ! checkyesno nslcd_supervisor && $(%%PREFIX%%/sbin/nslcd -c && pgrep -F /var/run/nslcd.pid > /dev/null); then >+ if %%PREFIX%%/sbin/nslcd -c && pgrep -q -F /var/run/nslcd.pid; then > mypid=$(cat /var/run/nslcd.pid) >- else >- mypid=$(pgrep -f "daemon: %%PREFIX%%/sbin/nslcd") >+ if checkyesno nslcd_supervisor; then >+ mypid=$(pgrep -f "daemon: %%PREFIX%%/sbin/nslcd\[${mypid}\]") >+ fi > 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 Raw
Actions:
View
Attachments on
bug 201298
: 158276