Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionRed Hat Case Diagnostics
2011-03-02 14:46:06 UTC
Summary:
SELinux is preventing /sbin/mingetty "setattr" access on tty2.
Detailed Description:
SELinux denied access requested by mingetty. It is not expected that this access
is required by mingetty and this access may signal an intrusion attempt. It is
also possible that the specific version or configuration of the application is
causing it to require additional access.
Allowing Access:
You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.
Additional Information:
Source Context system_u:system_r:sysadm_t:s0
Target Context system_u:object_r:tty_device_t:s0
Target Objects tty2 [ chr_file ]
Source mingetty
Source Path /sbin/mingetty
Port <Unknown>
Host (removed)
Source RPM Packages mingetty-1.08-4.1.el6
Target RPM Packages
Policy RPM selinux-policy-3.7.19-54.el6_0.3
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Plugin Name catchall
Host Name (removed)
Platform Linux (removed)
2.6.32-71.14.1.el6.x86_64 #1 SMP Wed Jan 5
17:01:01 EST 2011 x86_64 x86_64
Alert Count 27
First Seen Wed 02 Mar 2011 09:33:02 AM EST
Last Seen Wed 02 Mar 2011 09:35:13 AM EST
Local ID 9a5ddf43-7d20-4afd-afd0-7c4012b45b7a
Line Numbers
Raw Audit Messages
node=(removed) type=AVC msg=audit(1299076513.198:38818): avc: denied { setattr } for pid=15635 comm="mingetty" name="tty2" dev=devtmpfs ino=5067 scontext=system_u:system_r:sysadm_t:s0 tcontext=system_u:object_r:tty_device_t:s0 tclass=chr_file
node=(removed) type=SYSCALL msg=audit(1299076513.198:38818): arch=c000003e syscall=92 success=no exit=-13 a0=7fff006fba40 a1=0 a2=0 a3=8 items=0 ppid=1 pid=15635 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="mingetty" exe="/sbin/mingetty" subj=system_u:system_r:sysadm_t:s0 key=(null)
Hash String generated from catchall,mingetty,sysadm_t,tty_device_t,chr_file,setattr
audit2allow suggests:
#============= sysadm_t ==============
allow sysadm_t tty_device_t:chr_file setattr;