Skip to content

Conversation

@zonque
Copy link
Member

@zonque zonque commented Sep 9, 2015

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.

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.
@zonque zonque added the pid1 label Sep 9, 2015
@zonque
Copy link
Member Author

zonque commented Sep 9, 2015

This should go in once #986 is merged.

poettering added a commit that referenced this pull request Sep 9, 2015
core: freeze execution if /etc/mtab exists
@poettering poettering merged commit 0f9415d into systemd:master Sep 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants