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
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
|
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
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.