Re: [systemd-devel] Filter/Parse NETLINK_KOBJECT_UEVENT Messages

2021-09-14 Thread Lennart Poettering
On Di, 14.09.21 01:08, Ryan McClue (re.mcc...@protonmail.com) wrote: > I understand this is slightly off-topic, but I'm completely new to > BPF. Analyzing libudev source and Internet I understand the general > idea. However, I don't understand how information/what information > is passed to the

Re: [systemd-devel] [RFC] Switching to OpenSSL 3?

2021-09-14 Thread Manuel Amador (Rudd-O)
On 14/09/2021 13.36, Lennart Poettering wrote: Heya! Some of the systemd developers have been discussing switching systemd's crypto libraries to be exclusively OpenSSL 3.0, and drop support for older OpenSSL versions, as well as any GNUTLS/libgcrypt support. As you might have noticed OpenSSL

[systemd-devel] Why does sd_path_lookup(SD_PATH_TMPFILES, ..) return one path ?

2021-09-14 Thread Francis Moreau
Hello, I was expecting that this function returns all paths where tmpfiles can be stored but it returns only "/usr/lib/tmpfiles.d". Why doesn't it return also "/etc/tmpfiles.d" ? Thanks you -- Francis

Re: [systemd-devel] Filter/Parse NETLINK_KOBJECT_UEVENT Messages

2021-09-14 Thread Ryan McClue
Earlier you said that .nl_groups = 2 will get kernel uevents augmented by udev. So, at some stage doesn't udev have to parse the raw kernel uevents, i.e. .nl_groups = 1? How does it do this? Does it use BPF to achieve this or the string parsing? -- Ryan McClue, Sydney ‐‐‐ Original Message

Re: [systemd-devel] Portable services

2021-09-14 Thread Lennart Poettering
On Di, 14.09.21 12:10, Umut Tezduyar Lindskog (umut.tezdu...@axis.com) wrote: > Hello, > > We, at Axis, have a monolithic operating system backed by a > platform. There are teams behind the services making up the > operating system and we have quite many services. We have been > investigating

[systemd-devel] Portable services

2021-09-14 Thread Umut Tezduyar Lindskog
Hello, We, at Axis, have a monolithic operating system backed by a platform. There are teams behind the services making up the operating system and we have quite many services. We have been investigating sandboxing these services and of course systemd sandboxing directives are a way to go.

Re: [systemd-devel] Filter/Parse NETLINK_KOBJECT_UEVENT Messages

2021-09-14 Thread Ryan McClue
Sorry, I should clarify. The code in sd-device related to BPF I don't understand. What is the 'input' in BPF? Sent from ProtonMail mobile Original Message On 14 Sep. 2021, 5:24 pm, Lennart Poettering wrote: > On Di, 14.09.21 01:08, Ryan McClue (re.mcc...@protonmail.com)

[systemd-devel] [RFC] Switching to OpenSSL 3?

2021-09-14 Thread Lennart Poettering
Heya! Some of the systemd developers have been discussing switching systemd's crypto libraries to be exclusively OpenSSL 3.0, and drop support for older OpenSSL versions, as well as any GNUTLS/libgcrypt support. As you might have noticed OpenSSL 3.0 has been released recently, and for the first

Re: [systemd-devel] New developer building systemd

2021-09-14 Thread Lennart Poettering
On Fr, 10.09.21 17:44, Marcus Harrison (mar...@harrisonland.co.uk) wrote: > Hey folks, > > I've downloaded the systemd sources and am attempting to build with GCC 9.4 on > KDE Neon and am receiving the build error described in build-error.txt on > updated main branch (as of writing). > > I've

Re: [systemd-devel] [RFC] Switching to OpenSSL 3?

2021-09-14 Thread Mike Gilbert
On Tue, Sep 14, 2021 at 7:36 AM Lennart Poettering wrote: > > Heya! > > Some of the systemd developers have been discussing switching > systemd's crypto libraries to be exclusively OpenSSL 3.0, and drop > support for older OpenSSL versions, as well as any GNUTLS/libgcrypt > support. As you might

Re: [systemd-devel] [RFC] Switching to OpenSSL 3?

2021-09-14 Thread Lennart Poettering
On Di, 14.09.21 10:26, Mike Gilbert (flop...@gentoo.org) wrote: > > Anyway, I'd be interested in your thoughts about this. i.e. hear > > multiple takes, opinions, from differently people and positions? > > I would definitely like to be able to depend on one crypto/TLS > implementation that would

[systemd-devel] Preferred way to recurse over a directory?

2021-09-14 Thread Albert Brox
I'm working on PR #20239 loadcred-dir and wondering what the preferred way to recurse over a directory is. I was told recursively calling the `load_credential` function is too racy so I'm led to ftw/nftw. However I see in the TODO file, "Get rid of nftw(). We should refuse to use such useless