Xymon Mailing List Archive search

hobbit on RH 5.3 server

list Robert P McGraw
Tue, 7 Jul 2009 16:11:16 -0400
Message-Id: <user-86945dfd1d44@xymon.invalid>

On the RH 5.3 hosts I have installed just the client side of
hobbit.4.2.0.

After a reboot I get the following in the /var/log/messages file:

Jul  7 15:41:37 galileo kernel: type=1400 audit(1246995697.604:109):
avc:  denied  { append } for  pid=8951 comm="ifconfig"
path="/local/hobbit/client/tmp/msg.galileo.math.purdue.edu.txt.8937"
dev=dm-3 ino=294968 scontext=system_u:system_r:ifconfig_t:s0
tcontext=system_u:object_r:default_t:s0 tclass=file
Jul  7 15:41:37 galileo kernel: type=1400 audit(1246995697.604:110):
avc:  denied  { append } for  pid=8951 comm="ifconfig"
path="/local/hobbit/client/logs/hobbitclient.log" dev=dm-3 ino=294969
scontext=system_u:system_r:ifconfig_t:s0
tcontext=user_u:object_r:default_t:s0 tclass=file
Jul  7 15:41:37 galileo kernel: type=1400 audit(1246995697.624:111):
avc:  denied  { append } for  pid=8955 comm="ifconfig"
path="/local/hobbit/client/tmp/msg.galileo.math.purdue.edu.txt.8937"
dev=dm-3 ino=294968 scontext=system_u:system_r:ifconfig_t:s0
tcontext=system_u:object_r:default_t:s0 tclass=file
Jul  7 15:41:37 galileo kernel: type=1400 audit(1246995697.624:112):
avc:  denied  { append } for  pid=8955 comm="ifconfig"
path="/local/hobbit/client/logs/hobbitclient.log" dev=dm-3 ino=294969
scontext=system_u:system_r:ifconfig_t:s0
tcontext=user_u:object_r:default_t:s0 tclass=file


Right after a boot I get the following:
 
[14][root at galileo]:hobbit/client/logs# ls -alZ
drwxr-xr-x  bb bb   user_u:object_r:default_t:s0     ./
drwxr-xr-x  bb bb   user_u:object_r:default_t:s0     ../
-rw-r--r--  bb bb   system_u:object_r:default_t:s0
clientlaunch.galileo.math.purdue.edu.pid
-rw-r--r--  bb bb   user_u:object_r:default_t:s0     clientlaunch.log
-rw-r--r--  bb bb   user_u:object_r:default_t:s0     hobbitclient.log


If I then manually run the init.d/hobbit start script then it shows:

35][root at galileo]:hobbit/client/logs# ls -alZ
drwxr-xr-x  bb bb user_u:object_r:default_t:s0     ./
drwxr-xr-x  bb bb user_u:object_r:default_t:s0     ../
-rw-r--r--  bb bb user_u:object_r:default_t:s0
clientlaunch.galileo.math.purdue.edu.pid
-rw-r--r--  bb bb user_u:object_r:default_t:s0     clientlaunch.log
-rw-r--r--  bb bb user_u:object_r:default_t:s0     hobbitclient.log

and I do not get the error messages in /var/log. 

I know that this is being caused by SELinux, but not sure the best way
to resolve this problem?

Thanks

Robert


Robert P. McGraw, Jr.
Manager, Computer System                    EMAIL: user-33cf07af04dd@xymon.invalid
Purdue University                            ROOM: MATH-807
Department of Mathematics                   PHONE: (XXX) XXX-XXXX
XXX N. University Street                      
West Lafayette, IN XXXXX-XXXX