Skip to contentSkip to conversation

openssh (run_init messages)

DISCUSSION Timothy Wood 2 participants 2 messages Aug 26, 2002 SELinux security module

lore
Share & tools
lore
#0 lore raw

I did have time...

avc: denied { transition } for pid=1125 exe=/usr/local/selinux/sbin/run_init path=/etc/rc.d/init.d/sshd dev=03:06 ino=18409 scontext=timothy:sysadm_r:sysadm_t tcontext=system_u:system_r:initrc_t tclass=process

Timothy,

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 4 lines · Timothy Wood

avc: denied { transition } for pid=1125 exe=/usr/local/selinux/sbin/run_init path=/etc/rc.d/init.d/sshd dev=03:06 ino=18409 scontext=timothy:sysadm_r:sysadm_t tcontext=system_u:system_r:initrc_t tclass=process

This implies that run_init isn't labeled properly. To fix by hand, use chcon system_u:object_r:run_init_exec_t /usr/local/selinux/sbin/run_init. As I recall, I posted a patch for run_init.fc for the prior release long ago that fixed this error.

--
Stephen D. Smalley, NAI Labs
[email protected]

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.