Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 454966 Details for
Bug 601510
net-dns/bind-9.10.4_p4 (OpenRC): pidfile issues (can make an selinux enabled system unusable)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to /etc/init.d/named
named.patch (text/plain), 1.15 KB, created by
Alexander Wetzel
on 2016-12-03 11:40:48 UTC
(
hide
)
Description:
patch to /etc/init.d/named
Filename:
MIME Type:
Creator:
Alexander Wetzel
Created:
2016-12-03 11:40:48 UTC
Size:
1.15 KB
patch
obsolete
>--- named_orig 2016-12-03 11:50:12.719275875 +0100 >+++ named 2016-12-03 11:59:40.868146451 +0100 >@@ -120,6 +120,11 @@ > > ebegin "Starting ${CHROOT:+chrooted }named" > >+ # moved initialization of piddir to top, to prevent uninialized use of piddir below! >+ # create piddir (usually /run/named) if necessary, bug 334535 >+ _get_pidfile >+ piddir="${PIDFILE%/*}" >+ > if [ -n "${CHROOT}" ]; then > if [ ${CHROOT_NOCHECK:-0} -eq 0 ]; then > check_chroot || { >@@ -160,9 +165,6 @@ > > checkconfig || { eend 1; return 1; } > >- # create piddir (usually /run/named) if necessary, bug 334535 >- _get_pidfile >- piddir="${PIDFILE%/*}" > checkpath -q -d -o root:named -m 0770 "${piddir}" || { > eerror "Failed to create PID directory at $piddir" > eend 1 >@@ -202,7 +204,8 @@ > > # -R 10, bug 335398 > _get_pidfile >- start-stop-daemon --stop --retry 10 --pidfile $PIDFILE \ >+ # Hack to work around the strange fact that start-stop-daemon is using the argument of --pidfile to be inside of the chroot at start but not on stop >+ start-stop-daemon --stop --retry 10 --pidfile ${CHROOT}/$PIDFILE \ > --exec /usr/sbin/named > > if [ -n "${CHROOT}" ] && [ "${CHROOT_NOMOUNT:-0}" -eq 0 ]; then
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 601510
:
454966
|
473630
|
473634