Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 822642

Summary: sys-apps/openrc-0.44.7: rc-service returns SELinux assertion
Product: Gentoo Linux Reporter: Jonathan Davies <jpds>
Component: Current packagesAssignee: OpenRC Team <openrc>
Status: CONFIRMED ---    
Severity: normal CC: gentoo, jstein, sam, selinux
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=821520
Whiteboard:
Package list:
Runtime testing required: ---

Description Jonathan Davies 2021-11-09 12:03:50 UTC
Since upgrading to 0.44.7, rc-service returns this for me whenever I try to restart a service:

$ sudo run_init rc-service unbound restart
Password: 
Authenticating user.
Assertion failed: avc_running (avc.c: avc_context_to_sid_raw: 73)
fish: 'sudo run_init rc-service unboun…' terminated by signal SIGABRT (Abort)
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-11-13 05:02:51 UTC
Please try with 0.44.8.
Comment 2 Jonathan Davies 2021-11-15 11:16:38 UTC
Looked into this, and I've fixed the policy at https://github.com/perfinion/hardened-refpolicy/pull/25