[Pkg-cacti-maint] Bug#923309: cacti-spine_1.1.37-2~bpo9+1 fails to run under non-root user
sven at svenhartge.de
Wed Feb 27 20:53:57 GMT 2019
On 27.02.19 21:35, Paul Gevers wrote:
> @Paul, Thanks for reporting this issue. Please check the existing
> comments in bug 904332
> @Sven can you please help us and maybe explain how Paul should be using
> the cacti-spine binary with these Linux capabilities enabled that we
> added in that version by your patch. I guess he needs to install
> libcap2-bin and run $(chmod u-s /usr/sbin/spine)
Yes, but one additional step:
You also need to set the capabilities:
setcap cap_net_raw+ep /usr/sbin/spine
After that, everything should be back in working order.
If not, then the bug is at a different place. Also the missing setuid
bit and the missing capabilities only prevent the use of the
ICMP-Checker for Host Liveliness Checking, but not the failure to run at
Without those two bits in place, SNMP gathering will still work.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the Pkg-cacti-maint