Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 229283

Summary: xen installation mislabels /etc/services
Product: [Fedora] Fedora Reporter: Davide Bolcioni <davide_bolcioni>
Component: kernel-xenAssignee: Xen Maintainance List <xen-maint>
Status: CLOSED NOTABUG QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 6CC: bstein, dwalsh, xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-02-21 15:33:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Davide Bolcioni 2007-02-19 22:21:28 UTC
+++ This bug was initially created as a clone of Bug #188689 +++

I encountered the same problem seen in the original report, mislabeling of
/etc/services causing syslog to fail:

root@avalon ~]# ls -Z /etc/services
-rw-r--r--  root root user_u:object_r:rpm_script_tmp_t /etc/services
[root@avalon ~]# restorecon -v /etc/services
restorecon reset /etc/services context 

but I believe that the culprit is one of the following:

kernel-xen xen virt-manager libvirt python-virtinstall libvirt-python xen-libs 
gnome-python2-gnomekeyring bridge-utils

I wanted to experiment with xen, attempted

  yum install kernel-xen xen virt-manager

and the reboot into a xen kernel resulted in said problem, which persisted 
even after rebooting into the standard FC6 kernel.

Versions of involved components:

I tried "rpm -q --scripts" on each of the above, and only kernel-xen, 
virt-manager and xen have something of note. I tried yum remove followed by 
the yum install above, but the labeling of /etc/services was not affected.

Comment 1 Davide Bolcioni 2007-02-19 23:07:47 UTC
Sorry for wasting everybody's time, but I jumped the gun in the report above; 
the actual offender is


which tampers with /etc/services upon installation and uninstallation, editing 
it using a 'mv' off a temporary file (this would explain the labeling). I just 
verified this.

Comment 2 Daniel Walsh 2007-02-21 15:33:19 UTC
Could you report a bug to them.  They can just do a restorecon in their post if
restorecon /etc/services 

which will fix.