Bug 582955 - Setting file label with semanage or the GUI generates an error
Summary: Setting file label with semanage or the GUI generates an error
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: policycoreutils
Version: 13
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Yuichi Nakamura
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-16 09:34 UTC by Guillaume Pasquet
Modified: 2010-04-23 06:02 UTC (History)
3 users (show)

Fixed In Version: policycoreutils-2.0.82-7.fc13
Clone Of:
Environment:
Last Closed: 2010-04-23 06:02:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Guillaume Pasquet 2010-04-16 09:34:44 UTC
Description of problem:
Setting file labels either with semanage in command line or with the GUI in "System->Administration" generates a "Invalid command" error.

The file labelling worked though, a "semanage fcontext -l" shows the right labels.

Version-Release number of selected component (if applicable):
libselinux 2.0.90
setools 3.3.6
seedit 2.2.0

How reproducible:
Can always be reproduced

Steps to Reproduce:
1. Change file labelling with a command like:
semanage fcontext -a -t httpd_sys_content_t "/web(/.*)?"
  
Actual results:
/usr/sbin/semanage: Invalid command: semanage fcontext -a -t httpd_sys_content_t /web(/.*)?

Expected results:
No error should show up

Additional info:

Comment 1 Daniel Walsh 2010-04-16 18:00:27 UTC
Fixed in policycoreutils-2.0.82-7.fc13.

Comment 2 Fedora Update System 2010-04-16 18:03:03 UTC
policycoreutils-2.0.82-7.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/policycoreutils-2.0.82-7.fc13

Comment 3 Fedora Update System 2010-04-20 13:35:01 UTC
policycoreutils-2.0.82-7.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update policycoreutils'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/policycoreutils-2.0.82-7.fc13

Comment 4 Fedora Update System 2010-04-23 06:02:27 UTC
policycoreutils-2.0.82-7.fc13 has been pushed to the Fedora 13 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.