help: about boot message
hi,all
I have updated selinux-2.4.18 packages on redhat 7.2
I have seen these files:
1) /etc/selinux/policy/file_context
================================
/sbin/.*getty system_u:object_r:getty_exec_t 2) /etc/selinux/policy/domains/programs/getty.te
=============================================
role system_r types getty_t;
allow getty_t tty_device_t:chr_file rw_file_perms;
allow getty_t ttyfile:chr_file rw_file_perms; 3) /etc/selinux/policy/types/device.te
===================================
type tty_device_t, file_type; 4) /etc/selinux/policy/policy.conf
===============================
allow getty_t tty_device_t:chr_file { ioctl read getattr access lock poll write
setattr append };
allow getty_t ttyfile:chr_file { ioctl read getattr access lock poll write setattr append };but , after reboot, I found error infomation:
* display on tty? console
===============
INIT: Id "3" respawning too fast: disabled for 5 minutes
* /var/log/messages
=================
Apr 28 16:13:57 sea2 kernel:
Apr 28 16:13:57 sea2 /sbin/mingetty[892]: /dev/tty2: Permission denied
Apr 28 16:13:57 sea2 kernel: avc: denied { setattr } for pid=881 exe=/sbin/mingetty path=/dev/tty3 dev=03:43 ino=36350 scontext=system_u:system_r:getty_t tcontext=system_u:object_r:file_t tclass=chr_fileThanks for any help.
f980215
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 5 lines · On Sun, 28 Apr 2002, f980215 wrote:
*
/var/log/messages
=================Apr 28 16:13:57 sea2 kernel: Apr 28 16:13:57 sea2 /sbin/mingetty[892]: /dev/tty2: Permission denied Apr 28 16:13:57 sea2 kernel: avc: denied { setattr } for pid=881 exe=/sbin/mingetty path=/dev/tty3 dev=03:43 ino=36350 scontext=system_u:system_r:getty_t tcontext=system_u:object_r:file_t tclass=chr_file
The tty has the wrong type (file_t instead of tty_device_t). Did you run 'make relabel' before booting the SELinux kernel?
--
Stephen D. Smalley, NAI Labs
[email protected]
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.