[collectd] exec-plugin permission bug (?)
newsletter at amb-net.de
Mon Sep 3 10:50:52 CEST 2007
Sebastian Harl schrieb:
>>> Exec <user>: <script>
>> Tried that, now - did'nt work..
> Which part failed?
The parte where he should change the group.. ;) The group stays "root"
even with the colon..
> Please try again with the patched version of collectd and provide the error
> messages. They are so much more helpful than just guessing what might have
> gone wrong ;-)
Okay.. Now it's getting really strange (yes! even stranger than before..
He complains about not finding the script:
Sep 3 10:42:41 localhost collectd: exec plugin: exec failed: \
No such file or directory
~# grep 'postfix' /etc/collectd/collectd.conf
Exec rrduser:adm "/usr/local/bin/rrdscripts/rrd-postfix.sh"
~# ls -lah /usr/local/bin/rrdscripts/rrd-postfix.sh
-rwxr-xr-x 1 rrduser adm 2,1K 2007-08-27 18:27 \
...all done using copy/paste - so I didn't correct anything unnoticed...
When removing the "adm" from the config-file, so it only sais: 'Exec
rrduser: "/foo/bar"' the script is found, but doesn't work (as explained
More information about the collectd