Community Packages

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#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 Toolybird (Toolybird) - Thursday, 18 August 2022, 21:06 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To kpcyrd (kpcyrd)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
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

Loading...