[systemd-devel] Unmountable mounts and systemd-fsck@.service conflicting with shutdown.target

2023-01-05 Thread Valentin David
Hello, In Ubuntu Core, we have some mounts that cannot be unmounted until we have switched root. To simplify, this looks like that: / mounts a ro loop devices backed by /some/disk/some/path/image.img /some/disk mounts a block device (let's say /dev/some-block0p1) In this case, /some/disk cannot

Re: [systemd-devel] Unmountable mounts and systemd-fsck@.service conflicting with shutdown.target

2023-01-06 Thread Valentin David
@.service units have "DefaultDependencies=no" and no conflict on shutdown. Maybe this is missing then. "cryptsetup attach" might be running. On Fri, Jan 6, 2023 at 1:34 PM Lennart Poettering wrote: > On Do, 05.01.23 14:18, Valentin David (valentin.da...@canonical.com) > wrot

[systemd-devel] systemd-repart very slow creation of partitions with Encrypt=

2023-06-04 Thread Valentin David
I have been trying to create a root partition from initrd with systemd-repart. The repart.d file for this partition is as follow: [Partition] Type=root Label=root Encrypt=tpm2 Format=ext4 FactoryReset=yes I am just using systemd-repart.service in initrd, without modification (that is, it finds th

Re: [systemd-devel] systemd-repart very slow creation of partitions with Encrypt=

2023-06-05 Thread Valentin David
On Mon, Jun 5, 2023 at 9:56 AM Lennart Poettering wrote: > On So, 04.06.23 14:25, Valentin David (valentin.da...@canonical.com) > wrote: > > > I have been trying to create a root partition from initrd with > > systemd-repart. The repart.d file for this partition is as follo

Re: [systemd-devel] systemd-repart very slow creation of partitions with Encrypt=

2023-06-05 Thread Valentin David
I think that behavior was introduced by https://github.com/systemd/systemd/commit/48a09a8fff480aab9a68e95e95cc37f6b1438751 On Mon, Jun 5, 2023 at 10:41 AM Valentin David wrote: > > > On Mon, Jun 5, 2023 at 9:56 AM Lennart Poettering > wrote: > >> On So, 04.06.23

Re: [systemd-devel] systemd-repart very slow creation of partitions with Encrypt=

2023-06-05 Thread Valentin David
On Mon, Jun 5, 2023 at 11:09 AM Lennart Poettering wrote: > On Mo, 05.06.23 10:41, Valentin David (valentin.da...@canonical.com) > wrote: > > > On Mon, Jun 5, 2023 at 9:56 AM Lennart Poettering < > lenn...@poettering.net> > > wrote: > > > > > On So

[systemd-devel] udev database cross-version compatibility

2023-09-26 Thread Valentin David
flatpak to provide /run/udev/data to containers? (Also, snapd does it, oops) -- Valentin David m...@valentindavid.com

[systemd-devel] ConditionNeedsUpdate, read-only /usr, and sysext

2024-02-07 Thread Valentin David
xample? Thanks, -- Valentin David m...@valentindavid.com