diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-02-08 23:17:44 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-02-08 23:17:44 +0100 |
commit | 94e60a1affaaa4d74fa66618ca56ef360228a22b (patch) | |
tree | 5b9cf34eaaef3b211d6b9cf8c9f4ef670df2ff32 /daemons/runsystem.hurd.sh.in | |
parent | 9bc2a9158b30cc217e93c85e72a62d164c3a9b73 (diff) | |
download | hurd-94e60a1affaaa4d74fa66618ca56ef360228a22b.tar.gz hurd-94e60a1affaaa4d74fa66618ca56ef360228a22b.tar.bz2 hurd-94e60a1affaaa4d74fa66618ca56ef360228a22b.zip |
runsystem: Check that /servers/socket/1 is really set up
In case the image was built through a tarball, /servers/socket/1 might
exist but not actually have been configured as pflocal translator. So
better check that we do have a translator there, and fix it otherwise.
Diffstat (limited to 'daemons/runsystem.hurd.sh.in')
-rw-r--r-- | daemons/runsystem.hurd.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/runsystem.hurd.sh.in b/daemons/runsystem.hurd.sh.in index f4ed0a5a..3d5f1f28 100644 --- a/daemons/runsystem.hurd.sh.in +++ b/daemons/runsystem.hurd.sh.in @@ -63,7 +63,7 @@ echo # # Normally this should be the case, but we better make sure since # without the pflocal server, pipe(2) does not work. -if ! test -e /servers/socket/1 && command -v settrans >/dev/null ; then +if ! test -c /servers/socket/1 && command -v settrans >/dev/null ; then # The root filesystem should be read-only at this point. if fsysopts / --update --writable ; then settrans -c /servers/socket/1 /hurd/pflocal |