retitle 390126 initscripts: chrooted() is not performing a valid check for
chroot
reopen 390126 Junichi Uekawa <[EMAIL PROTECTED]>
thanks
Hi,
+chrooted() {
+ if [ -r /proc/1/root ]; then
+ return 1
+ fi
+ return 0
+}
This check, which tests if the real '/' of PID1 is readable, is not a
valid check for chroot, since a root user is able to access the real
'/' from even within a chroot.
regards,
junichi
--
[EMAIL PROTECTED],netfort.gr.jp} Debian Project
_______________________________________________
Pkg-sysvinit-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-sysvinit-devel