[systemd-devel] Testing LogFilterPatterns= on user-level services

2024-01-12 Thread Farblos
Hi. I'm playing with the LogFilterPatterns= directive on user-level services, not very successfully so far. [~]$ systemd --version systemd 255 (255.2-3) +PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYP

[systemd-devel] Differences between sd-nspawn and sd-run with RootImage/RootDirectory?

2024-01-12 Thread Nils Kattenbeck
Hello, I have come across the issue for rootless sd-nspawn and - while formulating a comment thereunder - read a bit more in a few man pages (systemd and podman related). While doing so the question arose whether there are any technical, under the hood differences between nspawn and systemd.exec's

Re: [systemd-devel] Activation environment(s)?

2024-01-12 Thread Vladimir Kudrya
On 08/01/2024 22.26, Simon McVittie wrote: It is not possible to unset a variable in the dbus-daemon's activation environment, or with `dbus-update-activation-environment`: that's an API limitation in the org.freedesktop.DBus interface. I've thought about adding an UnsetAndSetActivationEnvironmen

Re: [systemd-devel] Testing LogFilterPatterns= on user-level services

2024-01-12 Thread Barry
> On 12 Jan 2024, at 13:51, Farblos wrote: > > LogFilterPatterns=~ritzelbimpf The docs say this means discard any log that contains ritzelbimpf. See https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#LogFilterPatterns= What where you expecting? Barry

Re: [systemd-devel] Testing LogFilterPatterns= on user-level services

2024-01-12 Thread Farblos
On 2024-01-12 18:51, Barry wrote: > The docs say this means discard any log that contains ritzelbimpf. > SeeĀ  > https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#LogFilterPatterns= > >