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 1029823 - avc appears on starting sssd from cmdline
Summary: avc appears on starting sssd from cmdline
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: selinux-policy
Version: 7.0
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Miroslav Grepl
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-13 10:08 UTC by Kaushik Banerjee
Modified: 2013-11-25 13:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-25 13:10:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Kaushik Banerjee 2013-11-13 10:08:14 UTC
Description of problem:
avc appears on starting sssd from cmdline

Version-Release number of selected component (if applicable):
selinux-policy-3.12.1-99.el7
sssd-1.11.1-2.el7

How reproducible:
Always

Steps to Reproduce:
1. Run sssd from cmdline:
sssd -d 9 -f -c /root/sssd.conf


Actual results:
sssd starts, but AVCs appear.

type=SYSCALL msg=audit(1384262991.823:1464): arch=c000003e syscall=42 success=no exit=-13 a0=10 a1=7fff4bf79850 a2=6e a3=1 items=0 ppid=1 pid=546 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="systemd-logind" exe="/usr/lib/systemd/systemd-logind" subj=system_u:system_r:systemd_logind_t:s0 key=(null)
type=AVC msg=audit(1384262991.823:1464): avc:  denied  { connectto } for  pid=546 comm="systemd-logind" path="/var/lib/sss/pipes/nss" scontext=system_u:system_r:systemd_logind_t:s0 tcontext=unconfined_u:system_r:unconfined_t:s0-s0:c0.c1023 tclass=unix_stream_socket


Expected results:
No avcs

Additional info:

Comment 1 Jakub Hrozek 2013-11-13 10:23:57 UTC
I'll let Miroslav do the canonical answer, but I think that's kind of expected as processes not started by the init system do not transition from the unconfined domain..

Comment 3 Miroslav Grepl 2013-11-25 13:10:53 UTC
(In reply to Jakub Hrozek from comment #1)
> I'll let Miroslav do the canonical answer, but I think that's kind of
> expected as processes not started by the init system do not transition from
> the unconfined domain..

Yes.


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