Re: Merging /usr/sbin to /usr/bin

2024-04-12 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Apr 11, 2024 at 02:03:01PM -0700, Brian C. Lane wrote: > On Thu, Apr 11, 2024 at 01:39:32PM +, Zbigniew Jędrzejewski-Szmek wrote: > >https://src.fedoraproject.org/rpms/filesystem/pull-request/11 > > The commit "Symlink /usr/sbin to /usr/bin if possible" would wipe out > any

Re: Merging /usr/sbin to /usr/bin

2024-04-11 Thread Brian C. Lane
On Thu, Apr 11, 2024 at 01:39:32PM +, Zbigniew Jędrzejewski-Szmek wrote: >https://src.fedoraproject.org/rpms/filesystem/pull-request/11 The commit "Symlink /usr/sbin to /usr/bin if possible" would wipe out any symlinks in /usr/sbin that point someplace other than /usr/bin when everything

Re: Merging /usr/sbin to /usr/bin

2024-04-11 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Apr 11, 2024 at 04:29:19PM +0200, David Sastre wrote: > Not sure if SELinux policy needs to learn about the merge as well. > Currently, `sudo semanage fcontext -l | rg bin.*=` shows: > > ``` > /sbin = /usr/sbin > /bin = /usr/bin > ``` > > And there are executables in both /usr/bin and

Re: Merging /usr/sbin to /usr/bin

2024-04-11 Thread David Sastre
Not sure if SELinux policy needs to learn about the merge as well. Currently, `sudo semanage fcontext -l | rg bin.*=` shows: ``` /sbin = /usr/sbin /bin = /usr/bin ``` And there are executables in both /usr/bin and /usr/sbin with specific labels, e.g. `sudo semanage fcontext -l | rg bin/.*virt`

Merging /usr/sbin to /usr/bin

2024-04-11 Thread Zbigniew Jędrzejewski-Szmek
Hi! I'm trying to get https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin implemented. It was approved for F40, but only a few days before the mass rebuild, so there wasn't time to do much, so it was retargeted to F41. We now have some time before the F41 mass rebuild, so I want to push all