Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#79892 - [opensmtpd] Unneccessary addition of user 'smtpd' to group 'root'

Attached to Project: Arch Linux
Opened by Martin Bock (marttin) - Sunday, 08 October 2023, 21:01 GMT
Last edited by T.J. Townsend (blakkheim) - Friday, 27 October 2023, 14:05 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Bruno Pagani (ArchangeGabriel)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The package 'opensmtpd' creates via systemd-sysusers.service 2 new users and 2 new groups (smtpd with gid/uid 91 and smtpq with gid/uid 92). Futher it adds the user 'smtpd' to the existing group 'root (gid 0)'. The last step is IMHO unnecessary (and ugly as hell), because 'smtpd' queues and delivers here without being in the 'root' group. Am I missing something?

Additional info:
* package version: 7.3.0p2-1
* config files: /usr/lib/sysusers.d/opensmtpd.conf (last line)

Steps to reproduce:
Install package 'opensmtpd': configure and start the service and delete the user 'smtpd'in the according lines in '/etc/group' and /etc/gshadow'.
This task depends upon

Closed by  T.J. Townsend (blakkheim)
Friday, 27 October 2023, 14:05 GMT
Reason for closing:  Fixed
Comment by T.J. Townsend (blakkheim) - Friday, 27 October 2023, 14:05 GMT
We'll give this a try in 7.4.0p0-3 which OP has confirmed works for him. Upstream, though mostly unfamiliar with systemd specifics, agrees with removing that line too.

Loading...