diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-07-14 17:33:13 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-07-15 15:48:05 +0200 |
commit | ff52ff2565a3034a0ad063454a58d0c5649adc00 (patch) | |
tree | d1c7b0515be9a025003cb1656acf7daa477f45a2 /man | |
parent | fsck,sulogin: fix cargo-culted comment (diff) | |
download | systemd-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