livefs: unable to run cryptsetup inside livecd-rootfs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NemOS Project |
New
|
High
|
Isaac True | ||
launchpad-buildd |
Triaged
|
Low
|
Unassigned |
Bug Description
I'm trying to create a new livecd-rootfs project and build on Launchpad but I'm running into an issue with cryptsetup. Namely I'm getting this error when trying to initialise the disk:
Device /dev/mapper/
Full cryptsetup command line:
cryptsetup -q --key-file /var/tmp/
The source code/merge proposal for building this livecd-rootfs can be found here:
https:/
I've narrowed it down to this line in the cryptsetup source code:
After some more debugging, the open() call returns ENOENT. This seems to show that the device file cannot be opened by cryptsetup after the mapping has been successfully initialised. My current thinking is that cryptsetup is creating some device nodes which are blocked for reading by some (cgroups?) security policy on Launchpad.
Cryptsetup seems to have been able to successfully create the device nodes, but it just can't open them afterwards. Is there some way to adjust the security policy to allow these device nodes?
description: | updated |
affects: | launchpad → launchpad-buildd |
Changed in launchpad-buildd: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in nemos: | |
assignee: | nobody → Isaac True (itrue) |
importance: | Undecided → High |