Bug 1328959
Summary: | rkt AVCs on rawhide | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Robin Powell <rlpowell> |
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | rawhide | CC: | dominick.grift, dwalsh, lvrabec, mgrepl, plautrba |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-04-22 17:58:10 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Robin Powell
2016-04-20 17:53:41 UTC
Note that running that stuff past audit2allow is how I hit https://bugzilla.redhat.com/show_bug.cgi?id=1328956 , so that may also be relevant. I think rkt right now will only work without overlayfs. Since overlayfs does not properly support SELInux labeling. Ah, OK; yes, it works fine with --no-overlay (running as root/unconfined_t). While it seems implausible, let me know if there's anything I can do to help. FWIW, here's the AVCs I get in that case (launching rkt as root/unconfined_t, dontaudit off, setenforce 0 (although note that it works just fine with setenforce 1 AFAICT, that was just to get AVCs)): type=NETFILTER_CFG msg=audit(1461307931.081:11296): table=nat family=2 entries=20 type=NETFILTER_CFG msg=audit(1461307931.083:11297): table=nat family=2 entries=22 type=NETFILTER_CFG msg=audit(1461307931.085:11298): table=nat family=2 entries=23 type=NETFILTER_CFG msg=audit(1461307931.087:11299): table=nat family=2 entries=24 type=LOGIN msg=audit(1461307931.613:11300): pid=25523 uid=0 subj=staff_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 old-auid=1000 auid=4294967295 old-ses=233 ses=4294967295 res=1 type=USER_AVC msg=audit(1461307931.625:11301): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='Unknown permission start for class system exe="/usr/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?' type=USER_AVC msg=audit(1461307931.628:11302): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='Unknown permission start for class system exe="/usr/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?' type=AVC msg=audit(1461307931.643:11303): avc: denied { write } for pid=25524 comm="systemd" name="core_pattern" dev="proc" ino=596807 scontext=system_u:system_r:svirt_lxc_net_t:s0:c180,c298 tcontext=system_u:object_r:usermodehelper_t:s0 tclass=file permissive=1 type=AVC msg=audit(1461307931.645:11304): avc: denied { write } for pid=25524 comm="systemd" name="max_dgram_qlen" dev="proc" ino=596822 scontext=system_u:system_r:svirt_lxc_net_t:s0:c180,c298 tcontext=system_u:object_r:sysctl_net_unix_t:s0 tclass=file permissive=1 type=USER_AVC msg=audit(1461307939.220:11306): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='Unknown permission stop for class system exe="/usr/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?' type=USER_AVC msg=audit(1461307939.222:11307): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='Unknown permission stop for class system exe="/usr/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?' None of these seem to be causing any serious issues, and systemd is in fact running in the container. This is a kernel issue, which we have existing bugzilla for it. https://bugzilla.redhat.com/show_bug.cgi?id=1178944 *** This bug has been marked as a duplicate of bug 1178944 *** I find it mildly annoying that the only non-duplicate bug in that chain, I can't actually see (Access Denied), so I've no way to get notified when it's fixed. ... Also, Firefox helpfully "remembered" that I'd closed a previous bug as NOTABUG, and made this bug one too when I commented. -____- Sorry about that. *** This bug has been marked as a duplicate of bug 1178944 *** Robin sorry about that, but be assured that if we get this to work and merged in to upstream kernel, we will make a lot of noise. |