]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: freeze execution if /etc/mtab exists 1214/head
authorDaniel Mack <daniel@zonque.org>
Wed, 9 Sep 2015 12:00:23 +0000 (14:00 +0200)
committerDaniel Mack <daniel@zonque.org>
Wed, 9 Sep 2015 12:00:23 +0000 (14:00 +0200)
commitbcce71873bbc908fbd11f2053edffe9151940eaa
treeae7d4c670f921ff7558c002ae3b17ce3574071ef
parent9c00a6adfa6c2ded071222b2ec76295480add34e
core: freeze execution if /etc/mtab exists

The mount monitor that was added to libmount v2.27 requires /etc/mtab to be
non-existant. As systemd now uses that functionality, we cannot monitor any
mounts anymore, and hence not support .mount units.

Systems that have /etc/mtab around as regular file are unsupported by
systemd since a long time.

This patch makes that condition fatal, so we do not boot up with
non-working mount monitor support.
src/core/main.c