Red Hat Bugzilla – Bug 519479
dhclient/dhcp policycoreutils dep
Last modified: 2009-11-10 12:47:00 EST
dhcp.spec rev 1.260 fixed bug 506600 in part by
adding some /sbin/restorecon calls in post script.
There are also some recent changes in dhclient-script
in F11 to use restorecon.
These are great, but bloat the dependency chain to
include policycoreutils and all its dependencies.
A nice way to use restorecon is to protect it with
[ -x /sbin/restorecon ] && /sbin/restorecon ...
as discussed in bug 223899, for one example.
Please remove the policycoreutils deps so I don't
have to work around this dependency on every dhlcient
update. (F-11 and rawhide both.)
The [ -x /sbin/restorecon ] check is already there, I just had a Requires(post) on policycoreutils. I've removed that and am building an update now.
dhcp-4.1.0p1-3.fc11 has been submitted as an update for Fedora 11.
That looks great! Thanks for the quick response. Could you take
the Requires(post) off the dhclient subpackage too? And the script
will need a [ -x ... ] clause. I should have pointed out that one
Whoops, forgot the scriptlets and the dhclient package. Building dhcp-4.1.0p1-4 now.
Both dhclient and dhcp install now without policycoreutils.
The 4.1.0p1-4.f11 versions. Thanks.
dhcp-4.1.0p1-4.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update dhcp'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-9075
dhcp-4.1.0p1-4.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.