Package: udev
Version: 149-2
Severity: normal
mount_tmpfs() {
if grep -E -q "^[^[:space:]]+ /dev (dev)?tmpfs" /proc/mounts; then
return
fi
The above shell code should have the following two lines inserted before the
return. With the current code if you have udev started when the tmpfs is
mounted but restorecon has not been run (EG when you boot a Lenny or Unstable
system with a CentOS 5 kernel) and you are running SE Linux in enforcing mode
then udev doesn't start and your system generally won't work well (some daemons
won't start as well). The only case where the mount_tmpfs() need not run
restorecon is when the kernel has no tmpfs support. But even in that case it
won't do any harm.
# relabel the new tmpfs accordingly
[ -x /sbin/restorecon ] && /sbin/restorecon /dev
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]