Bug#967546: udev: missing /dev/stdin etc.

Michael Biebl biebl at debian.org
Tue Sep 22 20:37:50 BST 2020


Hi Ben,

thanks for notifying us.

Am 22.09.20 um 05:40 schrieb Ben Hutchings:
> Control: reopen 967546
> Control: block 970678 with 967546
> 
> This udev change also affected the installer, which has neither systemd
> nor sysvinit; see bug #970678.  It might also affect some other
> initramfs environments (but initramfs-tools itself doesn't use these
> symlinks, and dracut creates them).
> 
> systemd still includes the dev_setup() function which creates these
> symlinks, so I don't see why it can't be called by udevd.

Judging from the upstream commit [1], it's unlikely that I can convince
Lennart to revert this change and I really don't want to carry a
downstream revert patch for all eternity.

The alternative I see is, that we update the places which mount devtmpfs
and extend those to also setup the necessary symlinks as in dev_setup()[2].

For the udev package that would be debian/extra/start-udev
(debian-installer) and debian/udev.init (although I have been informed,
that the sysvinit package already has applied a workaround).

For initramfs-tools, this would be [3].

Are you ok, if we handle it this way?
I can provide a MR for initramfs-tools if wanted.

Regards,
Michael



[1] https://github.com/systemd/systemd/commit/6b2229c6c60d0486
[2]
https://salsa.debian.org/systemd-team/systemd/-/blob/debian/master/src/shared/dev-setup.c#L18
[3]
https://salsa.debian.org/kernel-team/initramfs-tools/-/blob/master/init#L37

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20200922/17f4b52c/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list