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 1726239 - the fapolicyd service runs as unconfined_service_t
Summary: the fapolicyd service runs as unconfined_service_t
Keywords:
Status: CLOSED DUPLICATE of bug 1714529
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: selinux-policy
Version: 8.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: 8.2
Assignee: Lukas Vrabec
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks: 1726199
TreeView+ depends on / blocked
 
Reported: 2019-07-02 12:06 UTC by Milos Malik
Modified: 2019-09-05 08:18 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-05 08:18:16 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Milos Malik 2019-07-02 12:06:10 UTC
Description of problem:
 * the service is shipped but it is not confined

Version-Release number of selected component (if applicable):
fapolicyd-0.8.9-1.el8.x86_64
selinux-policy-3.14.3-9.el8.noarch
selinux-policy-targeted-3.14.3-9.el8.noarch

How reproducible:
 * always

Steps to Reproduce:
# service fapolicyd status
Redirecting to /bin/systemctl status fapolicyd.service
● fapolicyd.service - File Access Policy Daemon
   Loaded: loaded (/usr/lib/systemd/system/fapolicyd.service; disabled; vendor preset: disabled)
   Active: inactive (dead)
# service fapolicyd start
Redirecting to /bin/systemctl start fapolicyd.service
# service fapolicyd status
Redirecting to /bin/systemctl status fapolicyd.service
● fapolicyd.service - File Access Policy Daemon
   Loaded: loaded (/usr/lib/systemd/system/fapolicyd.service; disabled; vendor preset: disabled)
   Active: active (running) since Tue 2019-07-02 07:58:03 EDT; 1s ago
  Process: 7982 ExecStart=/usr/sbin/fapolicyd (code=exited, status=0/SUCCESS)
 Main PID: 7983 (fapolicyd)
    Tasks: 1 (limit: 11518)
   Memory: 40.8M
   CGroup: /system.slice/fapolicyd.service
           └─7983 /usr/sbin/fapolicyd

Jul 02 07:58:03 ci-vm-10-0-136-62.hosted.upshift.rdu2.redhat.com systemd[1]: St…
Jul 02 07:58:03 ci-vm-10-0-136-62.hosted.upshift.rdu2.redhat.com systemd[1]: fa…
Jul 02 07:58:03 ci-vm-10-0-136-62.hosted.upshift.rdu2.redhat.com fapolicyd[7983]: ...
Jul 02 07:58:03 ci-vm-10-0-136-62.hosted.upshift.rdu2.redhat.com fapolicyd[7983]: ...
Jul 02 07:58:03 ci-vm-10-0-136-62.hosted.upshift.rdu2.redhat.com systemd[1]: St…
Jul 02 07:58:04 ci-vm-10-0-136-62.hosted.upshift.rdu2.redhat.com fapolicyd[7983]: ...
Hint: Some lines were ellipsized, use -l to show in full.
# ps -efZ | grep fapolicyd
system_u:system_r:unconfined_service_t:s0 fapolic+ 7983 1 29 07:58 ?   00:00:03 /usr/sbin/fapolicyd
unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 root 7999 4655  0 07:58 pts/0 00:00:00 grep --color=auto fapolicyd
# ls -Z /usr/sbin/fapolicyd
system_u:object_r:bin_t:s0 /usr/sbin/fapolicyd
#

Actual results:
 * the service is not confined

Expected results:
 * the service is confined

Comment 2 Lukas Vrabec 2019-09-05 08:18:16 UTC

*** This bug has been marked as a duplicate of bug 1714529 ***


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