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.
Bug 1109319 - Rsyslog server using GSSAPI module still has SELinux AVCs
Summary: Rsyslog server using GSSAPI module still has SELinux AVCs
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: selinux-policy
Version: 6.5
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Miroslav Grepl
QA Contact: Dalibor Pospíšil
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-13 16:11 UTC by Jon McKenzie
Modified: 2020-06-05 16:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-25 12:40:41 UTC
Target Upstream Version:
Embargoed:
jcmcken: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 867001 0 medium CLOSED rsyslog cannot access krb5 ticket and keytab 2021-02-22 00:41:40 UTC

Description Jon McKenzie 2014-06-13 16:11:23 UTC
Description of problem:

When an rsyslog server is configured to use GSSAPI authentication, the generated ticket (/tmp/host_0 by default) has no default label. When the host is rebooted, this ticket gets relabeled to 'user_tmp_t' (from 'krb5_host_rcache_t'). The rsyslog server attempts to remove the ticket to reacquire credentials, but does not have 'unlink' privileges for that domain. Removing the '/tmp/host_0' file and restarting rsyslog resolves the issue.


Version-Release number of selected component (if applicable):

rsyslog-5.8.10-8.el6.x86_64

How reproducible:

Very

Steps to Reproduce:
1. Set up GSSAPI-authed rsyslog server and 'service rsyslog start'
2. Reboot the machine. The old KRB ticket should still be in /tmp
3. rsyslog fails to perform GSSAPI auth. In the rsyslog log, this message repeats: "GSS-API Context initialization failed"

Comment 2 Tomas Heinrich 2014-06-16 09:48:09 UTC
Moving to selinux-policy.

Comment 3 Milos Malik 2014-06-17 07:38:14 UTC
Please provide the AVCs:

# ausearch -m avc -m user_avc -m selinux_err -i -ts today


Note You need to log in before you can comment on or make changes to this bug.