Skip to content

make it harder to overmount / #17417

Open
@aep

Description

@aep

there's an ongoing issue in systemd systemd/systemd#29559 that indicates lots of people accidentally mount two datasets on /. This is difficult to detect on linux because the kernel doesnt really care, but lots of userspace doesnt work anymore.

The optimal solution would be to refuse mounting a second / , but thats likely not a very popular idea.
The second best thing would be to at least throw a big fat warning into dmesg so a sysadmin can at least detect the underlying problem more easily.

The second thing is trivial to implement. I can send a patch if there's consensus.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: FeatureFeature request or new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions