diff --git a/src/mount-support.c b/src/mount-support.c
index 6f4dd14..c5273e2 100644
--- a/src/mount-support.c
+++ b/src/mount-support.c
@@ -337,6 +337,9 @@ void sc_setup_mount_profiles(const char *security_tag)
if (hasmntopt(m, "rw") != NULL) {
flags &= ~MS_RDONLY;
}
+ if (hasmntopt(m, "shared") != NULL) {
+ flags |= MS_SHARED;
+ }
if (mount(m->mnt_fsname, m->mnt_dir, NULL, flags, NULL) != 0) {
die("cannot mount %s at %s with options %s",
m->mnt_fsname, m->mnt_dir, m->mnt_opts);
const udisks2PermanentSlotMount = `
/run /run none bind,rw,shared 0 0
`