On Sun, May 12, 2013 at 01:54:34PM +0200, Thomas Bächler wrote: > Am 12.05.2013 13:13, schrieb Tom Gundersen: > >> List of showstoppers: > >> > >> - Shells (with hardcoded paths in users' passwd) > >> - fsck helpers (all hardcoded to be in /sbin) > > > > All mount and fsck helpers should be ok to move to /usr/bin. At least > > from mount and fsck's point of view, did you have something else in > > mind?. > > They used to be hardcoded to /sbin/mount.$FOO and /sbin/fsck.$FOO, has > that changed? > >
It's okay to move helpers like fsck.ext4 -- fsck itself has a lookup path which we can set to whatever we want. We currently append /usr/bin:/usr/sbin to the default of /sbin:/sbin/fs.d:/sbin/fs. It's not okay to move /sbin/fsck itself. $ strings /usr/lib/systemd/systemd-fsck | grep -F /sbin/fsck /sbin/fsck

