On Tue, Jan 12, 2021 at 2:22 PM Dmitry V. Levin <ldv@xxxxxxxxxxxx> wrote: > > On Tue, Jan 12, 2021 at 12:56:05PM -0800, Lucas De Marchi wrote: > > On Tue, Jan 12, 2021 at 8:06 AM Michal Suchanek <msuchanek@xxxxxxx> wrote: > > > > > > There is an ongoing effort to limit use of files outside of /usr (or > > > $prefix on general). Currently all modprobe.d paths are hardcoded to > > > outside of $prefix. Teach kmod to load modprobe.d from $prefix/lib. > > > > /lib came from module-init-tools and we kept it for compatibility. It > > became a non-issue when distros > > decided to just merge them and do a symlink /lib -> /usr/lib following > > https://www.freedesktop.org/wiki/Software/systemd/TheCaseForTheUsrMerge/ > > > > what distros didn't do that? > > FWiW, we decided not to do TheUsrMerge at all. It looks like we will need to put this behind a compilation option then: --enable-split-usr. Then we only add the additional dir if split-usr is being used. If it's not used, we may actually change the path and corresponding docs to move it to /usr, but that is another separate change. thanks Lucas De Marchi > > > -- > ldv