Bug 193152 - Introduces too much dependencies
Summary: Introduces too much dependencies
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: policycoreutils
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-05-25 18:02 UTC by Enrico Scholz
Modified: 2007-11-30 22:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-06-22 01:15:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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