Bug 685090 - mislabeled files in fresh RHEL6.1-20110311.3 installation
Summary: mislabeled files in fresh RHEL6.1-20110311.3 installation
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda
Version: 6.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Chris Lumens
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 682670
TreeView+ depends on / blocked
 
Reported: 2011-03-15 09:33 UTC by Karel Srot
Modified: 2011-05-19 12:39 UTC (History)
2 users (show)

Fixed In Version: anaconda-13.21.106-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-19 12:39:04 UTC
Target Upstream Version:


Attachments (Terms of Use)
anaconda.log (19.17 KB, text/plain)
2011-03-15 14:18 UTC, Karel Srot
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0530 0 normal SHIPPED_LIVE anaconda bug fix and enhancement update 2011-05-18 17:44:52 UTC

Description Karel Srot 2011-03-15 09:33:01 UTC
Description of problem:

Following was executed right after the postinstall reboot:

[root@rhel6-64 ~]# ls -Z /etc/udev/rules.d/70-persistent-net.rules
-rw-r--r--. root root system_u:object_r:root_t:s0      /etc/udev/rules.d/70-persistent-net.rules
[root@rhel6-64 ~]# matchpathcon /etc/udev/rules.d/70-persistent-net.rules
/etc/udev/rules.d/70-persistent-net.rules	system_u:object_r:udev_var_run_t:s0
[root@rhel6-64 ~]# ls -Z /etc/dhcp/dhclient-eth0.conf
-rw-r--r--. root root system_u:object_r:root_t:s0      /etc/dhcp/dhclient-eth0.conf
[root@rhel6-64 ~]# matchpathcon /etc/dhcp/dhclient-eth0.conf
/etc/dhcp/dhclient-eth0.conf	system_u:object_r:dhcp_etc_t:s0
[root@rhel6-64 ~]# ls -Z /etc/fstab
-rw-r--r--. root root system_u:object_r:root_t:s0      /etc/fstab
[root@rhel6-64 ~]# matchpathcon /etc/fstab
/etc/fstab	system_u:object_r:etc_t:s0
[root@rhel6-64 ~]# ls -Z /etc/mdadm.conf
-rw-r--r--. root root system_u:object_r:root_t:s0      /etc/mdadm.conf
[root@rhel6-64 ~]# matchpathcon /etc/mdadm.conf
/etc/mdadm.conf	system_u:object_r:etc_t:s0
[root@rhel6-64 ~]# ls -Z /etc/crypttab
-rw-r--r--. root root system_u:object_r:root_t:s0      /etc/crypttab
[root@rhel6-64 ~]# matchpathcon /etc/crypttab
/etc/crypttab	system_u:object_r:etc_t:s0
[root@rhel6-64 ~]# ls -Z /var/log/yum.log
-rw-------. root root unconfined_u:object_r:rpm_log_t:s0 /var/log/yum.log
[root@rhel6-64 ~]# matchpathcon /var/log/yum.log
/var/log/yum.log	system_u:object_r:rpm_log_t:s0


Version-Release number of selected component (if applicable):
RHEL6.1-20110311.3

How reproducible:
always

Steps to Reproduce:
1. fresh install


This was not full install, it is possible that there is even more mislabeled files in the system.

Comment 1 Chris Lumens 2011-03-15 12:53:02 UTC
All of those files are in the list of things anaconda relabels.  Please attach /var/log/anaconda.log from the installed system to this bug report.  In general when reporting installer bugs, always attach log files.

Comment 2 Karel Srot 2011-03-15 14:18:53 UTC
Created attachment 484799 [details]
anaconda.log

attached

Comment 4 Alexander Todorov 2011-03-30 09:31:00 UTC
With RHEL6.1-20110328.n.0/anaconda-13.21.107-1.el6 after fresh default install of the Server variant I get: 

# ls -Z /etc/udev/rules.d/70-persistent-net.rules
-rw-r--r--. root root system_u:object_r:udev_var_run_t:s0 /etc/udev/rules.d/70-persistent-net.rules

# matchpathcon /etc/udev/rules.d/70-persistent-net.rules
/etc/udev/rules.d/70-persistent-net.rules    system_u:object_r:udev_var_run_t:s0

# ls -Z /etc/dhcp/dhclient-eth0.conf
-rw-r--r--. root root system_u:object_r:dhcp_etc_t:s0  /etc/dhcp/dhclient-eth0.conf

#  matchpathcon /etc/dhcp/dhclient-eth0.conf
/etc/dhcp/dhclient-eth0.conf	system_u:object_r:dhcp_etc_t:s0

# ls -Z /etc/fstab
-rw-r--r--. root root system_u:object_r:etc_t:s0       /etc/fstab

#  matchpathcon /etc/fstab
/etc/fstab	system_u:object_r:etc_t:s0

# ls -Z /etc/mdadm.conf
-rw-r--r--. root root system_u:object_r:etc_t:s0       /etc/mdadm.conf

# matchpathcon /etc/mdadm.conf
/etc/mdadm.conf	system_u:object_r:etc_t:s0

# ls -Z /etc/crypttab
-rw-r--r--. root root system_u:object_r:etc_t:s0       /etc/crypttab

# matchpathcon /etc/crypttab
/etc/crypttab	system_u:object_r:etc_t:s0

# ls -Z /var/log/yum.log
-rw-------. root root unconfined_u:object_r:rpm_log_t:s0 /var/log/yum.log

#  matchpathcon /var/log/yum.log
/var/log/yum.log	system_u:object_r:rpm_log_t:s0

Comment 5 errata-xmlrpc 2011-05-19 12:39:04 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0530.html


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