Bug#908796: udev (with sysvinit) fails to find devices at boot
Trek
trek00 at inbox.ru
Thu Jan 24 19:20:28 GMT 2019
On Tue, 22 Jan 2019 18:21:43 -0800
Bill Brelsford <wb at k2di.net> wrote:
> I'm still using version 1.19.2+test2 of dpkg, but without udev's
> --wait-daemon argument. The next dpkg (1.19.3) will handle
> --wait-daemon; I assume including it in udev will fix the problem..?
these are two independent ways to fix the same issue:
1. modified dpkg to use start-stop-daemon with --notify-await parameter
2. modified udev to use udevadm trigger with --wait-daemon parameter
actually I don't know if the dpkg will be released with these
modifications in time for buster release
thanks to the work done by Michael Biebl, udev developers added the
--wait-daemon parameter
> Unfortunately, I'm not set up to re-compile so can't test your
> patches.
I can provide you a binary package with these patches applied, but it's
not a good security practice to install a package, that runs as root, if
it does not come from the package maintainers
if you want try to patch and compile yourself, you should type as root:
apt install build-essential fakeroot
echo 'deb-src http://httpredir.debian.org/debian buster main' \
>>/etc/apt/sources.list
apt-get update
LANG=C apt-get -s build-dep systemd | \
sed '/^ /!bA;H;$bA;d;:A;x;/The following NEW/!d;s/^The .*:\n//' \
>>/root/build-packages.txt
apt-get build-dep systemd
then as a normal user, download the attached patch into your home
directory and type:
mkdir ~/debian
cd ~/debian
apt-get source systemd
cd systemd-240
patch -p1 <~/udev-wait-daemon-full.patch
dpkg-buildpackage -b -uc -us
finally you can install the binary package and remove the development
packages, as root:
dpkg -i /home/user/debian/udev_240-4_i386.deb
apt-get purge $(cat /root/build-packages.txt)
apt-get purge build-essential fakeroot
for more info see https://wiki.debian.org/BuildingTutorial
thanks for your time!
ciao
-------------- next part --------------
A non-text attachment was scrubbed...
Name: udev-wait-daemon-full.patch
Type: text/x-patch
Size: 12309 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20190124/cdc6f298/attachment-0001.bin>
More information about the Pkg-systemd-maintainers
mailing list