summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-07-14 17:33:13 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-07-15 15:48:05 +0200
commitff52ff2565a3034a0ad063454a58d0c5649adc00 (patch)
treed1c7b0515be9a025003cb1656acf7daa477f45a2 /man
parentfsck,sulogin: fix cargo-culted comment (diff)
downloadsystemd-ff52ff2565a3034a0ad063454a58d0c5649adc00.tar.xz
systemd-ff52ff2565a3034a0ad063454a58d0c5649adc00.zip
fstab-generator: do not skip /sysroot prefix if the mount point is missing
When chase_symlinks() is called on something on a doesn't exist, it immediately returns an error. But we were relying on it to prepend "/sysroot/". If it fails, we need to do that ourselves. For example, with /sysroot/etc/fstab containing a line for /foo, if /sysroot/foo doesn't exist, we'd generate a mount point for /foo.
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions