Re: [systemd-devel] mkosi question: third party repos + dnf modules

2020-12-07 Thread Daan De Meyer
Hi, --repositories in mkosi is currently a bit limited. For Fedora and CentOS, we only support passing names of existing repositories that should be enabled. https://github.com/systemd/mkosi/issues/536 reported a similar problem. We should definitely make this work better than it does now but

Re: [systemd-devel] [PATCH] man: add instruction on clearing file descriptors

2020-12-07 Thread Mantas Mikulėnas
I'm not sure if it's more portable. I recall FreeBSD only exposing 0–2 in its /dev/fd by default unless you mounted a separate virtual filesystem there. NetBSD seems to always have 64 devnodes no matter how many fds. I don't think there's a *good* portable method (which is why closerange() is

[systemd-devel] [PATCH] man: add instruction on clearing file descriptors

2020-12-07 Thread Petar Kapriš
In the daemon.7 manpage, I added an instruction on closing open file descriptors, an important step in daemon startup, showing an option to close them using the files in /dev/fd (a more portable alternative across systems to using /proc/self/fd) --- man/daemon.xml | 11 ++- 1 file

Re: [systemd-devel] [FIX] SANE udev rules processing performance

2020-12-07 Thread Marcin Kocur
W dniu 07.12.2020 o 11:25, Lennart Poettering pisze: On So, 06.12.20 11:13, Marcin Kocur (marcin2...@gmail.com) wrote: The concern is: "Recalling #341 (closed), I do have some concerns about efficiency now that those 650+ USB rules get processed for every non-removal event rather than only for

Re: [systemd-devel] [FIX] SANE udev rules processing performance

2020-12-07 Thread Lennart Poettering
On So, 06.12.20 11:13, Marcin Kocur (marcin2...@gmail.com) wrote: > The concern is: > "Recalling #341 (closed), I do have some concerns about efficiency now that > those 650+ USB rules get processed for every non-removal event rather than > only for additions." > > If you could answer in the MR