Bug 1132933 - systemd policy reuses SELinux kernel AV (system)
Summary: systemd policy reuses SELinux kernel AV (system)
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-22 11:01 UTC by Laurent Bigonville
Modified: 2016-07-28 11:47 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-07-27 21:55:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Laurent Bigonville 2014-08-22 11:01:32 UTC
Hi,

Currently selinux-policy is expanding the selinux "system" security class with userspace AV for systemd action like reboot or shutdown.

While looking at merging the systemd policy into the refpolicy Christopher from Tresys was a bit annoyed by this, see: http://oss.tresys.com/pipermail/refpolicy/2014-July/007237.html

This will requires coordination between selinux-policy and systemd itself.

Additional info:
https://bugs.freedesktop.org/show_bug.cgi?id=81105

Comment 1 Miroslav Grepl 2014-08-22 17:59:39 UTC
Yes we know about this issue and I need to re-ask systemd folks how the fix goes.

Comment 2 Daniel Walsh 2014-08-22 20:19:19 UTC
Miroslav have you defined a new class for systemd or init, that defines the access vector that I added to system?  Once those are defined, we can switch systemd pretty easily to use them.  

Of course we need to do this in F22.

Comment 3 Jaroslav Reznik 2015-03-03 16:14:07 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 4 Laurent Bigonville 2015-11-09 11:59:02 UTC
Is there any progress on this?

Comment 5 Fedora End Of Life 2016-07-19 12:03:18 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 6 Jan Kurik 2016-07-26 04:43:52 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.

Comment 7 Fedora Update System 2016-07-27 10:39:14 UTC
openssh-7.2p2-11.fc24 selinux-policy-3.13.1-191.8.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-99191c4aab

Comment 8 Lukas Vrabec 2016-07-27 21:55:38 UTC
Class system is already integrated in distro selinux-policy.

Comment 9 Laurent Bigonville 2016-07-28 11:47:46 UTC
(In reply to Lukas Vrabec from comment #8)
> Class system is already integrated in distro selinux-policy.

The initial issue was that systemd is abusing the system class and that selinux upstream were not happy about that.

I don't think this has been fixed, please reopen the bug


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