udisks2-inhibit does not work under systemd

Bug #1410851 reported by Martin Pitt on 2015-01-14
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
udisks2 (Ubuntu)
High
Martin Pitt

Bug Description

$ sudo /usr/lib/udisks2/udisks2-inhibit sleep 5
mount: bad option. Note that moving a mount residing under a shared
       mount is unsupported.

       In some cases useful info is found in syslog - try
       dmesg | tail or so.

[pid 16101] mount("/run/udisks2/inhibit-polkit", "/var/lib/polkit-1/localauthority/90-mandatory.d", 0x1378f40, MS_MGC_VAL|MS_MOVE, NULL) = -1 EINVAL (Invalid argument)
mount: bad option. Note that moving a mount residing under a shared
       mount is unsupported.

Martin Pitt (pitti) wrote :

This blocks moving ubiquity to systemd.

Changed in udisks2 (Ubuntu):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Martin Pitt (pitti)
milestone: none → ubuntu-15.01
Martin Pitt (pitti) on 2015-01-14
Changed in udisks2 (Ubuntu):
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package udisks2 - 2.1.4-1git3

---------------
udisks2 (2.1.4-1git3) vivid; urgency=medium

  * udisks2-inhibit: Don't use mount --move, as it doesn't work under shared
    mounts (i. e. under systemd). (LP: #1410851)
 -- Martin Pitt <email address hidden> Wed, 14 Jan 2015 17:18:42 +0100

Changed in udisks2 (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers