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 119006 - usernetctl needs to be SELinux-aware
Summary: usernetctl needs to be SELinux-aware
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks: 122683
TreeView+ depends on / blocked
 
Reported: 2004-03-23 20:10 UTC by Aleksey Nogin
Modified: 2014-03-17 02:43 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-10-03 13:42:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Aleksey Nogin 2004-03-23 20:10:33 UTC
Currently, usernetctl does not make any attempt to cooperate with
SELinux and runs all scripts in the originating context of the caller.
As a result, SELinux would not let ordinary users (or staff_r users
for that matter) to control the USERCTL=yes devices.

initscripts-7.48-1 policy-1.9-6

Comment 1 Aleksey Nogin 2004-03-24 23:33:51 UTC
Update: when running in enforcing mode with policy-1.9-11, the staff_r
can control the USERCTL=yes devices. 

Hopefully we just need to:
- Check that the user_r works too (assuming it is desirable).
- Add dontaudit for messages that get generated.

Comment 2 Bill Nottingham 2005-09-30 21:11:57 UTC
Closing bugs on older releases. Apologies for any lack of response.

Does this persist on FC3/FC4 with strict policy?

Comment 3 Aleksey Nogin 2005-10-02 07:33:49 UTC
I have no idea. I am currently using FC3 with the targeted policy.

Comment 4 Daniel Walsh 2005-10-03 13:42:27 UTC
I will cloase this bug since, NetworkManager should handle this functionality
now and most users are using targeted policy anyways.


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