xmrig.sysusers not installed as xmrig.conf
Task Info (Flyspray) | |
---|---|
Opened By | Arnold Sutton (doom) |
Task ID | 75635 |
Type | Bug Report |
Project | Community Packages |
Category | Packages |
Version | None |
OS | All |
Opened | 2022-08-18 08:02:28 UTC |
Status | Assigned |
Assignee | kpcyrd (kpcyrd) |
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:
- Install xmrig from community
- Start xmrig instance (any instance name will work), systemctl start xmrig@xmrig
- journal -xeu xmrig@{instance here}.service