View previous topic :: View next topic |
Author |
Message |
VinzC Watchman
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Sun Jan 10, 2016 5:25 pm Post subject: udisks[cryptsetup] indirectly wants eudev; recommendations? |
|
|
Hi all.
I've recently setup a 4TB disk with two partitions, one of which I want to encrypt. I'm runnign Xfce and udisks manages mounts/unmounts. My system is running with udev until now:
emerge -avq1 udisks: | [ebuild N ] sys-fs/eudev-3.1.5 USE="hwdb kmod static-libs -introspection -rule-generator (-selinux) {-test}" ABI_X86="(64) -32 (-x32)"
[ebuild U ] sys-fs/lvm2-2.02.136 [2.02.116] USE="readline static thin udev* -clvm -cman -device-mapper-only -lvm1 -lvm2create_initrd (-selinux) -static-libs -systemd"
[ebuild R ] sys-fs/udisks-2.1.4 USE="cryptsetup* gptfdisk -debug -introspection (-selinux) -systemd"
[blocks B ] sys-fs/udev ("sys-fs/udev" is blocking sys-fs/eudev-3.1.5) |
The back story is that encrypted block devices appear with a lock emblem on Xfce desktop. When I click the locked desktop item I am prompted with a pass-phrase dialogue box and I can type my pass-phrase, okay. But then I'm immediately prompted with an error message saying there's no filesystem available. So I assumed that was due to udisks being compiled *without* cryptsetup USE flag. I could do without the GUI stuff but I'm still curious about using it.
I hadn't selected cryptsetup before since I have never used encryption so far. So I guess I must remove udev and install eudev, right?
This is a major change, so do I have anything to care about beforehand? (let alone making a backup, which I already did.) _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9679 Location: almost Mile High in the USA
|
|
Back to top |
|
|
VinzC Watchman
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Sun Jan 17, 2016 4:28 pm Post subject: |
|
|
IIRC I need LVM2 with static USE flag if I want an initramfs. This dates a couple of years ago, I believe. Is it still true? _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Sun Jan 17, 2016 4:32 pm Post subject: |
|
|
VinzC,
Yes and no. LVM2 with static USE flag is the traditional way of doing it.
Dynamically linked LVM2, with all its bits works too. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9679 Location: almost Mile High in the USA
|
Posted: Sun Jan 17, 2016 10:59 pm Post subject: |
|
|
I've been sticking glibc in my (custom) initramfs... yeah my initramfs are huge :( _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Mon Jan 18, 2016 2:38 pm Post subject: |
|
|
eccerr0r wrote: | I've been sticking glibc in my (custom) initramfs... yeah my initramfs are huge :( |
Be happy: it's "the new root" ;-) |
|
Back to top |
|
|
VinzC Watchman
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Mon Feb 01, 2016 8:09 pm Post subject: |
|
|
NeddySeagoon wrote: | VinzC,
Yes and no. LVM2 with static USE flag is the traditional way of doing it.
Dynamically linked LVM2, with all its bits works too. |
Thanks, NeddySeagoon. I've taken a look at the wiki and it says that the static flag *can* be enabled:
Gentoo Wiki wrote: | The static USE flag may also be enabled on the package sys-fs/lvm2 so that genkernel will use the system binaries (otherwise it will build its own private copy). |
Kind of looks safe. What consequence will that have on the initramfs? — it's currently about 4.5MB as I have two bootsplash screens embedded. So I suppose I can keep udev after I have removed the static USE flag from lvm2? _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|
Back to top |
|
|
|