Re: [systemd-devel] LogsDirectory= permissions

2022-04-21 Thread Andrea Pappacoda
Il giorno mer 20 apr 2022 alle 22:43:01 +02:00:00, Lennart Poettering ha scritto: Yes, use User=www-data + Group=www-data. And then use the "!" modifier in ExecStart= to tell systemd that even though the specified User=/Group= are the ones used by the service it should leave set setuid() call t

[systemd-devel] Splitting sd-boot from systemd/bootctl for enabling sd-boot in Fedora

2022-04-30 Thread Andrea Pappacoda
Il giorno sab 30 apr 2022 alle 12:00:01 +00:00:00, systemd-devel-requ...@lists.freedesktop.org ha scritto: Distributions most certainly can become efi only if they chose to do so, there nothing technical that stands in that way. Debian still supports systems that are not compatible with UEFI, s

Re: [systemd-devel] Execute a script/program at the start of a graphical session

2022-05-12 Thread Andrea Pappacoda
Il giorno gio 12 mag 2022 alle 13:31:41 +02:00:00, Gerion Entrup ha scritto: Is there a possibility to trigger systemd to execute some script under the current user when logind detects a new graphical session? This way, it would not depend on the login manager and desktop environment. The bro

Re: [systemd-devel] systemd-network and loopback

2022-09-09 Thread Andrea Pappacoda
Il giorno ven 9 set 2022 alle 17:37:14 +02:00:00, Lennart Poettering ha scritto: People sometimes route stuff onto the loopback device in addition to the the usual 127.0.0.0/8 traffic so that it ends up on local sockets. Thanks for the reply, but I don't fully understand the implications of t

Re: [systemd-devel] systemd-network and loopback

2022-09-09 Thread Andrea Pappacoda
Il giorno ven 9 set 2022 alle 12:17:42 -05:00:00, Greg Oliver ha scritto: Well, easiest to explain is user apps that use tcp or udp sockets to communicate. If they are on the same host, then huge gains can be achieved by using the loopback adapter (especially TCP comms). Thanks, but again, i

Re: [systemd-devel] systemd-network and loopback

2022-09-10 Thread Andrea Pappacoda
Il giorno ven 9 set 2022 alle 23:57:27 +03:00:00, Mantas Mikulėnas ha scritto: It's useful when you want the `lo` interface to have a custom [Address] or two. Routers often have an address assigned that's supposed to be independent from any "physical" interface – on Linux it could be assigne

Re: [systemd-devel] why systemd-boot (seems as everyone else) does not check the signatures of initramfs?

2023-05-25 Thread Andrea Pappacoda
Il giorno mer 24 mag 2023 alle 14:35:05 +02:00:00, Lennart Poettering ha scritto: Note that in systemd git main there's already support for generating UKIs dynamically when a kernel RPM/DEB is installed (as long as the "kernel-install" infra is in use). It can be signed with a local key, that ca

[systemd-devel] Shipping preset files with packages to prefer socket activation

2023-07-12 Thread Andrea Pappacoda
Hi all, I'd like to ask for feedback regarding shipping a systemd.preset(5) file with a particular software package as a way to prefer socket activation. To simplify things, I'm going to take the foot terminal as an example (you can find more information about foot's systemd files here:

[systemd-devel] passing additional FDs to service

2024-07-05 Thread Andrea Pappacoda
Hi all! I'm writing a small FastCGI daemon which, in addition to the socket used to talk FastCGI to the web server, talks SMTP through another (inet) socket (as an SMTP client). The FastCGI socket is created by systemd with a .socket unit and passed to the service as an fd (which also enables soc