Please help with persistent zypper dup sysuser.d video group error

How to troubleshoot/fix this zypper dup error? I am encountering these zypper dup /usr/lib/sysusers.d/*.conf errors consistently, and with multiple packages per upgrade-effort. I have read that I should wait for future releases to potentially resolve upgrade errors, but across a month of releases, these ‘video group’ upgrade errors have not gone away.

The system is a headless media server running tumbleweed.

Any help or insight is appreciated
-Cyril

/usr/bin/systemd-sysusers --replace=/usr/lib/sysusers.d/nscd.conf -
Failed to add existing group "video" to temporary group file: Invalid argument
error: %prein(nscd-2.38-1.1.x86_64) scriptlet failed, exit status 1
error: nscd-2.38-1.1.x86_64: install failed
error: nscd-2.37-4.4.x86_64: erase skipped
(13/48) Installing: nscd-2.38-1.1.x86_64 ..............................................................................................................[error]
Installation of nscd-2.38-1.1.x86_64 failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, retry, ignore? [a/r/i] (a): i
(14/48) Installing: openSUSE-release-ftp-20230817-2456.1.x86_64 ........................................................................................[done]
/usr/bin/systemd-sysusers --replace=/usr/lib/sysusers.d/scard.conf -
Failed to add existing group "video" to temporary group file: Invalid argument
error: %prein(pcsc-lite-2.0.0-1.2.x86_64) scriptlet failed, exit status 1
error: pcsc-lite-2.0.0-1.2.x86_64: install failed
error: pcsc-lite-2.0.0-1.1.x86_64: erase skipped
(15/48) Installing: pcsc-lite-2.0.0-1.2.x86_64 ........................................................................................................[error]
Installation of pcsc-lite-2.0.0-1.2.x86_64 failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, retry, ignore? [a/r/i] (a): i
/usr/bin/systemd-sysusers --replace=/usr/lib/sysusers.d/system-user-polkitd.conf -
Failed to add existing group "video" to temporary group file: Invalid argument
error: %prein(polkit-121-4.4.x86_64) scriptlet failed, exit status 1
error: polkit-121-4.4.x86_64: install failed
error: polkit-121-4.3.x86_64: erase skipped
(16/48) Installing: polkit-121-4.4.x86_64 .............................................................................................................[error]
Installation of polkit-121-4.4.x86_64 failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, retry, ignore? [a/r/i] (a): i
/usr/bin/systemd-sysusers --replace=/usr/lib/sysusers.d/rpc-user.conf -
Failed to add existing group "video" to temporary group file: Invalid argument
error: %prein(rpcbind-1.2.6-5.3.x86_64) scriptlet failed, exit status 1
error: rpcbind-1.2.6-5.3.x86_64: install failed
error: rpcbind-1.2.6-5.2.x86_64: erase skipped
(17/48) Installing: rpcbind-1.2.6-5.3.x86_64 ..........................................................................................................[error]
Installation of rpcbind-1.2.6-5.3.x86_64 failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, retry, ignore? [a/r/i] (a): i
/usr/bin/systemd-sysusers --replace=/usr/lib/sysusers.d/system-user-svn.conf -
Failed to add existing group "video" to temporary group file: Invalid argument
error: %prein(subversion-1.14.2-6.3.x86_64) scriptlet failed, exit status 1
error: subversion-1.14.2-6.3.x86_64: install failed
error: subversion-1.14.2-6.1.x86_64: erase skipped
(18/48) Installing: subversion-1.14.2-6.3.x86_64 ......................................................................................................[error]
Installation of subversion-1.14.2-6.3.x86_64 failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, retry, ignore? [a/r/i] (a): i
/usr/bin/systemd-sysusers --replace=/usr/lib/sysusers.d/system-group-audit.conf -
Failed to add existing group "video" to temporary group file: Invalid argument
error: %prein(system-group-audit-3.1.1-1.2.x86_64) scriptlet failed, exit status 1
error: system-group-audit-3.1.1-1.2.x86_64: install failed
error: system-group-audit-3.0.9-1.3.x86_64: erase skipped
(19/48) Installing: system-group-audit-3.1.1-1.2.x86_64 ...............................................................................................[error]
Installation of system-group-audit-3.1.1-1.2.x86_64 failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, retry, ignore? [a/r/i] (a): i
/usr/bin/systemd-sysusers --replace=/usr/lib/sysusers.d/system-group-hardware.conf -
Failed to add existing group "video" to temporary group file: Invalid argument
error: %prein(system-group-hardware-20170617-24.15.noarch) scriptlet failed, exit status 1
error: system-group-hardware-20170617-24.15.noarch: install failed
error: system-group-hardware-20170617-24.13.noarch: erase skipped
(20/48) Installing: system-group-hardware-20170617-24.15.noarch .......................................................................................[error]
Installation of system-group-hardware-20170617-24.15.noarch failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, retry, ignore? [a/r/i] (a): i
/usr/bin/systemd-sysusers --replace=/usr/lib/sysusers.d/system-group-kvm.conf -
Failed to add existing group "video" to temporary group file: Invalid argument
error: %prein(system-group-kvm-20170617-24.15.noarch) scriptlet failed, exit status 1
error: system-group-kvm-20170617-24.15.noarch: install failed
error: system-group-kvm-20170617-24.13.noarch: erase skipped
(21/48) Installing: system-group-kvm-20170617-24.15.noarch ............................................................................................[error]
Installation of system-group-kvm-20170617-24.15.noarch failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, retry, ignore? [a/r/i] (a): i
/usr/bin/systemd-sysusers --replace=/usr/lib/sysusers.d/system-group-wheel.conf -
Failed to add existing group "video" to temporary group file: Invalid argument
error: %prein(system-group-wheel-20170617-24.15.noarch) scriptlet failed, exit status 1
error: system-group-wheel-20170617-24.15.noarch: install failed
error: system-group-wheel-20170617-24.13.noarch: erase skipped
(22/48) Installing: system-group-wheel-20170617-24.15.noarch ..........................................................................................[error]
Installation of system-group-wheel-20170617-24.15.noarch failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, retry, ignore? [a/r/i] (a): i
/usr/bin/systemd-sysusers --replace=/usr/lib/sysusers.d/system-user-daemon.conf -
Failed to add existing group "video" to temporary group file: Invalid argument
error: %prein(system-user-daemon-20170617-24.15.noarch) scriptlet failed, exit status 1
error: system-user-daemon-20170617-24.15.noarch: install failed
error: system-user-daemon-20170617-24.13.noarch: erase skipped
(23/48) Installing: system-user-daemon-20170617-24.15.noarch ..........................................................................................[error]
Installation of system-user-daemon-20170617-24.15.noarch failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, retry, ignore? [a/r/i] (a): i
/usr/bin/systemd-sysusers --replace=/usr/lib/sysusers.d/flatpak.conf -
Failed to add existing group "video" to temporary group file: Invalid argument
error: %prein(system-user-flatpak-1.14.4-1.3.noarch) scriptlet failed, exit status 1
error: system-user-flatpak-1.14.4-1.3.noarch: install failed
error: system-user-flatpak-1.14.4-1.2.noarch: erase skipped
(24/48) Installing: system-user-flatpak-1.14.4-1.3.noarch .............................................................................................[error]
Installation of system-user-flatpak-1.14.4-1.3.noarch failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, retry, ignore? [a/r/i] (a): 

Have you checked to ensure there is no permission or owner/group corruption in the locations targeted for writes? e.g.:

# ls -ld /usr/lib/sysusers.d/ /usr/lib/sysusers.d/*
drwxr-xr-x 2 root root 1024 Aug 18 23:51 /usr/lib/sysusers.d/
-rw-r--r-- 1 root root  359 Aug 11 04:30 /usr/lib/sysusers.d/README
-rw-r--r-- 1 root root  108 Apr 13 08:16 /usr/lib/sysusers.d/avahi.conf
-rw-r--r-- 1 root root   70 Mar 19 19:10 /usr/lib/sysusers.d/dbus.conf
-rw-r--r-- 1 root root   98 Aug 12 09:19 /usr/lib/sysusers.d/nscd.conf
-rw-r--r-- 1 root root   70 Apr 29 11:38 /usr/lib/sysusers.d/rpc-user.conf
-rw-r--r-- 1 root root   96 Mar 20 01:52 /usr/lib/sysusers.d/rtkit.conf
-rw-r--r-- 1 root root  105 Mar 30 12:51 /usr/lib/sysusers.d/samba.conf
-rw-r--r-- 1 root root  108 Mar 20 00:42 /usr/lib/sysusers.d/scard.conf
-rw-r--r-- 1 root root   64 Jun  2 06:58 /usr/lib/sysusers.d/sshd.conf
-rw-r--r-- 1 root root   78 Apr 24 16:35 /usr/lib/sysusers.d/statd-user.conf
-rw-r--r-- 1 root root  358 Mar 19 12:17 /usr/lib/sysusers.d/system-group-hardware.conf
-rw-r--r-- 1 root root   37 Mar 19 12:17 /usr/lib/sysusers.d/system-group-kvm.conf
-rw-r--r-- 1 root root   38 Mar 19 12:17 /usr/lib/sysusers.d/system-group-wheel.conf
-rw-r--r-- 1 root root  112 Mar 19 17:50 /usr/lib/sysusers.d/system-user-at.conf
-rw-r--r-- 1 root root   66 Mar 19 12:17 /usr/lib/sysusers.d/system-user-bin.conf
-rw-r--r-- 1 root root   63 Mar 19 12:17 /usr/lib/sysusers.d/system-user-daemon.conf
-rw-r--r-- 1 root root   68 Mar 19 12:17 /usr/lib/sysusers.d/system-user-lp.conf
-rw-r--r-- 1 root root   77 Mar 19 12:17 /usr/lib/sysusers.d/system-user-mail.conf
-rw-r--r-- 1 root root   83 Mar 19 12:17 /usr/lib/sysusers.d/system-user-man.conf
-rw-r--r-- 1 root root  109 Mar 19 12:17 /usr/lib/sysusers.d/system-user-nobody.conf
-rw-r--r-- 1 root root   63 Mar 19 12:17 /usr/lib/sysusers.d/system-user-ntp.conf
-rw-r--r-- 1 root root  112 Apr 23 17:20 /usr/lib/sysusers.d/system-user-polkitd.conf
-rw-r--r-- 1 root root  275 Aug 12 09:24 /usr/lib/sysusers.d/system-user-root.conf
-rw-r--r-- 1 root root  314 Aug 12 16:13 /usr/lib/sysusers.d/systemd-journal.conf
-rw-r--r-- 1 root root  341 Aug 12 16:13 /usr/lib/sysusers.d/systemd-network.conf
-rw-r--r-- 1 root root  331 Aug 12 16:13 /usr/lib/sysusers.d/systemd-resolve.conf
-rw-r--r-- 1 root root  344 Aug 12 16:13 /usr/lib/sysusers.d/systemd-timesync.conf

All as expected here.

Show your /etc/group file.

permissions seem intact throughout /usr/lib/sysusers.d
-rw-r--r-- 1 root root

/etc/group:

❯ cat /etc/group                                                                                                                                cyril@dubServ
root:x:0:brltty
shadow:x:15:vnc
trusted:x:42:
users:x:100:
messagebus:x:499:
nogroup:x:65533:nobody,statd
nobody:x:65534:
man:x:62:
mail:!:498:
daemon:x:2:
wheel:x:497:
kmem:x:496:
lock:x:495:
tty:x:5:brltty
utmp:x:494:
audio:x:493:brltty,pulse
cdrom:x:492:
dialout:x:491:brltty
disk:x:490:
input:x:489:brltty
kvm:x:488:
lp:x:487:
render:x:486:
tape:x:485:
video:x:484:gdm:cyril
bin:x:1:daemon
systemd-journal:x:483:
systemd-network:x:482:
systemd-resolve:x:481:
systemd-timesync:x:480:
systemd-coredump:x:479:
nscd:x:478:
chrony:x:477:
polkitd:x:476:
ntadmin:x:71:
sshd:x:475:
ntp:x:474:
docs:x:1305:cyril,dubFam,breanne
media:x:1306:cyril,kodi,hts,transmission,dubFam,breanne
samba:x:1307:kodi,hts
keeper:x:1308:cyril
winbind:x:473:
ftp:!:472:
tftp:x:471:tftp,dnsmasq
svn:x:470:
transmission:x:469:
mediaShare:x:1309:breanne
rtkit:x:468:
srvGeoClue:!:464:
avahi:x:467:
scard:x:466:
colord:x:465:
firebird:x:463:
pulse:x:462:
pulse-access:x:461:brltty
brlapi:x:460:brltty
vnc:x:459:
nm-openvpn:x:458:
nm-openconnect:x:457:
gdm:x:456:
lightdm:x:455:
flatpak:!:452:
rpc:x:451:
statd:x:450:
audit:x:449:
wsdd:x:448:
brltty:x:447:
sgx:x:446:
dnsmasq:x:445:
tss:x:98:
usbmux:x:444:
docker:x:443:
dockremap:x:442:
jellyfin:!:441:

This line is wrong. Assuming cyril is existing user name which is supposed to belong to the group video, it should be gdm,cyril. Although I am not even sure, why gdm needs to be in the video group either.

Thank you!
I looked at that line several times while trouble-shooting, and STILL didn’t manage to catch that the list was not formed correctly.
Regarding gdm as a user in the video group… I will look into that.

Cheers,
-Cyril