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

2023-08-29 Thread TJ Shipp
as UNITS? > > P.S. If anyone is interested in contracting to do this work, please send > me a private message outside this list. > -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20230829/22c

Re: [systemd-devel] Bluetooth in a multiseat (via loginctl) setup

2023-08-29 Thread Christian Pernegger
Hello again, shelving that multiple BT adapters idea for a moment, since that doesn't seem to be a supported configuration, more's the pity, the issue with GNOME seems to be that /dev/rfkill doesn't get the right permissions. It's tagged "uaccess" alright, the intention seems to be that (active) l

Re: [systemd-devel] oomd wake-up frequency

2023-08-29 Thread Christian Hergert
On 8/25/23 7:54 AM, Michal Koutný wrote: I think the loop's event source could be disabled when no cgroups require swap monitoring [1] (and enabled lazily when such are configured). FYI I implemented your design this afternoon in case you have some time to review. https://github.com/systemd/

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

2023-08-29 Thread Cecil Westerhof
Op di 29 aug 2023 om 23:05 schreef Nils Kattenbeck : > No, you can use systemd-cat to then invoke your script which applies > to every output of it. > OK, I will dive into it. > Also, you can just use reply-all in gmail (or even set it as the > default in the settings) to have the correct beha

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

2023-08-29 Thread Nils Kattenbeck
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 mails also the the mailing list. On Tue, Aug 29, 2023 at 10:25 PM Cecil We

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

2023-08-29 Thread Mantas Mikulėnas
It sounds like you're reinventing LC_NUMERIC. The locale system has a lot more than just LANG; it already allows the number format to be overridden separately from the "language". Take a look at `locale -k LC_NUMERIC` and < https://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap07.html>.

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

2023-08-29 Thread Cecil Westerhof
Aargh, forgot again that gmail works differently when replying. :'-{ Op di 29 aug 2023 om 21:07 schreef Cecil Westerhof : > Op di 29 aug 2023 om 19:47 schreef Nils Kattenbeck : > >> Hi, At least for simple cases you can use systemd-cat which allows >> setting different priorities for stdout and s

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

2023-08-29 Thread Nils Kattenbeck
Hi, At least for simple cases you can use systemd-cat which allows setting different priorities for stdout and stderr. It even explicitly states that doing so will lose the ordering guarantees which are only possible when attaching stdout and stderr to the same fd (as Lennart said). Greetings Nils

[systemd-devel] Custom Localed Configuration Location

2023-08-29 Thread TJ Shipp
I am trying to create a system where we can change locale on a running system (where we would have daemons subscribe to dbus and get the properties changed messages) but need to be able to change the location of the locale file (by default in /etc/locale.conf) as /etc is read-only on our system.

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

2023-08-29 Thread Cecil Westerhof
Op di 29 aug 2023 om 11:58 schreef Lennart Poettering < lenn...@poettering.net>: > On Di, 29.08.23 11:56, Cecil Westerhof (cldwester...@gmail.com) wrote: > > > I agree with that usecase, and we have discussed this many times > > > before, but we couldn#t come up with a nice way to make everything

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

2023-08-29 Thread Lennart Poettering
On Di, 29.08.23 11:56, Cecil Westerhof (cldwester...@gmail.com) wrote: > > I agree with that usecase, and we have discussed this many times > > before, but we couldn#t come up with a nice way to make everything > > work: proper ordering and distintion of stdout/stderr. > > I agree that the default

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

2023-08-29 Thread Cecil Westerhof
Op di 29 aug 2023 om 11:36 schreef Lennart Poettering < lenn...@poettering.net>: > On Di, 29.08.23 11:20, Cecil Westerhof (cldwester...@gmail.com) wrote: > > > Also: everything has a timestamp, so there is in my opinion when you > choose > > to take them apart no big problem. > > For stream connec

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

2023-08-29 Thread Lennart Poettering
On Di, 29.08.23 11:20, Cecil Westerhof (cldwester...@gmail.com) wrote: > Also: everything has a timestamp, so there is in my opinion when you choose > to take them apart no big problem. For stream connections like those used for stdout/stderr, lines do not come with timestamps. We add them on the

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

2023-08-29 Thread Cecil Westerhof
Op di 29 aug 2023 om 10:13 schreef Lennart Poettering < lenn...@poettering.net>: > On Sa, 26.08.23 06:14, Cecil Westerhof (cldwester...@gmail.com) wrote: > > Please keep mails like this on the mailing list. > Sorry, I am used to that when I am responding to a list, my reply goes to the list. Gmai

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

2023-08-29 Thread Lennart Poettering
On Sa, 26.08.23 06:14, Cecil Westerhof (cldwester...@gmail.com) wrote: Please keep mails like this on the mailing list. > > We should not "assume the worst", hence given that the stderr stream > > is typically used for all kinds of informational messages we should > > not always assume its an err