bedrocklinux / bedrocklinux-userland

This tracks development for the things such as scripts and (defaults for) config files for Bedrock Linux
https://bedrocklinux.org
GNU General Public License v2.0
603 stars 64 forks source link

Issue mounting zfs home pool shared between stratas #158

Open TheOneWithTheBraid opened 4 years ago

TheOneWithTheBraid commented 4 years ago

I'm using bedrock with a hijacked Ubuntu strata which was initially installed on a zfs root with a separated /home and /home/$USER. It was not causing any issues till I fetched an arch strata and booted using arch's /sbin/init instead of Ubuntu's one.

Now, it's just skipping to mount my /home/$USER zfs and created an empty /home/$USER every boot. I already tried disabling the share of /home but it didn't help. My current workflow is:

It there any easier way?

paradigm commented 4 years ago

To make sure I understand correctly:

Is that correct?

Bedrock can make a lot of things work between strata, but init hooks aren't one of them. Ubuntu's init knows to do zfs setup, but Arch's might not. Bedrock makes Ubuntu's zfs command accessible, but it doesn't teach Arch's init to use it.

I have two ideas: