Bug #8908

bilibop doesn't support overlayfs and then the boot device has buggy permissions

Added by intrigeri 2015-02-15 21:40:44 . Updated 2015-09-10 12:20:56 .

Status:
Resolved
Priority:
Elevated
Assignee:
Category:
Target version:
Start date:
2015-02-15
Due date:
% Done:

100%

Feature Branch:
feature/8415-overlayfs
Type of work:
Research
Blueprint:

Starter:
Affected tool:
Deliverable for:

Description

I had to cherry-pick a few commits from feature/jessie that reintroduce udev rules to make USB devices writable (config/chroot_local-includes/etc/udev/rules.d/99-make-removable-devices-user-writable.rules) but then the boot device is owned by group floppy, which is wrong.


Subtasks


History

#1 Updated by intrigeri 2015-02-15 21:46:45

This may also be the root cause of another problem: “org.freedesktop.UDisks.Error.PermissionDenied: Not Authorized” in tails-persistence-setup.

#2 Updated by intrigeri 2015-02-15 22:00:53

The boot device isn’t seen as “system internal” by UDisks. It seems very much like /lib/bilibop/test fails to get its mind around the way devices and mounts are set up with overlayfs, which in turn makes the bilibop udev rules (and our own /etc/udev/rules.d/70-protect-boot-medium-for-udisks.rules) fail to set the correct ownership on the device nodes.

#3 Updated by intrigeri 2015-02-15 22:58:49

  • Subject changed from Buggy permissions on USB boot device with udev 204 to bilibop doesn't support overlayfs and then the boot device has buggy permissions
  • Type of work changed from Research to Wait

Reported against bilibop: https://bugs.debian.org/778497. Let’s wait a bit, for now.

#4 Updated by intrigeri 2015-02-17 19:24:28

  • Feature Branch changed from feature/linux-3.18 to feature/8415-overlayfs

#5 Updated by intrigeri 2015-03-10 20:53:53

  • Priority changed from Normal to Elevated

#6 Updated by intrigeri 2015-03-19 20:21:27

  • Status changed from Confirmed to In Progress
  • % Done changed from 0 to 10
  • Type of work changed from Wait to Test

Experimental patch provided by upstream added in commit:ab2de95. Builds fine, untested.

#7 Updated by intrigeri 2015-05-13 07:58:35

  • Assignee set to intrigeri
  • Type of work changed from Test to Research

Experimental support seems to work fine at first glance, including “Clone & Install” FWIW (not tested persistence yet, though). I should now check if those commits are still needed: commit:bb51937, commit:8d1f155, commit:80bff5c.

#8 Updated by intrigeri 2015-07-13 03:49:29

  • Target version set to Sustainability_M1

#9 Updated by intrigeri 2015-07-30 02:12:59

Uploaded bilibop 0.5.0 to sid, that supports overlayfs.

#10 Updated by intrigeri 2015-08-11 09:08:34

  • Status changed from In Progress to Resolved
  • % Done changed from 10 to 100

Applied in changeset commit:1f2e9e46838409730c75948507f8b52f4ae1dedc.

#11 Updated by intrigeri 2015-08-11 09:15:59

  • Assignee deleted (intrigeri)

#12 Updated by sajolida 2015-09-10 12:20:56

  • Target version deleted (Sustainability_M1)