Mageia Bugzilla – Attachment 1702 Details for
Bug 4822
2_b1: named fails to start due to lack of chroot setup
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Patch to fix /var/lib/named/dev/urandom minor
setup-named-chroot.sh.patch (text/plain), 598 bytes, created by
Dave Hodgins
on 2012-03-08 00:57:37 CET
(
hide
)
Description:
Patch to fix /var/lib/named/dev/urandom minor
Filename:
MIME Type:
Creator:
Dave Hodgins
Created:
2012-03-08 00:57:37 CET
Size:
598 bytes
patch
obsolete
>--- /usr/sbin/setup-named-chroot.sh.original 2012-03-07 14:37:19.000000000 -0500 >+++ /usr/sbin/setup-named-chroot.sh 2012-03-07 18:52:07.604118199 -0500 >@@ -23,7 +23,7 @@ > > [ -e $ROOTDIR/dev/null ] || mknod -m 0666 $ROOTDIR//dev/null c 1 3 > [ -e $ROOTDIR/dev/random ] || mknod -m 0666 $ROOTDIR//dev/random c 1 8 >-[ -e $ROOTDIR/dev/urandom ] || mknod -m 0666 $ROOTDIR/dev/urandom c 1 8 >+[ -e $ROOTDIR/dev/urandom ] || mknod -m 0666 $ROOTDIR/dev/urandom c 1 9 > > # better always copy localtime so it respects the system's timezone > install -m 0644 -o root -g root /etc/localtime $ROOTDIR/etc/
--- /usr/sbin/setup-named-chroot.sh.original 2012-03-07 14:37:19.000000000 -0500 +++ /usr/sbin/setup-named-chroot.sh 2012-03-07 18:52:07.604118199 -0500 @@ -23,7 +23,7 @@ [ -e $ROOTDIR/dev/null ] || mknod -m 0666 $ROOTDIR//dev/null c 1 3 [ -e $ROOTDIR/dev/random ] || mknod -m 0666 $ROOTDIR//dev/random c 1 8 -[ -e $ROOTDIR/dev/urandom ] || mknod -m 0666 $ROOTDIR/dev/urandom c 1 8 +[ -e $ROOTDIR/dev/urandom ] || mknod -m 0666 $ROOTDIR/dev/urandom c 1 9 # better always copy localtime so it respects the system's timezone install -m 0644 -o root -g root /etc/localtime $ROOTDIR/etc/
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 4822
: 1702