Summary: | net-analyzer/zabbix-3.0.3-r1 and above creating etc files owned by user of webserver | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | zasire <zasire> |
Component: | Current packages | Assignee: | Patrick Lauer <patrick> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alicef, joergd, treecleaner |
Priority: | Normal | Keywords: | PMASKED |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 528694 | ||
Bug Blocks: | |||
Deadline: | 2019-11-27 | ||
Attachments: | fixed zabbix-3.0.4.ebuild |
Description
zasire
2016-09-05 17:48:34 UTC
Same result happens in net-analyzer/zabbix-3.0.3-r1 with "frontend" enabled Maybe i was to fast filling that bug. I've just found out that ALL files for Zabbix are owned by nginx:nginx in 3.0.3-r1 and above. That includes service files, init files or anything else. Created attachment 445052 [details]
fixed zabbix-3.0.4.ebuild
I've digged into this a bit more and at least a solution. This Bug seems to have existed before and the old ebuilds had "fix". I don't know what causes this problem but the old EAPI 5 ebuilds up to 2.4.7 had a couple of lines to fix the permissions. These lines are missing in the new EAPI 6 ebuilds from 2.4.8 to current. But even those were not enough as systemd service files will still have wrong permissions.
I've added a fix to the ebuild as similar to the one on current stable. Additionally i've checked for the fix to be run only on "frontend" USE flag and added systemd file too. That would fix the tmpfiles.d bug we have currently in stable as tmp files will not be created for systemd.
that's a fallout from bug 528694 ... maybe. its interesting that i didn't see any of this in my installation(s) or upgrades bug 528694 got fixed in newer versions *** Bug 606160 has been marked as a duplicate of this bug. *** |