Bug 948663
Summary: | SELinux is preventing /usr/lib/systemd/systemd-hostnamed from 'unlink' accesses on the file hostname. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dean Hunter <deanhunter> |
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 19 | CC: | dominick.grift, dwalsh, mgrepl |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | abrt_hash:27a36cb31143c6d4f7dae1398c2ddeaed0ab7518922ae485b3ab2d4a155aac58 | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-04-19 05:56:48 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Dean Hunter
2013-04-05 02:13:09 UTC
/etc/hostname is mislabeled. IF you run # restorecon -R -v /etc/hostname are you able to reproduce it this issue then? ??? Today, after I rebuilt the Fedora 19 VM, there is no error and the file "/etc/hostname" starts with the correct type: [root@fedora19 ~]# ls -lZ /etc/hostname -rw-r--r--. root root system_u:object_r:etc_runtime_t:s0 /etc/hostname [root@fedora19 ~]# hostnamectl Static hostname: fedora19.hunter.org Pretty hostname: n/a Icon name: computer Chassis: n/a Machine ID: 6178f68fc74c210c5e37823fb078bed7 Boot ID: 1183c3175c1a4f5b99a3654a10a308d9 Virtualization: kvm Operating System: Fedora 19 (Schrödinger’s Cat) CPE OS Name: cpe:/o:fedoraproject:fedora:19 Kernel: Linux 3.9.0-0.rc5.git1.301.fc19.x86_64 Architecture: x86_64 [root@fedora19 ~]# hostnamectl set-hostname "Fedora 19" --pretty [root@fedora19 ~]# hostnamectl Static hostname: fedora19.hunter.org Pretty hostname: Fedora 19 Icon name: computer Chassis: n/a Machine ID: 6178f68fc74c210c5e37823fb078bed7 Boot ID: 1183c3175c1a4f5b99a3654a10a308d9 Virtualization: kvm Operating System: Fedora 19 (Schrödinger’s Cat) CPE OS Name: cpe:/o:fedoraproject:fedora:19 Kernel: Linux 3.9.0-0.rc5.git1.301.fc19.x86_64 Architecture: x86_64 [root@fedora19 ~]# ls -lZ /etc/hostname -rw-r--r--. root root system_u:object_r:etc_runtime_t:s0 /etc/hostname [root@fedora19 ~]# yum list installed selinux-policy Loaded plugins: langpacks, refresh-packagekit Installed Packages selinux-policy.noarch 3.12.1-24.fc19 @anaconda Fixed in selinux-policy-3.12.1-28.fc19.noarch selinux-policy-3.12.1-28.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/FEDORA-2013-5045/selinux-policy-3.12.1-28.fc19 Package selinux-policy-3.12.1-28.fc19: * should fix your issue, * was pushed to the Fedora 19 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.12.1-28.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-5045/selinux-policy-3.12.1-28.fc19 then log in and leave karma (feedback). I have verified the correction in selinux-policy-3.12.1-28.fc19 and updated the karma. Thank you for your efforts. selinux-policy-3.12.1-28.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |