Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 928393 - Cannot create '/var/run/NetworkManager': Permission denied
Summary: Cannot create '/var/run/NetworkManager': Permission denied
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: fedora19rtt
TreeView+ depends on / blocked
 
Reported: 2013-03-27 14:46 UTC by Ľuboš Kardoš
Modified: 2016-08-01 01:26 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-18 11:20:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
audit.log (59.44 KB, text/x-log)
2013-03-27 14:46 UTC, Ľuboš Kardoš
no flags Details

Description Ľuboš Kardoš 2013-03-27 14:46:12 UTC
Description of problem:
Starting NetworkManager service is unsuccessful with error: "Cannot create '/var/run/NetworkManager': Permission denied"

Version-Release number of selected component (if applicable):
F19-Alpha-TC2
NetworkManager-0.9.8.0-1.fc19.x86_64
selinux-policy-3.12.1-23.fc19.noarch

How reproducible:
always

Steps to Reproduce:
1. On installed system run command "systemctl restart NetworkManager"
  
Actual results:
You can see "NetworkManager[474]: <error> [1364394113.252601] [main.c:406] main(): Cannot create '/var/run/NetworkManager': Permission denied" in output of command "systemctl status NetworkManager". 

Expected results:
Service NetworkManager should succesfully start.

Additional info:
After turning off selinux with command "setenforce 0", problem disappeared and it was possible to start NetworkManager service successfully. Attached audit.log.

Comment 1 Ľuboš Kardoš 2013-03-27 14:46:56 UTC
Created attachment 717113 [details]
audit.log

Comment 2 Daniel Walsh 2013-03-27 16:17:42 UTC
restorecon /var/run

Will fix this.

Comment 3 Daniel Walsh 2013-03-27 16:18:16 UTC
Fixed in selinux-policy-3.12.1-24.fc19

Comment 4 Ľuboš Kardoš 2013-03-29 10:29:59 UTC
Verified on selinux-policy-3.12.1-24.fc19

Comment 5 Fedora End Of Life 2015-01-09 22:41:41 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 6 Fedora End Of Life 2015-02-18 11:20:42 UTC
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 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.


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