Skip to content

fedora-bootc is not implementing alternatives -> Some /usr/bin/.. are missing

Description of problem:

Some packages rely on alternatives (https://www.redhat.com/sysadmin/alternatives-command).

As an example, when installing man-db, a script will run alternatives to implement the following symlinks:

/usr/bin/man -> /etc/alternatives/man
/etc/alternatives/man -> /usr/bin/mam.man-db

So, when a user types man command, it will invoke man.man-db. Those symlinks are not created in fedora-bootc.

How reproducible:

  1. Build a container
    FROM quay.io/fedora/fedora-bootc
    RUN dnf -y install man-db

2.podman pull mycontainer-image

3.podman run --rm -it mycontainer-image bash

> `ls -l /usr/bin` (there is no /usr/bin/man)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information