Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
Subject: application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
Subject: X Windows problem (xauth)
Subject: Upgrading openoffice 1 1 rpm
Subject: FTP: connection refused
Subject: FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
Subject: broadcom network interface
make mrproper
Couldn 't open PID file /var/run/named/named pid Permission denied
sendmail configuration on redhat
kernel 2 6 and /dev/sound/mixer not found
Subject: Promise 378 controller
Subject: Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
Subject: Lotus Notes under Wine
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
/etc/security/limits conf question
Intel E/1000 driver
rpm database corrupt
Command stream end of file while reading
qla2300 modules
 
SELinux prevented system from booting after file system crash

SELinux prevented system from booting after file system crash

2007-11-06       - By Mertens, Bram

 Back
Hi,

The root filesystem of one of our RHEL ES 4 servers crashed last week.
A colleague of mine was able to fix the filesystem but wasn't able to
reboot the machine.  Booting failed during initialization of SELinux,
more precisely after the line:
SELinux: initialized (dev usbfs, type usbfs), uses genfs_contexts

I was able to boot the machine by adding the selinux=0 grub kernel
option.  After this the machine booted fine and even a subsequent reboot
without disabling selinux works.

So it looks like whatever was broken was automatically fixed when the
machine booted succesfully for the first time.

However since I read that SELinux might prevent booting if one of the
relevant files is deleted I ran rpm -Va to check for missing/corrupt
files.

The output is filled with entries (4761 to be precise) with lines
indicating that the file could not be read:
.......?   /lib/i686

I'm running the check as root and I don't see any reason why this file
should be reported as being unreadable, unless the fact that there is no
security context shown is somehow interfering:
[root@(protected) log]# ll -d --lcontext /lib/i686
drwxr-xr-x  2                                  root root 4096 Sep  3
16:21 /lib/i686

But then again, rpm -Va doesn't complain about /etc/shadow while it too
doesn't show a security context:
[root@(protected) log]# grep shadow /tmp/rpmva
[root@(protected) log]# ll --lcontext /etc/shadow
-r


Mazda Motor Logistics Europe NV, Blaasveldstraat 162, B-2830 Willebroek
VAT BE 406.024.281, RPR Mechelen, ING  310-0092504-52, IBAN : BE64 3100 0925
0452, SWIFT : BBRUBEBB

-- -----  1                                  root root 1085 Oct 25
14:02 /etc/shadow
[root@(protected) log]# getenforce
Enforcing

Should I be worried about these entries?  And if so what can I do to fix
this?

Kind regards

Bram

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list