:: Re: [DNG] Tips about eudev
Kezdőlap
Delete this message
Reply to this message
Szerző: aitor_czr
Dátum:  
Címzett: dng
Tárgy: Re: [DNG] Tips about eudev
Hi,

On 16/2/19 10:12, aitor_czr wrote:
>
> Hi all,
>
> The function:
>
> kill_udevd() {
>     start-stop-daemon --stop --name udevd --user root --pidfile
> /run/udev.pid
>     --remove-pidfile --oknodo --quiet --retry 5
> }
>
> located in debian/eudev.prerm throws the following error:
>
> "... No udevd found running; none killed."
>
> It should be replaced by:
>
> kill_udevd() {
>     start-stop-daemon --stop --name udevd --user root --pidfile
> /run/udev.pid \
>     --remove-pidfile --oknodo --quiet --retry 5
> }
>
> Note the missing symbol '\' in the first expresion.
>
> Cheers,
>
> Aitor.
>
> (To be continued)
>

On the other hand, the udev hook and the init-top/udev and the
init-bottom/udev scripts located in /usr/share/initramfs-tools

belong to eudev, not to initramfs-tools. So, the initramfs-tools package
can exit in the system without eudev in the same way than it

already exists without any other device manager (for example, vdev);
therefore eudev should depend on initramfs-tools,

and not in the other way around, what is currently hapenning. This fact
forces to update the initrd files in eudev.postinst, that is:

update-initramfs -u -t -k all

Am i wrong at this point?

Aitor.