Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two bugs that are not critical #4

Open
rtorrentuser opened this issue Oct 12, 2012 · 2 comments
Open

Two bugs that are not critical #4

rtorrentuser opened this issue Oct 12, 2012 · 2 comments
Assignees
Labels
Milestone

Comments

@rtorrentuser
Copy link

Just for your information.

  1. 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.
  2. PID file is not removed on inadyn exit.
@ghost ghost assigned anyuta1166 Oct 12, 2012
@rtorrentuser
Copy link
Author

And one more thing. Since we now have --cachefile option, it would be great to automatically create cache directory with appropriate permissions and ownerships.

@troglobit
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants