Bug 737837 - systemd-tmpfiles: Failed to set security context ... for /var: Permission denied
Summary: systemd-tmpfiles: Failed to set security context ... for /var: Permission denied
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
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: 2011-09-13 08:44 UTC by Mads Kiilerich
Modified: 2011-09-15 15:14 UTC (History)
12 users (show)

Fixed In Version: selinux-policy-3.10.0-28.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-09-15 15:14:24 UTC


Attachments (Terms of Use)
dmesg (71.19 KB, text/plain)
2011-09-13 08:50 UTC, Mads Kiilerich
no flags Details

Description Mads Kiilerich 2011-09-13 08:44:37 UTC
On a system (just installed from f15 livecd, updated, yum reposynced to f16, enabled -testing, and updated kernel from koji) I get several lines with:

[   25.269536] systemd-tmpfiles[729]: Failed to set security context system_u:object_r:var_t:s0 for /var: Permission denied
[   25.282056] systemd-tmpfiles[729]: Failed to set security context system_u:object_r:var_run_t:s0 for /run: Permission denied

I have
drwxr-xr-x. root root system_u:object_r:var_t:s0       /var
drwxr-xr-x. root root system_u:object_r:var_run_t:s0   /run

With bug 733086 fixed this seems to be the primary issue in this area on this machine. 

systemd-35-1.fc16.x86_64
dracut-013-8.fc16.noarch
selinux-policy-3.10.0-25.fc16.noarch
libselinux-2.1.5-4.fc16.x86_64
kernel-3.1.0-0.rc6.git0.0.fc16.x86_64

Comment 1 Mads Kiilerich 2011-09-13 08:50:21 UTC
Created attachment 522875 [details]
dmesg

Comment 2 Daniel Walsh 2011-09-13 14:29:06 UTC
Since does not happen in permissive mode it is also an SELinux problem.

Comment 3 Fedora Update System 2011-09-13 20:41:50 UTC
selinux-policy-3.10.0-28.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-28.fc16

Comment 4 Fedora Update System 2011-09-13 22:20:52 UTC
Package selinux-policy-3.10.0-28.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-28.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-28.fc16
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2011-09-15 15:13:47 UTC
selinux-policy-3.10.0-28.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.


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