PDA

View Full Version : Fedora Core 6 startup errors with haldaemon



LordGordon
5th April 2007, 05:19 PM
Hi,
I have recently moved my /usr/share from the main partition to a secondary partition (more large) and I maked a symbolic link to the new position (I done this in a emergency consolle).
At the first startup the automounting tool failed to mount USB devices. I forced a reinstallation of haldaemon with rpm (I have downloaded the correct rpm for my system).
Now automounting works but the system doesn't start: I see a lot of errors (see below) and I have to reboot. I have to run interactive setup and disable the start of xfs, haldaemon, smartd.

An example of the errors I see (from dmesg):


...
audit(1175789749.298:909): avc: denied { getattr } for pid=3308 comm="hald" name="10-camera-libgphoto2.fdi" dev=sda2 ino=8980271 scontext=system_u:system_r:hald_t:s0 tcontext=system_u:object_r:default_t:s0 tclass=file
audit(1175789749.298:910): avc: denied { getattr } for pid=3308 comm="hald" name="10-hal_lpadmin.fdi" dev=sda2 ino=7868514 scontext=system_u:system_r:hald_t:s0 tcontext=system_u:object_r:default_t:s0 tclass=file
audit(1175789749.298:911): avc: denied { getattr } for pid=3308 comm="hald" name="10-hal_lpadmin.fdi" dev=sda2 ino=7868514 scontext=system_u:system_r:hald_t:s0 tcontext=system_u:object_r:default_t:s0 tclass=file
audit(1175789749.299:912): avc: denied { getattr } for pid=3308 comm="hald" name="90-gphoto-camera-policy.fdi" dev=sda2 ino=8230337 scontext=system_u:system_r:hald_t:s0 tcontext=system_u:object_r:default_t:s0 tclass=file
audit(1175789749.299:913): avc: denied { getattr } for pid=3308 comm="hald" name="90-gphoto-camera-policy.fdi" dev=sda2 ino=8230337 scontext=system_u:system_r:hald_t:s0 tcontext=system_u:object_r:default_t:s0 tclass=file
...
audit(1175786094.751:38): avc: denied { search } for pid=1710 comm="rhgb" name="dati" dev=sda3 ino=910337 scontext=system_u:system_r:rhgb_t:s0 tcontext=system_u:object_r:default_t:s0 tclass=dir
audit(1175786094.751:39): avc: denied { search } for pid=1710 comm="rhgb" name="dati" dev=sda3 ino=910337 scontext=system_u:system_r:rhgb_t:s0 tcontext=system_u:object_r:default_t:s0 tclass=dir
...


I tried to reinstall haldaemon, selinux, smartd, xfs from yum but nothing changed.
Some ideas to help me?

Many thanks!!

I'm running a Fedora Core 6 x86_64.

LordGordon
5th April 2007, 05:56 PM
Update: with SELinux disabled all works fine. But I want to run selinux.