[systemd-devel] Is it possible to change the cgroup uid/gid for a systemd slice?

2023-08-30 Thread Julio Lajara
Hi all, I have created a systemd slice to constrain CPU/mem resources for a service unit. The service unit runs as root (its a bash script) and it runs a subprocess using systemd-run that it also runs under the same slice but a different unprivileged user. The subprocess needs to read the cgroup

Re: [systemd-devel] Why are the priorities of stdout and stderr the same

2023-08-30 Thread Andy Pieters
On Wed, 30 Aug 2023 at 17:55, Dave Howorth wrote: > On Tue, 29 Aug 2023 23:05:28 +0200 > Nils Kattenbeck wrote: > > No, you can use systemd-cat to then invoke your script which applies > > to every output of it. > > The solution to problems with gmail is simple. Stop using gmail and > find anoth

Re: [systemd-devel] Why are the priorities of stdout and stderr the same

2023-08-30 Thread Dave Howorth
On Tue, 29 Aug 2023 23:05:28 +0200 Nils Kattenbeck wrote: > No, you can use systemd-cat to then invoke your script which applies > to every output of it. > > Also, you can just use reply-all in gmail (or even set it as the > default in the settings) to have the correct behaviour of sending > mail

[systemd-devel] Assertion '!ether_addr_is_null(addr)'

2023-08-30 Thread Mirza Krak
Hi, Environment: * systemd: 250.5 * Linux kernel 5.15.113 I am trying to do something really simple (I thought), and I have the following .network file: [Match] Name=lo [Address] Address=169.254.66.6/32 But it fails with the following error: Aug 30 13:17:05 localhost syste

[systemd-devel] Flushing DNS caches items on clock change.

2023-08-30 Thread Vishwanath Chandapur
Hi, We are using systemd-resolved. We observed that on clock change, systemd-resolved is flushing all caches. By looking into the code we found that this is implemented primarily for DNSSEC. Is there any specific reason for flushing the other cache items like mDNS, LLMNR? Regards Vishwa

Re: [systemd-devel] Additional Locale Variables for Units and Number Format

2023-08-30 Thread Dave Howorth
On Wed, 30 Aug 2023 00:53:55 + TJ Shipp wrote: > Thank you, I think LC_NUMERIC will work for the number formatting, my > company is also looking for something along the lines of this, and > hoping to use locale/systemd to handle it: > > https://lists.freedesktop.org/archives/xdg/2023-August/0