FreeBSD Bugzilla – Attachment 222858 Details for
Bug 253887
dns/dnsdist: ensure pidfile is present, with correct ownership
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
v1
file_253887.txt (text/plain), 666 bytes, created by
Dave Cottlehuber
on 2021-02-27 08:52:50 UTC
(
hide
)
Description:
v1
Filename:
MIME Type:
Creator:
Dave Cottlehuber
Created:
2021-02-27 08:52:50 UTC
Size:
666 bytes
patch
obsolete
>commit c2e74b27b4657adde006bfc262ca479cbe38c714 >Author: Dave Cottlehuber <dch@FreeBSD.org> >Date: Fri Feb 26 07:37:54 2021 +0000 > > dns/dnsdist: ensure pidfile is present with correct ownership > >diff --git dns/dnsdist/files/dnsdist.in dns/dnsdist/files/dnsdist.in >index 725cefc15f5e..04e92b2a5697 100644 >--- dns/dnsdist/files/dnsdist.in >+++ dns/dnsdist/files/dnsdist.in >@@ -95,4 +95,13 @@ else > fi > fi > >+start_precmd=dnsdist_startprecmd >+ >+dnsdist_startprecmd() >+{ >+ if [ ! -e ${pidfile} ]; then >+ install -o ${dnsdist_priv_user} -g ${dnsdist_priv_group} /dev/null ${pidfile}; >+ fi >+} >+ > run_rc_command "$1"
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
Flags:
dch
:
maintainer-approval?
(
tremere
)
Actions:
View
Attachments on
bug 253887
: 222858