Re: Update: rpm package for utmps, skalibs.

From: Laurent Bercot <ska-skaware_at_skarnet.org>
Date: Wed, 03 Apr 2024 13:43:14 +0000

>There have been some discussions, starting at Fedora, about unifying
>the bin and sbin directories:
>https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin

  Ha. 25 years later, they understand that the separation makes no sense,
and *just* when we were going to use that silly separation to work
around
an even sillier idiosyncrasy.

  Talk about timing.


>Also, even apart from unifying the directories, there are various
>people who have expressed concern about having different programs with
>the same name in /usr/bin and /usr/sbin, thus making it something of
>a potluck which one will be invoked depending on the user's search path.
>I have to admit that I am kind of in agreement with that: different
>binaries with the same name in directories that are both meant to be in
>the search path seems... a bit fishy to me, and, yeah, with
>the potential for problems if the directories are reordered
>(I have seen arguments for both sides: "things in /sbin are more
>important, so it should come before /bin; things in /bin are used
>much more often, so it should come before /sbin").

  I agree with all this. In principle, /usr/bin and /usr/sbin should not
be
distinct, for all these reasons.
  The thing is, we're not in the realm of "good design", here. We're in
the
realm of "work around the braindeadness and use the cracks to uglyhack
something that works".

  If rpm doesn't have an alternatives system to get the useless binaries
out
of the way, and if /usr/sbin is unusable, then there's nothing left but
"add another directory to the global PATH", which is super invasive.

--
  Laurent
Received on Wed Apr 03 2024 - 15:43:14 CEST

This archive was generated by hypermail 2.4.0 : Wed Apr 03 2024 - 15:43:41 CEST