restorecon seg fault on 'no such file'
Tom London
selinux at gmail.com
Fri Sep 15 20:20:35 UTC 2006
Running latest rawhide, targeted/enforcing.
There is a entry in /etc/rc.sysinit that segfaults on my system (line 678):
# Clean up SELinux labels
if [ -n "$SELINUX_STATE" ]; then
restorecon /etc/mtab /etc/ld.so.cache /etc/blkid.tab
/etc/resolv.conf >/dev/null 2>&1
fi
[root at localhost rc.d]# restorecon /etc/mtab /etc/ld.so.cache
/etc/blkid.tab /etc/resolv.conf
Segmentation fault
[root at localhost rc.d]#
The problem is that there is on /etc/blkid.tab. This seems to confuse
restorecon (tail of strace):
munmap(0xb7f38000, 4096) = 0
lstat64("/etc/blkid.tab", 0xbff4c02c) = -1 ENOENT (No such file or directory)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 4031 detached
tom
--
Tom London
More information about the fedora-selinux-list
mailing list