{"action":"created","issue":{"url":"https://api.github.com/repos/troglobit/inadyn/issues/261","repository_url":"https://api.github.com/repos/troglobit/inadyn","labels_url":"https://api.github.com/repos/troglobit/inadyn/issues/261/labels{/name}","comments_url":"https://api.github.com/repos/troglobit/inadyn/issues/261/comments","events_url":"https://api.github.com/repos/troglobit/inadyn/issues/261/events","html_url":"https://github.com/troglobit/inadyn/issues/261","id":472208710,"node_id":"MDU6SXNzdWU0NzIyMDg3MTA=","number":261,"title":"Debian Buster package forgets to set the permissions for the /var/run/inadyn directory properly","user":{"login":"ThomasKorimort","id":11570462,"node_id":"MDQ6VXNlcjExNTcwNDYy","avatar_url":"https://avatars0.githubusercontent.com/u/11570462?v=4","gravatar_id":"","url":"https://api.github.com/users/ThomasKorimort","html_url":"https://github.com/ThomasKorimort","followers_url":"https://api.github.com/users/ThomasKorimort/followers","following_url":"https://api.github.com/users/ThomasKorimort/following{/other_user}","gists_url":"https://api.github.com/users/ThomasKorimort/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasKorimort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasKorimort/subscriptions","organizations_url":"https://api.github.com/users/ThomasKorimort/orgs","repos_url":"https://api.github.com/users/ThomasKorimort/repos","events_url":"https://api.github.com/users/ThomasKorimort/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasKorimort/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-07-24T10:38:06Z","updated_at":"2019-07-24T16:53:29Z","closed_at":null,"author_association":"NONE","body":"Hi!\r\nI installed inadyn for updating my DNS provider dnsexit with my dynamic IP. It works nicely. When i tried to set it up as systemd daemon, the debian buster package forgot to set permissions properly on the /var/run/inadyn directory. It creates user debian-inadyn:debian-inadyn, but does not set permissions properly for /var/run/inadyn. After changing the ownership of /var/run/inadyn to debian-inadyn:debian-inadyn the service started and got active.\r\n\r\nThe following /etc/systemd/system/inadyn.service worked nicely at the end:\r\n[Unit]\r\nDescription=Internet Dynamic DNS Client\r\nDocumentation=man:inadyn\r\nDocumentation=man:inadyn.conf\r\nDocumentation=https://github.com/troglobit/inadyn\r\nAfter=network-online.target\r\nRequires=network-online.target\r\n\r\n[Service]\r\nType=simple\r\nUser=debian-inadyn\r\nGroup=debian-inadyn\r\nExecStart=/usr/bin/inadyn -s -F /etc/inadyn.conf\r\nrestart=on-failure\r\nRestartSec=5\r\n\r\n[Install]\r\nWantedBy=multi-user.target\r\n\r\nAlso i set according to the file /usr/share/doc/inadyn/NEWS.Debian.gz a setting to on in /etc/default/inadyn file.\r\n\r\nThe Debian Buster package installs the following files (dpkg -L inadyn):\r\n/.\r\n/var\r\n/var/log\r\n/var/log/inadyn\r\n/usr\r\n/usr/bin\r\n/usr/bin/inadyn\r\n/usr/share\r\n/usr/share/doc\r\n/usr/share/doc/inadyn\r\n/usr/share/doc/inadyn/README.md\r\n/usr/share/doc/inadyn/copyright\r\n/usr/share/doc/inadyn/changelog.Debian.gz\r\n/usr/share/doc/inadyn/NEWS.Debian.gz\r\n/usr/share/doc/inadyn/changelog.gz\r\n/usr/share/man\r\n/usr/share/man/man8\r\n/usr/share/man/man8/inadyn.8.gz\r\n/usr/share/man/man5\r\n/usr/share/man/man5/inadyn.conf.5.gz\r\n/usr/sbin\r\n/etc\r\n/etc/inadyn.conf\r\n/etc/default\r\n/etc/default/inadyn\r\n/etc/init.d\r\n/etc/init.d/inadyn\r\n/etc/logrotate.d\r\n/etc/logrotate.d/inadyn\r\n/etc/ppp\r\n/etc/ppp/ip-up.d\r\n/etc/ppp/ip-up.d/inadyn\r\n/usr/sbin/inadyn\r\n"},"comment":{"url":"https://api.github.com/repos/troglobit/inadyn/issues/comments/514713285","html_url":"https://github.com/troglobit/inadyn/issues/261#issuecomment-514713285","issue_url":"https://api.github.com/repos/troglobit/inadyn/issues/261","id":514713285,"node_id":"MDEyOklzc3VlQ29tbWVudDUxNDcxMzI4NQ==","user":{"login":"troglobit","id":183517,"node_id":"MDQ6VXNlcjE4MzUxNw==","avatar_url":"https://avatars0.githubusercontent.com/u/183517?v=4","gravatar_id":"","url":"https://api.github.com/users/troglobit","html_url":"https://github.com/troglobit","followers_url":"https://api.github.com/users/troglobit/followers","following_url":"https://api.github.com/users/troglobit/following{/other_user}","gists_url":"https://api.github.com/users/troglobit/gists{/gist_id}","starred_url":"https://api.github.com/users/troglobit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troglobit/subscriptions","organizations_url":"https://api.github.com/users/troglobit/orgs","repos_url":"https://api.github.com/users/troglobit/repos","events_url":"https://api.github.com/users/troglobit/events{/privacy}","received_events_url":"https://api.github.com/users/troglobit/received_events","type":"User","site_admin":false},"created_at":"2019-07-24T16:53:29Z","updated_at":"2019-07-24T16:53:29Z","author_association":"OWNER","body":"Hi Thomas!  This is the upstream Inadyn project and we are (currently) not responsible for the Debian packaging.  So you must unfortunately report all problems to them."}}
{"actor":{"display_login":"troglobit"}}