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
PID directory has to be manually created and chowned to unprivileged user
before starting inadyn with --drop-privs option, otherwise PID directory
is created as root:root 0755 and inadyn doesn't start at all with 'Failed
opening pidfile /var/run/inadyn/inadyn.pid for writing: Permission denied'
in log file.
PID file is not removed on inadyn exit.
The text was updated successfully, but these errors were encountered:
And one more thing. Since we now have --cachefile option, it would be great to automatically create cache directory with appropriate permissions and ownerships.
I agree with some of these issues, but in general (and as I've interpreted Debian packaging guidelines, for instance) I believe creating necessary directories, setting ownership for files, etc. are better handled by distribution specific install scripts.
Upstream Inadyn has support for changing identity, dropping privileges, and also to change the filename and path to both PID and cache files.
Just for your information.
before starting inadyn with --drop-privs option, otherwise PID directory
is created as root:root 0755 and inadyn doesn't start at all with 'Failed
opening pidfile /var/run/inadyn/inadyn.pid for writing: Permission denied'
in log file.
The text was updated successfully, but these errors were encountered: