Re: [systemd-devel] Service not run, although enabled

2023-08-31 Thread Matthijs van Duin
> > # systemctl status bestcrypt-fs > ● bestcrypt-fs.service - Mount Bestcrypt containers > Loaded: loaded (/etc/systemd/system/bestcrypt-fs.service; enabled; > vendor preset: disabled) > Active: active (exited) (thawing) since Mon 2023-08-07 11:17:18 EEST; > 20min ago > Process: 2645

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

2023-08-31 Thread Donald Buczek
On 8/31/23 1:08 AM, Julio Lajara wrote: > 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 unprivile

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

2023-08-31 Thread Lennart Poettering
On Mi, 30.08.23 23:08, Julio Lajara (julio.laj...@protonmail.com) wrote: > 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 s

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

2023-08-31 Thread Lennart Poettering
On Mi, 30.08.23 15:22, Mirza Krak (mirza.k...@gmail.com) wrote: > Hi, > > Environment: > * systemd: 250.5 This release is from 2021, i.e. relatively old. The issue you are descriping is almost certainly aleady addressed in newer versions. Consider using a new version. Or contact your OS vendor, a

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

2023-08-31 Thread Lennart Poettering
On Mi, 30.08.23 18:06, Vishwanath Chandapur (vishwa...@gmail.com) wrote: > 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 spe

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

2023-08-31 Thread Lennart Poettering
On Di, 29.08.23 17:17, TJ Shipp (onezoo...@msn.com) wrote: > I am trying to add in support for a separate variable to change our unit > system, and having both LANG and UNITS to identify the "locale" of the system. > We are also not only looking for English versus Metric, but are looking for > m

Re: [systemd-devel] Custom Localed Configuration Location

2023-08-31 Thread Lennart Poettering
On Di, 29.08.23 17:18, TJ Shipp (onezoo...@msn.com) wrote: > 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

[systemd-devel] [multiseat] How to make automatic ACL creation via udev "uaccess" tag work for seats other than seat0?

2023-08-31 Thread Christian Pernegger
Hello, still trying to get the kinks out of my multiseat setup ... AFAICT the proper way to give local users access to devices nowadays is via udev and the "uaccess" tag: devices with this tag set should automagically get an ACL entry that gives access to users with active sessions. This works br

Re: [systemd-devel] [multiseat] How to make automatic ACL creation via udev "uaccess" tag work for seats other than seat0?

2023-08-31 Thread Andrei Borzenkov
On 31.08.2023 19:22, Christian Pernegger wrote: Hello, still trying to get the kinks out of my multiseat setup ... AFAICT the proper way to give local users access to devices nowadays is via udev and the "uaccess" tag: devices with this tag set should automagically get an ACL entry that gives a

Re: [systemd-devel] [multiseat] How to make automatic ACL creation via udev "uaccess" tag work for seats other than seat0?

2023-08-31 Thread Christian Pernegger
Am Do., 31. Aug. 2023 um 21:55 Uhr schrieb Andrei Borzenkov : > > On 31.08.2023 19:22, Christian Pernegger wrote: > There is no ID_SEAT, so this device [/dev/rfkill] ]belongs to seat0 by > default. It makes no sense for /dev/rfkill to belong to a specific seat, though. GNOME at least assumes the

[systemd-devel] How to autoconfigure IPv4 LinkLocalAddressing

2023-08-31 Thread Muggeridge, Matt
Hi, I’m using systemd_254. I my ".network" configuration file (see below), I'm expecting that the “mul0” interface will always be assigned an IPv4 link local address. The documentation for LinkLocalAddressing describes: > An IPv4 link-local address is configured when yes or ipv4 and when D

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

2023-08-31 Thread Mirza Krak
On Thu, 31 Aug 2023 at 12:12, Lennart Poettering wrote: > > On Mi, 30.08.23 15:22, Mirza Krak (mirza.k...@gmail.com) wrote: > > > Hi, > > > > Environment: > > * systemd: 250.5 > > This release is from 2021, i.e. relatively old. The issue you are > descriping is almost certainly aleady addressed in