restorecon seg fault on 'no such file'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@localhost rc.d]# restorecon /etc/mtab /etc/ld.so.cache
/etc/blkid.tab /etc/resolv.conf
Segmentation fault
[root@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

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux