Skip to content

core: freeze execution if /etc/mtab exists - #1214

Merged
poettering merged 1 commit into
systemd:masterfrom
zonque:mtab
Sep 9, 2015
Merged

poettering merged 1 commit into
systemd:masterfrom
zonque:mtab

Conversation

@zonque

@zonque zonque commented Sep 9, 2015

Copy link
Copy Markdown
Contributor

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

zonque commented Sep 9, 2015

Copy link
Copy Markdown
Contributor Author

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