Permissive SELinux hangs some services
- From: "Kai Schaetzl" <maillists (at) conactive.com>
- Date: Mon, 24 Apr 2006 18:11:35 +0200
SELinux is set to permissive mode and warns on startup of a service
(during boot-up):
Warning! Could not relabel /dev/pts/0 with
user_u:object_r:initrc_devpts_t, not relabeling.Operation not permitted
So far, so good. But this logging let's this application and all that
should start after it hang. ps then shows:
initlog -q -c /etc/rc3.d/S98bigsister start
(bigsister is a monitoring agent)
if I wait long enough the above warning gets written to messages and
startup of that daemon succeeds. However, the other daemons after it don't
start. If I kill the initlog process fast enough the other daemons start,
nothing gets logged and the bigsister service fails to start.
syslog is clearly started and working at that time.
If I set SELINUX=disabled the startup process runs like normal. So it's
clearly that SELinux logging (or something else in regard to SELinux,
although disabled) that makes this fail.
This shouldn't happen, shouldn't it?
Kai
--
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com
_______________________________________________
CentOS mailing list
CentOS (at) centos.org
http://lists.centos.org/mailman/listinfo/centos