Bug 785317 - fixfiles writes bogus/misleading log messages
Summary: fixfiles writes bogus/misleading log messages
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: policycoreutils
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-27 23:42 UTC by Peter Backes
Modified: 2013-01-23 16:29 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-05-10 16:49:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Peter Backes 2012-01-27 23:42:33 UTC
Description of problem:
when running fixfiles check, messages are logged that claim that the files with differing labels were relabelled, which they (correctly) were not.

Version-Release number of selected component (if applicable):
policycoreutils-2.1.4-13.fc16.i686

How reproducible:
always

Steps to Reproduce:
1. touch test.file
2. chcon -t user_home_t test.file
3. fixfiles check

Actual results:
A message is logged in /var/log/messages claiming test.file to have been relabelled:
Jan 28 00:38:56 helen setfiles: relabeling /root/test.file from unconfined_u:object_r:user_home_t:s0 to unconfined_u:object_r:admin_home_t:s0

Expected results:
no such message is logged.

Additional info:
running merely "fixfiles check test.file" doesn't trigger the problem

Comment 1 Miroslav Grepl 2012-01-30 12:30:18 UTC
Yes, the "fixfiles check" is not supposed to do relabeling.

Comment 2 Daniel Walsh 2012-01-31 19:53:23 UTC
Fixed in policycoreutils-2.1.4-16.fc16

Comment 3 Peter Backes 2012-05-02 02:03:20 UTC
Dan, I can't find policycoreutils-2.1.4-16.fc16 on koji. The most recent f16 build is policycoreutils-2.1.4-15.fc16

Comment 4 Fedora Update System 2012-05-02 20:14:09 UTC
policycoreutils-2.1.4-16.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/policycoreutils-2.1.4-16.fc16

Comment 5 Fedora Update System 2012-05-03 07:25:04 UTC
Package policycoreutils-2.1.4-16.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 policycoreutils-2.1.4-16.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-7134/policycoreutils-2.1.4-16.fc16
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2012-05-08 15:19:56 UTC
policycoreutils-2.1.4-17.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/policycoreutils-2.1.4-17.fc16

Comment 7 Peter Backes 2012-05-10 16:49:31 UTC
Works perfectly now. Thanks!

Comment 8 Fedora Update System 2013-01-23 16:29:03 UTC
policycoreutils-2.1.4-17.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.