Hi,

On 15/02/2015 23:12, intrig...@debian.org wrote:
> 
> the aufs patch set is going away from Debian, e.g. it's been removed
> in Linux 3.18 as found in experimental. It's being superseded by
> overlay FS.

Oh, yes, I didn't notice

> On a Debian Live system with Linux 3.18 and union=overlayfs,
> /lib/bilibop/test fails to identify the (USB) boot device as being on
> the same underlying device as the root FS, and in turn bilibop fails
> to tweak the ownership of the device nodes as it's supposed to do.
> 
> I've only tested with bilibop 0.4.21~bpo70+1, as that's what we're
> using, and I've not seen any obviously related change in the
> newest releases.

You're right. bilibop-common and -udev are not affected by changes from
0.4.21. The fact is that overlayfs is currently not supported at all by
bilibop. It's not by design, just a missing support that I'll try to
provide soon.

> This is one of the blockers for Tails to upgrade its kernel to 3.18+.
> 
> For your convenience, a test ISO will soon be available there:
> http://nightly.tails.boum.org/build_Tails_ISO_feature-linux-3.18/
> 
> To reproduce, install it to a USB stick with Tails Installer, or just
> `dd' it to a USB stick (it's a hybrid ISO). I've not tested the
> latter, but I guess it'll produce the same results.

I confirm, dd it to a USB stick produces the same results. But it gives
me a working environment to modify-and-test bilibop-common, thank you.

My first experiments show that this is not obvious to find the device
mounted on the 'lowerdir' component of the overlay filesystem. The value
found in /proc/mounts (lowerdir=//filesystem.squashfs/) comes from the
initrd environment; it does not exist anymore at runtime as the
mountpoint has been moved to
'/lib/live/mount/rootfs/filesystem.squashfs'. These paths entirely
depend on live-boot (5.0~a1-1 in experimental). So I try to figure how
to find the lowerdir without previous knowledge of what it could be, and
fallback to live-boot usecases. This means that portable code is not yet
written, but some changes usable by debian-based live systems (at least
Tails) have already been tested and work. I will push them soon, follow
the branch 'experimental/overlayfs_support' [1].

Cheers,
quidame

[1] https://un.poivron.org/~quidame/git/bilibop.git

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to