Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831251 - sys-apps/busybox mdev wrong executable paths in default /etc/mdev.conf
Summary: sys-apps/busybox mdev wrong executable paths in default /etc/mdev.conf
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2022-01-15 12:46 UTC by ev
Modified: 2022-01-15 22:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ev 2022-01-15 12:46:10 UTC
Default mdev.conf contains paths to scripts in /lib/mdev/ which doesn't exist on 64bit systems. On amd64 these scripts are located in /lib64/mdev

Reproducible: Always

Steps to Reproduce:
1. install gentoo with busybox mdev
2. run `rc-service mdev start` or `rc-service mdev restart`
3.
Actual Results:  
# /etc/init.d/mdev restart
 * WARNING: you are stopping a sysinit service
 * Setting up mdev as hotplug agent ...                                   [ ok ]
 * Populating /dev with existing devices with mdev -s ...
sh: line 1: /lib/mdev/usbdisk_link: No such file or directory
sh: line 1: /lib/mdev/usbdisk_link: No such file or directory
sh: line 1: /lib/mdev/usbdisk_link: No such file or directory             [ ok ]

Expected Results:  
# /etc/init.d/mdev restart
 * WARNING: you are stopping a sysinit service
 * Setting up mdev as hotplug agent ...                                   [ ok ]
 * Populating /dev with existing devices with mdev -s ...                 [ ok ]

It could be fixed by adding "sed -i s/lib/lib64/' "${ED}"/etc/mdev.conf" to src_install in ebuild, but it requires some architecture check.b