Bug#968199: Set up /dev/stdin and others

gregor herrmann gregoa at debian.org
Fri Aug 14 00:21:54 BST 2020


On Mon, 10 Aug 2020 15:51:05 +0200, Matti Palmström wrote:

> Since udev don't set up /dev/stdin and others any longer
> https://github.com/systemd/systemd/commit/6b2229c6c60d0486 could this be
> moved to sysvinit-core (or similar package widely used) for those of us who
> don't use systemd?

Thanks for filing this bug; I was also bitten by #967546 after a
reboot and by all kind of fun with a missing /dev/fd.

FWIW, a temporary workaround seems to be something like

ln -sf /proc/self/fd /dev/fd
ln -sf fd/0 /dev/stdin
ln -sf fd/1 /dev/stdout
ln -sf fd/2 /dev/stderr

And I guess this should technically go into the initscripts package
and not sysvinit-core. - /etc/init.d/mountkernfs.sh and
/etc/init.d/mountdevsubfs.sh do similar things currently …

Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   NP: Dire Straits
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://www.chiark.greenend.org.uk/pipermail/debian-init-diversity/attachments/20200814/a16ee8c8/attachment.sig>


More information about the Debian-init-diversity mailing list