Get the latest tech news

Fedora 41 will unify bin and sbin


< Changes Unify /usr/bin and /usr/sbin Summary 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.

In this approach, the user-facing program (/bin/foo) is a symlink to/bin/consolehelper, which is a suid binary that elevates privileges and calls the "real" foo(/sbin/foo or/usr/libexec/foo). In some ways that split was similar: it had historical justification that went away more than a decade prior, it was impossible to cleanly categorize programs into the the categories so effectively both parts were needed for boot, and even though it was making the system more complicated for little gain, the split was being carried forward because it was easier to do so than to remove it ( http://www.freedesktop.org/wiki/Software/systemd/TheCaseForTheUsrMerge). Packages using usermode with binaries in both directories: anaconda-live beesu chkrootkit hddtemp mate-system-log setuptool subscription-manager system-switch-java xawtv

Get the Android app

Or read this on Hacker News

Read more on:

Photo of sbin

sbin

Photo of bin

bin

Photo of Fedora 41

Fedora 41

Related news:

News photo

A Proposed Change for Fedora 40: Unify<nobr> <wbr></nobr>/usr/bin With<nobr> <wbr></nobr>/usr/sbin