DevHeads.net

Removal of obsolete /bin/* Provides from coreutils

Hash: SHA256

Hello,

After removal[0] of other ancient Provides from coreutils, it is time[1] to
remove next legacy part, /bin/* Provides.

There are some number of packages still relying on them, I've fixed most of
them already, although there are some packages which need some special care
(including reporting to upstream). I'm going to open bugs in a few.

List of all affected (including already fixed) packages:

- - ambari-server (ambari)
- - cowsay-beefymiracle (cowsay-beefymiracle)
- - docbook-dtds (docbook-dtds)
- - flow-tools/flow-tools-rrdtool (flow-tools)
- - fmtools-tkradio (fmtools)
- - gofed/gofed-docker/gofed-scan (gofed)
- - iwidgets (iwidgets)
- - mx4j (mx4j)
- - nagios-plugins-log (nagios-plugins)
- - sgml-common (sgml-common)
- - pam_mount (pam_mount)
- - ntop (ntop)
- - redhat-lsb-core (redhat-lsb)
- - rubygem-apipie-rails (rubygem-apipie-rails)
- - sound-theme-freedesktop (sound-theme-freedesktop)
- - spamass-milter (spamass-milter)
- - subdownloader (subdownloader)
- - systemtap-testsuite/systemtap-server (systemtap)
- - torque (torque)
- - vdsm-hook-fcoe (vdsm)

[0] <a href="https://lists.fedoraproject.org/archives/list/ ... at lists dot fedoraproject.org" title="https://lists.fedoraproject.org/archives/list/ ... at lists dot fedoraproject.org">https://lists.fedoraproject.org/archives/list/ ... at lists dot fedoraproject.org</a>
/thread/RJYQNLIWBAVQPGLIGUT77WGY5D4TK334/#D6Z565NHWVYJWLL63A6IYOJ3YGUF63R5
[1] <a href="https://src.fedoraproject.org/rpms/coreutils/pull-request/2" title="https://src.fedoraproject.org/rpms/coreutils/pull-request/2">https://src.fedoraproject.org/rpms/coreutils/pull-request/2</a>

Comments

Re: Removal of obsolete /bin/* Provides from coreutil

By Karel Zak at 11/15/2017 - 08:38

On Tue, Nov 14, 2017 at 12:49:34PM +0100, Igor Gnatenko wrote:
Do you plan do the same cleanup for another packages? :)

For example util-linux:

grep 'Provides: /' util-linux.spec
Provides: /bin/dmesg
Provides: /bin/kill
Provides: /bin/more
Provides: /bin/mount
Provides: /bin/umount
Provides: /sbin/blkid
Provides: /sbin/blockdev
Provides: /sbin/findfs
Provides: /sbin/fsck
Provides: /sbin/nologin

Karel

Re: Removal of obsolete /bin/* Provides from coreutil

By Stephen Gallagher at 11/15/2017 - 12:09

coreutils-single is often used in container images and other ultra-minimal
deployments because it has a slightly smaller disk footprint (IIRC),
whereas coreutils is slightly faster.

The problem we keep hitting is that some packages had Requires: on
Provides: only offered by the coreutils package (and not by -single), which
meant that trying to install that software on those minimal images would
hit DNF conflicts and would need --allowerasing to succeed.

This effort is about unifying (and modernizing) their Provides:

Re: Removal of obsolete /bin/* Provides from coreutil

By =?ISO-8859-1?Q?... at 11/14/2017 - 08:37

Dne 14.11.2017 v 12:49 Igor Gnatenko napsal(a):
This should be fixed now. I dropped the file responsible for the
require, since it appears to be dead code anyway ...

Vít