[systemd-devel] Periodically switch volatile to persistent journald and vice versa

2023-09-11 Thread Renjaya Raga Zenta
Hi, We have custom embedded device using SD Card as the main storage. I think there are some concerns regarding how journald write the logs, that may cause massive write amplification and that's bad for a standard SD Card. Journald has Storage= option, I could use Storage=volatile and ForwardToSy

Re: [systemd-devel] Fedora 38 and signed PCR binding

2023-09-11 Thread Aleksandar Kostadinov
On Mon, Sep 11, 2023 at 2:57 PM Lennart Poettering wrote: > > On Mo, 11.09.23 14:48, Aleksandar Kostadinov (akost...@redhat.com) wrote: > > > Hi again. I tried to boot from UKI to no avail. > > > > First created a "db" certificate > > > openssl req -newkey rsa:2048 -nodes -keyout db_arch.key -new

Re: [systemd-devel] [PATCH 0/1] x86/kexec: UKI support

2023-09-11 Thread Neal Gompa
On Mon, Sep 11, 2023 at 7:15 PM Jarkko Sakkinen wrote: > > On Sat Sep 9, 2023 at 7:18 PM EEST, Jan Hendrik Farr wrote: > > Hello, > > > > this patch implements UKI support for kexec_file_load. It will require > > support > > in the kexec-tools userspace utility. For testing purposes the following

Re: [systemd-devel] [PATCH 0/1] x86/kexec: UKI support

2023-09-11 Thread Jarkko Sakkinen
On Sat Sep 9, 2023 at 7:18 PM EEST, Jan Hendrik Farr wrote: > Hello, > > this patch implements UKI support for kexec_file_load. It will require support > in the kexec-tools userspace utility. For testing purposes the following can > be used: > https://github.com/Cydox/kexec-test/ > > There has bee

Re: [systemd-devel] systemd-repart /etc automount via discoverable partition specification

2023-09-11 Thread Nils Kattenbeck
On Mon, Sep 11, 2023 at 11:49 AM Lennart Poettering wrote: > > On Mo, 11.09.23 11:39, Nils Kattenbeck (nilskem...@gmail.com) wrote: > > > On Mon, Sep 11, 2023, 10:54 Lennart Poettering > > wrote: > > > > > The discoverable partition scheme has no concept of /etc/ discovery. It > > > focusses on t

Re: [systemd-devel] Fedora 38 and signed PCR binding

2023-09-11 Thread Lennart Poettering
On Mo, 11.09.23 14:48, Aleksandar Kostadinov (akost...@redhat.com) wrote: > Hi again. I tried to boot from UKI to no avail. > > First created a "db" certificate > > openssl req -newkey rsa:2048 -nodes -keyout db_arch.key -new -x509 -sha256 > > -days 3650 -subj "/CN=My DB cert/" -out db.pem > > op

Re: [systemd-devel] Fedora 38 and signed PCR binding

2023-09-11 Thread Aleksandar Kostadinov
Hi again. I tried to boot from UKI to no avail. First created a "db" certificate > openssl req -newkey rsa:2048 -nodes -keyout db_arch.key -new -x509 -sha256 > -days 3650 -subj "/CN=My DB cert/" -out db.pem > openssl x509 -outform DER -in db.pem -out db.crt Then uploaded it to secure boot trust

Re: [systemd-devel] systemd-repart /etc automount via discoverable partition specification

2023-09-11 Thread Lennart Poettering
On Mo, 11.09.23 11:39, Nils Kattenbeck (nilskem...@gmail.com) wrote: > On Mon, Sep 11, 2023, 10:54 Lennart Poettering > wrote: > > > On So, 10.09.23 00:33, Nils Kattenbeck (nilskem...@gmail.com) wrote: > > > > > Hello, I am currently trying to build a linux image with discoverable > > > partition

Re: [systemd-devel] systemd-repart /etc automount via discoverable partition specification

2023-09-11 Thread Nils Kattenbeck
On Mon, Sep 11, 2023, 10:54 Lennart Poettering wrote: > On So, 10.09.23 00:33, Nils Kattenbeck (nilskem...@gmail.com) wrote: > > > Hello, I am currently trying to build a linux image with discoverable > > partitions in an A/B+etc+var scheme. > > The discoverable partition scheme has no concept of

[systemd-devel] Stopping a PAMName=login graphical session cleanly

2023-09-11 Thread Michał Sawicz
Hi all, Roughly following the setup recommended here: https://wayland.pages.freedesktop.org/weston/toc/running-weston.html#running-weston-from-a-systemd-service I'm building a solution for a default, always running user session. It works well, with one exception - how do I stop it cleanly? A

Re: [systemd-devel] systemd-repart /etc automount via discoverable partition specification

2023-09-11 Thread Lennart Poettering
On So, 10.09.23 00:33, Nils Kattenbeck (nilskem...@gmail.com) wrote: > Hello, I am currently trying to build a linux image with discoverable > partitions in an A/B+etc+var scheme. The discoverable partition scheme has no concept of /etc/ discovery. It focusses on three basic setups: 1. writable

Re: [systemd-devel] Documentation question about sd-device

2023-09-11 Thread Lennart Poettering
On So, 10.09.23 11:45, CARLOS VILLANUEVA Y SIMON (carvi...@gmail.com) wrote: > Hello all, > > Recently, while updating a code that was using libudev to a more modern > API, sd-device, I could not find some of the functions that are defined at > sd-device.h ( > https://github.com/systemd/systemd/bl