On Sat, 2024-02-03 at 12:18 +0100, mcepl@cepl.eu wrote:
On 2024-02-03 11:59, Dominique Leuenberger wrote:
If you spot a user which belongs to one of your packages, please pick it up and provide a fix for it (packages will be uninstallable by zypper until fixed)
Is there some quick HOWTO for creating a group? Where should it be done? For example, if I see here missing group(bitlbee), I guess it should be provided package bitlbee, right? Is it enough just to add `Provides: group(bitlbee)` to metadata?
There are two ways: * package generates user/groups by manually calling useradd/groupadd in a pre script. Then the package needs to provide the user/group symbols * using sysusers.d (preferred way) a drop in file is installed and the user/group be generated by sysuser_generator https://en.opensuse.org/openSUSE:Packaging_guidelines#Users_and_Groups All that are currently on the list use the manual useradd/groupadd method - or RPM would have auto-detected the provides based on the sysusers drop-in files. I'd say: if time is limited, add the provides, if time permits, migrate the package to sysusers.d. Cheers, Dominique