FS#75882 - [zabbix-server] tmpfiles.d overwritten in PKGBUILD

Attached to Project: Arch Linux
Opened by Dmitri Iouchtchenko (-) - Sunday, 11 September 2022, 21:40 GMT
Last edited by Florian Pritz (bluewind) - Sunday, 25 September 2022, 12:35 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Florian Pritz (bluewind)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

zabbix-server 6.2.1-2 (the current version in extra) doesn't include /var/lib/zabbix-server (the home directory for zabbix-server) in /usr/lib/tmpfiles.d/zabbix-server.conf. This causes shadow.service to fail with the following message:

user 'zabbix-server': directory '/var/lib/zabbix-server' does not exist

The total contents of /usr/lib/tmpfiles.d/zabbix-server.conf are as follows (1 line):

d /run/zabbix-server 750 zabbix-server zabbix-server

A change to the PKGBUILD from earlier this year (https://github.com/archlinux/svntogit-packages/commit/012ba510) added redirects to the server and proxy tmpfiles.d files, which clobber the original files. Those 2 lines in the PKGBUILD (currently 124 and 208) should probably use >> instead of >.
This task depends upon

Closed by  Florian Pritz (bluewind)
Sunday, 25 September 2022, 12:35 GMT
Reason for closing:  Fixed
Additional comments about closing:  zabbix 6.2.3-2

Thank you!

Loading...