lvm2create_initrd, which is installed by sys-fs/lvm2, needs MAKEDEV to run, but this isn't pulled in. Also, MAKEDEV has moved from /usr/sbin to /sbin. Reproducible: Always
Created attachment 300769 [details] updated ebuild
Created attachment 300771 [details, diff] lvm2create_initrd patch...fixes path to MAKEDEV
makedev is only needed for the initrd tool, which came from upstream contrib. agk: with the /usr mount need, the initrd doesn't do it, maybe drop it from LVM2 entirely?
I also encountered this problem. It should definitely be resolved. The proposals by Scott seem logical to me.
The directory was already /sbin/MAKEDEV instead of /usr/sbin/ in LVM2 2.02.99 so what was left is creating USE="lvm2create_initrd" and putting sys-apps/makedev behind it and only install the script then and that's done in version 2.02.99-r1 in portage now
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb52cff5d43a8aa6c92d87d56dc2a1d499941eb8 commit cb52cff5d43a8aa6c92d87d56dc2a1d499941eb8 Author: David Seifert <soap@gentoo.org> AuthorDate: 2023-05-10 21:23:33 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2023-05-10 21:23:33 +0000 sys-fs/lvm2: remove USE=lvm2create-initrd * If people want this script, they should work on getting the patch we carry upstreamed and making the script POSIX. * Should there be a real demand, this script should be packaged separately. * We strongly recommend users switch to dracut, which is the garden path and much more supported in practice. Bug: https://bugs.gentoo.org/401933 Signed-off-by: David Seifert <soap@gentoo.org> sys-fs/lvm2/lvm2-2.03.21.ebuild | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-)