]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: Do not fail perpetual mount units without fragment (#6459)
authorAbdó Roig-Maranges <abdo.roig@gmail.com>
Mon, 31 Jul 2017 10:32:09 +0000 (12:32 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 31 Jul 2017 10:32:09 +0000 (12:32 +0200)
commit1df96fcb31b3bc30c4a983de4734f61ed5a29115
treec211c035c24dd1356a9706bd0a840a161ac2a5d9
parente362b5a77f8667c44fd79057c91d9aea909cac69
core: Do not fail perpetual mount units without fragment (#6459)

mount_load does not require fragment files to be present in order to
load mount units which are perpetual, or come from /proc/self/mountinfo.

mount_verify should do the same, otherwise a synthesized '-.mount' would
be marked as failed with "No such file or directory", as it is perpetual
but not marked to come from /proc/self/mountinfo at this point.

This happens for the user instance, and I suspect it was the cause of #5375
for the system instance, without gpt-generator.
src/core/mount.c