coreos / fedora-coreos-tracker

Issue tracker for Fedora CoreOS
https://fedoraproject.org/coreos/
263 stars 60 forks source link

Investigate what's needed for "Unify `/usr/bin` and `/usr/sbin`" Fedora change #1759

Open travier opened 2 months ago

travier commented 2 months ago

Describe the enhancement

✔️ Unify /usr/bin and /usr/sbin

  • The /usr/sbin directory becomes a symlink to bin, which means paths like /usr/bin/foo and /usr/sbin/foo point to the same place. /bin and /sbin are already symlinks to usr/bin and usr/sbin, so effectively /bin/foo and /sbin/foo also point to the same place. /usr/sbin will be removed from the default $PATH. The same change is also done to make /usr/local/sbin point to bin, effectively making /usr/local/bin/foo and /usr/local/sbin/foo point to the same place. The definition of %_sbindir will be changed to %_bindir, so packages will start using the new directory after a rebuild without any further action. Maintainers may stop using %_sbindir, but don't need to.
  • Tracking bug: #2267022
  • NOTES: TR: Should not impact FCOS

This is apparently impacting Silverblue so might impact FCOS:

Edit: Created: https://gitlab.com/fedora/bootc/tracker/-/issues/29

See: https://github.com/coreos/fedora-coreos-tracker/issues/1714#issuecomment-2223100778

System details

N/A

Additional information

No response

travier commented 2 months ago

See: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/EOKNNAMSTPNFVKU3WQ3R42HFXKE6QLJS/