FS#75635 - [xmrig] xmrig.sysusers not installed as xmrig.conf

Attached to Project: Community Packages
Opened by Arnold Sutton (doom) - Thursday, 18 August 2022, 08:02 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:04 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To kpcyrd (kpcyrd)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
xmrig.sysusers in the original source is installed as xmrig.sysusers rather than xmrig.conf.
See line 37 of the PKGBUILD for xmrig:
install -Dm0644 "${srcdir}/${pkgname}.sysusers" -t "${pkgdir}/usr/lib/sysusers.d"

The entire PKGBUILD is here:
https://github.com/archlinux/svntogit-community/blob/packages/xmrig/trunk/PKGBUILD

This is supposed to be installed as xmrig.conf as described by man page 5 for sysusers.d:
https://man.archlinux.org/man/sysusers.d.5

This causes the xmrig instances to return user errors, see the attached log file.

Additional info:
xmrig 6.18.0-1

Steps to reproduce:
1. Install xmrig from community
2. Start xmrig instance (any instance name will work), systemctl start xmrig@xmrig
4. journal -xeu xmrig@{instance here}.service
   tmp (2.4 KiB)
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:04 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/xmrig/issues/1

Loading...