You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Permission issue on /var/lib/pbench-agent/pbench.log on put-shim #3302
when pbench-results-push command on pbench-agent is called from put-shim on the pbench-server it is unable to create, access pbench-agent directory and pbench.log file respectively. File owner is root.root.
It looks like pbench_run is set to /var/lib/pbench-agent in /opt/pbench-agent/config/pbench-agent-default.cfg. You could try overriding that in your pbench-agent.cfg file and pointing it to a directory where the Agent can write.
Unfortunately, there seem to be lots of places where /var/lib/pbench-agent is hard-coded, so I don't know whether changing the configuration will get to the spot where you need it, but it's worth a try.
On the other hand, since we control the system where put-shim is going to run, at least for now you could manually create this directory and give it the appropriate permissions for our use.
Activity
webbnh commentedon Mar 3, 2023
It looks like
pbench_runis set to/var/lib/pbench-agentin/opt/pbench-agent/config/pbench-agent-default.cfg. You could try overriding that in yourpbench-agent.cfgfile and pointing it to a directory where the Agent can write.Unfortunately, there seem to be lots of places where
/var/lib/pbench-agentis hard-coded, so I don't know whether changing the configuration will get to the spot where you need it, but it's worth a try.On the other hand, since we control the system where
put-shimis going to run, at least for now you could manually create this directory and give it the appropriate permissions for our use.