[systemd-devel] Q: Change a kernel setting

2022-07-28 Thread Ulrich Windl
Hi! I wonder: What is the recommended way to do this with systemd?: --- Add the following command to a script executed on system boot, such as /etc/init.d/boot.local: # echo 0 > /sys/kernel/mm/ksm/run --- Do I have to write a unit for it, or is there some generic mechanism already? Regards, Ul

Re: [systemd-devel] How can we debug systemd-gpt-auto-generator failures?

2022-07-28 Thread Kevin P. Fleming
Thanks! I hadn't paid any attention to that issue since I'm not using btrfs, but it seems that the root cause is the same. On Thu, Jul 28, 2022 at 9:31 AM Lennart Poettering wrote: > > On Do, 28.07.22 07:40, Kevin P. Fleming (ke...@km6g.us) wrote: > > > Thanks for that, it did indeed produce some

Re: [systemd-devel] How can we debug systemd-gpt-auto-generator failures?

2022-07-28 Thread Lennart Poettering
On Do, 28.07.22 07:40, Kevin P. Fleming (ke...@km6g.us) wrote: > Thanks for that, it did indeed produce some output, but unfortunately > it doesn't seem to lead anywhere specific :-) > > root@edge21-a:~# SYSTEMD_LOG_LEVEL=debug SYSTEMD_LOG_TARGET=console > LIBBLKID_DEBUG=all > /usr/lib/systemd/sys

Re: [systemd-devel] How can we debug systemd-gpt-auto-generator failures?

2022-07-28 Thread Kevin P. Fleming
Thanks for that, it did indeed produce some output, but unfortunately it doesn't seem to lead anywhere specific :-) root@edge21-a:~# SYSTEMD_LOG_LEVEL=debug SYSTEMD_LOG_TARGET=console LIBBLKID_DEBUG=all /usr/lib/systemd/system-generators/systemd-gpt-auto-generator Found container virtualization no

Re: [systemd-devel] How can we debug systemd-gpt-auto-generator failures?

2022-07-28 Thread Mantas Mikulėnas
On Thu, Jul 28, 2022 at 1:51 PM Kevin P. Fleming wrote: > I've got two systems that report a failure (exit code 1) every time > systemd-gpt-auto-generator is run. There are a small number of reports > of this affecting other users too: > > https://bugs.archlinux.org/task/73168 > > This *may* be r

[systemd-devel] How can we debug systemd-gpt-auto-generator failures?

2022-07-28 Thread Kevin P. Fleming
I've got two systems that report a failure (exit code 1) every time systemd-gpt-auto-generator is run. There are a small number of reports of this affecting other users too: https://bugs.archlinux.org/task/73168 This *may* be related to the use of ZFS, although I've got a half-dozen systems using

Re: [systemd-devel] Antw: [EXT] Re: Feedback sought: can we drop cgroupv1 support soon?

2022-07-28 Thread Lennart Poettering
On Do, 28.07.22 09:48, Ulrich Windl (ulrich.wi...@rz.uni-regensburg.de) wrote: > Hi! > > What about making cgroup1 support _configurable_ as a first step? > So maybe people could try how well things work when there is no cgroups v1 > support in systemd. It's already runtime configurable. Kernel c

[systemd-devel] Antw: [EXT] Re: [systemd‑devel] Feedback sought: can we drop cgroupv1 support soon?

2022-07-28 Thread Ulrich Windl
>>> Lennart Poettering schrieb am 22.07.2022 um 17:35 in Nachricht : > On Fr, 22.07.22 12:15, Lennart Poettering (mzerq...@0pointer.de) wrote: > >> > I guess that would mean holding on to cgroup1 support until EOY 2023 >> > or thereabout? >> >> That does sound OK to me. We can mark it deprecated

[systemd-devel] Antw: [EXT] Re: [systemd‑devel] Feedback sought: can we drop cgroupv1 support soon?

2022-07-28 Thread Ulrich Windl
>>> Lennart Poettering schrieb am 22.07.2022 um 12:15 in Nachricht : > On Do, 21.07.22 16:24, Stéphane Graber (stgra...@ubuntu.com) wrote: > >> Hey there, >> >> I believe Christian may have relayed some of this already but on my >> side, as much as I can sympathize with the annoyance of having to

[systemd-devel] Antw: [EXT] Re: Feedback sought: can we drop cgroupv1 support soon?

2022-07-28 Thread Ulrich Windl
Hi! What about making cgroup1 support _configurable_ as a first step? So maybe people could try how well things work when there is no cgroups v1 support in systemd. Regards, Ulrich >>> Stéphane Graber schrieb am 21.07.2022 um 22:24 in Nachricht : > Hey there, > > I believe Christian may have r