[K12OSN] boot errors
Eric Harrison
eharrison at mail.mesd.k12.or.us
Wed Sep 27 01:03:49 UTC 2006
Ray Garza wrote:
> Hello all:
>
> I thought I was finished setting up a new system but bad luck strikes again.
>
> I noticed some error messages when the kids logon to the system. They are:
>
> Power Manager
> This Service cannot start until you start the dbus system service.
> It is strongly recommended that you reboot your computer after starting
> messagebus.
>
>
> I go to Services and it shows messagebus as not running. I try to start it but
> fails.
> I reboot the system and notice many warnings and two services that fail to
> start: Avahi and the one right below it.
>
> I'm using K12LTSP 5.0
>
> Here is all of the message log:
<snip>
> Sep 26 18:35:51 k12ltsp kernel: audit(1159313738.816:4): avc: denied
> { read } for pid=1931 comm="dbus-daemon" name="passwd" dev=dm-0 ino=42502046
> scontext=system_u:system_r:system_dbusd_t:s0
> tcontext=system_u:object_r:etc_runtime_t:s0 tclass=file
> Sep 26 18:35:51 k12ltsp kernel: audit(1159313738.816:5): avc: denied
> { read } for pid=1931 comm="dbus-daemon" name="passwd" dev=dm-0 ino=42502046
> scontext=system_u:system_r:system_dbusd_t:s0
> tcontext=system_u:object_r:etc_runtime_t:s0 tclass=file
> Sep 26 18:35:51 k12ltsp avahi-daemon[2462]: Successfully dropped root
> privileges.
<snip>
Looks like something went screwy with SELinux.
Run this command as root:
setenforce 0
and try re-starting messagebus and/or avahi:
/sbin/service messagebus start
/sbin/service avahi-daemon start
If the services now start up, it is definitely something to do with SELinux.
You can either reset all of the SELinux security labels:
restorecon -Rv /
or if you are less concerned about the system's security features, you
can set SELinux to permissive mode by editing /etc/sysconfig/selinux and
changing
SELINUX=enforcing
to
SELINUX=permissive
-Eric
More information about the K12OSN
mailing list