{"action":"created","issue":{"url":"https://api.github.com/repos/jedisct1/pure-ftpd/issues/22","labels_url":"https://api.github.com/repos/jedisct1/pure-ftpd/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/jedisct1/pure-ftpd/issues/22/comments","events_url":"https://api.github.com/repos/jedisct1/pure-ftpd/issues/22/events","html_url":"https://github.com/jedisct1/pure-ftpd/issues/22","id":65654610,"number":22,"title":"Can clearargs be flaggable","user":{"login":"lyda","id":714124,"avatar_url":"https://avatars.githubusercontent.com/u/714124?v=3","gravatar_id":"","url":"https://api.github.com/users/lyda","html_url":"https://github.com/lyda","followers_url":"https://api.github.com/users/lyda/followers","following_url":"https://api.github.com/users/lyda/following{/other_user}","gists_url":"https://api.github.com/users/lyda/gists{/gist_id}","starred_url":"https://api.github.com/users/lyda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lyda/subscriptions","organizations_url":"https://api.github.com/users/lyda/orgs","repos_url":"https://api.github.com/users/lyda/repos","events_url":"https://api.github.com/users/lyda/events{/privacy}","received_events_url":"https://api.github.com/users/lyda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-01T10:30:10Z","updated_at":"2015-04-01T10:45:33Z","closed_at":null,"body":"It would be nice to see the current pure-ftp config. The `clearargs()` function in ftpd.c kind of ruins that. I get that there are Sound Security Reasons[0] for not doing so, but for those of us willing to take the risk it would be a nice option if we're trying to confirm the current configuration of pure-ftpd.\r\n\r\nI can send a pull-request with the change, but just seeing if you'd be open to it and if you had a preferred option letter.\r\n\r\n[0] There aren't really, but I know some think there are."},"comment":{"url":"https://api.github.com/repos/jedisct1/pure-ftpd/issues/comments/88437012","html_url":"https://github.com/jedisct1/pure-ftpd/issues/22#issuecomment-88437012","issue_url":"https://api.github.com/repos/jedisct1/pure-ftpd/issues/22","id":88437012,"user":{"login":"jedisct1","id":124872,"avatar_url":"https://avatars.githubusercontent.com/u/124872?v=3","gravatar_id":"","url":"https://api.github.com/users/jedisct1","html_url":"https://github.com/jedisct1","followers_url":"https://api.github.com/users/jedisct1/followers","following_url":"https://api.github.com/users/jedisct1/following{/other_user}","gists_url":"https://api.github.com/users/jedisct1/gists{/gist_id}","starred_url":"https://api.github.com/users/jedisct1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedisct1/subscriptions","organizations_url":"https://api.github.com/users/jedisct1/orgs","repos_url":"https://api.github.com/users/jedisct1/repos","events_url":"https://api.github.com/users/jedisct1/events{/privacy}","received_events_url":"https://api.github.com/users/jedisct1/received_events","type":"User","site_admin":false},"created_at":"2015-04-01T10:45:33Z","updated_at":"2015-04-01T10:45:33Z","body":"Hi Lyda,\r\n\r\nThe main reason for `clearargs()` is that Linux still doesn't provide `setproctitle(3)`.\r\n\r\nAs a result, overwriting the command-line arguments buffer is required in order to change the process name.\r\n\r\nKnowing which process does what by looking at its name is quite useful, and changing this behavior now is probably a bad idea. There are probably even people running scripts depending on these.\r\n\r\nAn alternative way to start the service is by using a configuration file. While it doesn't confirm that the running service matches the current configuration, it's still a pretty good hint for it :)"}}