[systemd-devel] [PATCH] systemd-udevd.service: restore mount propagation

Lennart Poettering lennart at poettering.net
Wed Jan 28 04:33:16 PST 2015

On Wed, 28.01.15 12:06, Martin Pitt (martin.pitt at ubuntu.com) wrote:

> I. e. the .mount does not seem to be bound on the .device, and isn't
> taken down automatically (stopping the mount manually works fine). In
> "show" I don't see a BindsTo, and the Requires also doesn't mention
> the /dev/sr1 device:

Hmm, yeah, we apparently only add that for file systems listed in

If you change the "get_mount_parameters_fragment()" invocation at the
beginning of mount_add_device_links() in src/core/mount.c to
"get_mount_parameters()", does this make things work for you?

This change might have more effects than just making this work, but I
think it's the right thing to do. Could you test please?


Lennart Poettering, Red Hat

More information about the systemd-devel mailing list