CHROMIUM: init: Create /dev/{stdin,stdout,stderr,fd,core} symlinks
In systemd commit 6b2229c6c6 ("udev: set fewer process properties") in
v246, systemd stopped creating symlinks in /dev for stdin, stdout,
stderr, fd, and core.
This was reported as Debian Bug 975017 in which they ultimately decide
to update sysvinit to create the symlinks itself. OpenRC has also
created these links since 2014 (see
https://github.com/OpenRC/openrc/blob/master/init.d/devfs.in#L85)
In preparation for uprev'ing udev to v246 or newer, create these
symlinks soon after mounting devtmpfs.
BUG=b:153782996
TEST=CQ passes
Change-Id: I5eef621e3a280954cb04f63a8df40d241073e4c0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/upstart/+/4762364
Reviewed-by: Brian Norris <[email protected]>
Auto-Submit: Matt Turner <[email protected]>
Tested-by: Matt Turner <[email protected]>
Commit-Queue: Matt Turner <[email protected]>
3 files changed