gstd-1.x
gstd-1.x copied to clipboard
gstd as non-root user?
Running gstd assumes write access to /var/log /var/run, etc. There appear to be no command line options (or perhaps they are undocumented?) for overriding this behavior when starting.
Hi @phil-marble, currently you can set the desired logging (/var/log/) and PID (/var/run) directories during configuration. Something like:
./configure --with-gstd-runstatedir=/var/run --with-gstd-logstatedir=/var/log/
The default values are set to $prefix/var/run/gstd/ and $prefix/var/log/gstd/ respectively. You may want to check the config.log file to verify your current configuration.
The make install process give the specified directory read and write access. Gstd should run as non-root.
Currently, there is no way to specify these directories via command line arguments. There's nothing impeding this though and its a small change. It's just not implemented.
Does this unblock you?
I'm not blocked, I'd just like to see these as runtime configurable via command line options, eventually.
Agreed. Marked as enhancement already.
Thanks!