anyuta1166 / inadyn

Inadyn is a free DDNS client. It makes is possible to have a fixed Internet hostname registered to a dynamic IP address.
GNU General Public License v2.0
4 stars 0 forks source link

Two bugs that are not critical #4

Open rtorrentuser opened 12 years ago

rtorrentuser commented 12 years ago

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.
rtorrentuser commented 12 years ago

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 commented 7 years ago

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.