Bug 193152

Summary: Introduces too much dependencies
Product: [Fedora] Fedora Reporter: Enrico Scholz <rh-bugzilla>
Component: policycoreutilsAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: dwalsh, pgraner
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-06-22 01:15:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Enrico Scholz 2006-05-25 18:02:12 UTC
Description of problem:

'policycoreutils' becames a basic system component but adds too much
dependencies:

* 'util-linux' requires /sbin/restorecon (which is provided by
  'policycoreutils')

* 'policycoreutils' pulls in
   - initscripts
   - python
   which are not needed for minimal systems


Therefore, it would be good when this dependency chain could be broken;
e.g. by:

* moving '/sbin/restorecon' into a 'policycoreutils-core' subpackage,
  or
* by move the higher level stuff into own subpackage, e.g. by cutting 
  the
  - 'initscripts' dependency by moving the 'restorecond' daemon into
    an own subpackage, and
  - 'python' dependency by moving the genhomedircon program + python
    modules into an own subpackage

IMO, first variant is the cleanest solution.



Version-Release number of selected component (if applicable):

policycoreutils-1.30.8-1.fc5


How reproducible:


Steps to Reproduce:
1. mkdir /tmp/foo
2. rpm -Uvh --root /tmp/foo fedora-release-5-5.noarch.rpm --nodeps  # workaround missing configurability of yum
3. yum --installroot=/tmp/foo install util-linux


Actual results:

lot of unneeded stuff (audit-libs-python, python, device-mapper, lvm2,
initscripts, python, udev) will be installed due to 'policycoreutils'


Expected results:

only the really needed stuff will be installed

Comment 1 Daniel Walsh 2006-06-22 01:15:16 UTC
util-linux no longer requires policycoreutils in rawhide.  Not sure if this will
be backported.