Re: How to: correctly use sysusers.d?

2023-08-07 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Aug 05, 2023 at 10:56:19PM +0200, Fabio Valentini wrote: > I have a draft sysusers.d config file here: > https://github.com/decathorpe/ntpd-rs-rpms/blob/main/ntpd-rs/ntpd-rs.sysusers > > This looks similar to existing files in /usr/lib/sysusers.d/, but the > %sysusers_create_compat

Re: How to: correctly use sysusers.d?

2023-08-07 Thread Dominik 'Rathann' Mierzejewski
On Saturday, 05 August 2023 at 22:56, Fabio Valentini wrote: [...] > Any help would be appreciated. I think you need a combination of sysusers.d and tmpfiles.d. One example would be the minidlna package I moved over from RPM Fusion recently:

How to: correctly use sysusers.d?

2023-08-05 Thread Fabio Valentini
Hello packagers, I'm working on packaging ntpd-rs (an NTP service written in Rust), and I now have all dependencies available in Fedora, so I need to actually look into how to package ntpd-rs itself. This is the first time I'm packaging something that ships a systemd service *and* creates a