Arch devs,
The pacman postrans throws a warning for the nut package regarding a
conflict with earlier configuration for user 'nut':
:: Running post-transaction hooks...
(1/5) Creating system user accounts...
/usr/lib/sysusers.d/nut.conf:1: Conflict with earlier configuration for
user 'nut' in /usr/lib/sysusers.d/nut-common-sysusers.conf:5, ignoring line.
Sure enough:
$ head /usr/lib/sysusers.d/nut.conf
u! nut - "Network UPS Tools" /var/lib/nut
m nut uucp
and
$ head /usr/lib/sysusers.d/nut-common-sysusers.conf
# Network UPS Tools (NUT) systemd integration
# Distributed under the terms of GPLv2+
# See https://networkupstools.org/
# and https://github.com/networkupstools/nut/
u! nut - - /var/lib/nut
g nut
m nut nut
Both /usr/lib/sysusers.d/nut.conf
/usr/lib/sysusers.d/nut-common-sysusers.conf are owned by the nut
package, so this isn't some leftover from an earlier nut (or
network-ups-tools) install. The question I have is this an upstream
issue, or is this a packaging issue?
That way I know where to properly raise the issue.
My setup is a simple standalone Cyperpower UPS configured exactly as
explained in https://wiki.archlinux.org/title/Network_UPS_Tools
--
David C. Rankin, J.D.,P.E.