Allow specifying arbitrary mount options in writable-paths

Bug #1217866 reported by Loïc Minier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
initramfs-tools-ubuntu-touch (Ubuntu)
Fix Released
Medium
Stéphane Graber
lxc-android-config (Ubuntu)
Fix Released
Medium
Stéphane Graber

Bug Description

Hi,

for /var/lib/sudo, it would be useful to set a mode to the bind-mount as the default is too permissive (sudo complains); adding a facility to add mount options for any writable-paths seems best.

Will attach debdiffs.

Cheers,

Revision history for this message
Loïc Minier (lool) wrote :
Revision history for this message
Loïc Minier (lool) wrote :
Revision history for this message
Loïc Minier (lool) wrote :
Revision history for this message
Loïc Minier (lool) wrote :

Passing to Stéphane as this requires a subtle series of uploads

Changed in initramfs-tools-ubuntu-touch (Ubuntu):
status: New → Triaged
Changed in lxc-android-config (Ubuntu):
status: New → Triaged
Changed in initramfs-tools-ubuntu-touch (Ubuntu):
importance: Undecided → Medium
Changed in lxc-android-config (Ubuntu):
importance: Undecided → Medium
Changed in initramfs-tools-ubuntu-touch (Ubuntu):
assignee: nobody → Stéphane Graber (stgraber)
Changed in lxc-android-config (Ubuntu):
assignee: nobody → Stéphane Graber (stgraber)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package initramfs-tools-ubuntu-touch - 0.38

---------------
initramfs-tools-ubuntu-touch (0.38) saucy; urgency=low

  [ Loïc Minier ]
  * Add a 5th column to writable-paths with the mount options; writable-paths
    should use "defaults" for temporary mounts and "none" for persistent
    mounts; "bind" gets preprended for persistent mounts. (LP: #1217866)

  [ Stéphane Graber ]
  * Add transition code for .developer_mode to .writable_image
 -- Stephane Graber <email address hidden> Wed, 28 Aug 2013 09:59:53 -0400

Changed in initramfs-tools-ubuntu-touch (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lxc-android-config - 0.85

---------------
lxc-android-config (0.85) saucy; urgency=low

  [ Loïc Minier ]
  * Add a 5th column to writable-path for mount flags; use "defaults" for
    temporary mounts and "none" for persistent mounts (bind option will be
    prepended). (LP: #1217866)

  [ Stéphane Graber ]
  * Change /var/lib/sudo from persistent to temporary (mode=0700)
 -- Stephane Graber <email address hidden> Wed, 28 Aug 2013 10:07:07 -0400

Changed in lxc-android-config (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.