Re: [gentoo-user] systemd mount - what on earth is it doing ...

2021-09-25 Thread antlists
On 25/09/2021 21:30, Canek Peláez Valdés wrote: On Sat, Sep 25, 2021 at 1:48 PM antlists > wrote: [...] Bear in mind, integritysetup is not in my initrd, so ... I think you would need to put it in your initrd. If I've got my root on it (which is the plan,

Re: [gentoo-user] systemd mount - what on earth is it doing ...

2021-09-25 Thread Rich Freeman
On Sat, Sep 25, 2021 at 4:30 PM Canek Peláez Valdés wrote: > > the simplest solution is to put your integrity logic in the initrd (with the > added benefit that you can mount it in emergencies if something goes wrong > with root). > If you want to try this, consider this article I wrote ages

Re: [gentoo-user] systemd mount - what on earth is it doing ...

2021-09-25 Thread Canek Peláez Valdés
On Sat, Sep 25, 2021 at 1:48 PM antlists wrote: [...] > Bear in mind, integritysetup is not in my initrd, so ... > I think you would need to put it in your initrd. > It looks to me like grub switches to the real root partition read-only > before firing stuff off, so if I tell my

Re: [gentoo-user] systemd mount - what on earth is it doing ...

2021-09-25 Thread antlists
On 24/09/2021 21:30, Canek Peláez Valdés wrote: On Fri, Sep 24, 2021 at 2:25 PM antlists > wrote: This is weird ... My /home directory is set up somewhat strangely, as in I've got two raw partitions, I've put dm-integrity on them, raided them

Re: [gentoo-user] systemd mount - what on earth is it doing ...

2021-09-25 Thread Rich Freeman
On Sat, Sep 25, 2021 at 6:49 AM antlists wrote: > > On 24/09/2021 21:30, Canek Peláez Valdés wrote: > > There's a lot of info about how to write a service file, but if you need > to run before or after system service files, it's nowhere near so easy > to find out Before=WHAT or After=WHAT :-)

Re: [gentoo-user] systemd mount - what on earth is it doing ...

2021-09-25 Thread antlists
On 24/09/2021 21:30, Canek Peláez Valdés wrote: On Fri, Sep 24, 2021 at 2:25 PM antlists > wrote: This is weird ... My /home directory is set up somewhat strangely, as in I've got two raw partitions, I've put dm-integrity on them, raided them

Re: [gentoo-user] systemd mount - what on earth is it doing ...

2021-09-24 Thread Canek Peláez Valdés
On Fri, Sep 24, 2021 at 2:25 PM antlists wrote: > This is weird ... > > My /home directory is set up somewhat strangely, as in I've got two raw > partitions, I've put dm-integrity on them, raided them together, then > put lvm on top of that. > > Which got me into a bind with fstab. I've created

[gentoo-user] systemd mount - what on earth is it doing ...

2021-09-24 Thread antlists
This is weird ... My /home directory is set up somewhat strangely, as in I've got two raw partitions, I've put dm-integrity on them, raided them together, then put lvm on top of that. Which got me into a bind with fstab. I've created a systemd service, which fires up dm-integrity on those