{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/14453","repository_url":"https://api.github.com/repos/elastic/elasticsearch","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/14453/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/14453/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/14453/events","html_url":"https://github.com/elastic/elasticsearch/issues/14453","id":114677803,"node_id":"MDU6SXNzdWUxMTQ2Nzc4MDM=","number":14453,"title":"ES 2.0 rpm does not create /home/elasticsearch","user":{"login":"packplusplus","id":1477148,"node_id":"MDQ6VXNlcjE0NzcxNDg=","avatar_url":"https://avatars2.githubusercontent.com/u/1477148?v=4","gravatar_id":"","url":"https://api.github.com/users/packplusplus","html_url":"https://github.com/packplusplus","followers_url":"https://api.github.com/users/packplusplus/followers","following_url":"https://api.github.com/users/packplusplus/following{/other_user}","gists_url":"https://api.github.com/users/packplusplus/gists{/gist_id}","starred_url":"https://api.github.com/users/packplusplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/packplusplus/subscriptions","organizations_url":"https://api.github.com/users/packplusplus/orgs","repos_url":"https://api.github.com/users/packplusplus/repos","events_url":"https://api.github.com/users/packplusplus/events{/privacy}","received_events_url":"https://api.github.com/users/packplusplus/received_events","type":"User","site_admin":false},"labels":[{"id":114977275,"node_id":"MDU6TGFiZWwxMTQ5NzcyNzU=","url":"https://api.github.com/repos/elastic/elasticsearch/labels/:Core/Packaging","name":":Core/Packaging","color":"0e8a16","default":false},{"id":23173,"node_id":"MDU6TGFiZWwyMzE3Mw==","url":"https://api.github.com/repos/elastic/elasticsearch/labels/%3Ebug","name":">bug","color":"b60205","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2015-11-02T20:30:57Z","updated_at":"2018-06-25T14:44:33Z","closed_at":"2018-05-02T21:33:35Z","author_association":"NONE","body":"Causes issue if you try to run a cron job as the ES user. Issue on centos 6, package from the repo. \n\n```\n[centos@ip-10-233-237-10 ~]$ sudo su - elasticsearch -s /bin/bash\nsu: warning: cannot change directory to /home/elasticsearch: No such file or directory\n\n-bash-4.1$ grep elastic /etc/passwd\nelasticsearch:x:498:498:elasticsearch user:/home/elasticsearch:/sbin/nologin\n\n-bash-4.1$ ls -l /home/\ntotal 4\ndrwx------. 3 centos centos 4096 Nov  2 20:23 centos\n```\n"},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/399977246","html_url":"https://github.com/elastic/elasticsearch/issues/14453#issuecomment-399977246","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/14453","id":399977246,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTk3NzI0Ng==","user":{"login":"prupert","id":171170,"node_id":"MDQ6VXNlcjE3MTE3MA==","avatar_url":"https://avatars2.githubusercontent.com/u/171170?v=4","gravatar_id":"","url":"https://api.github.com/users/prupert","html_url":"https://github.com/prupert","followers_url":"https://api.github.com/users/prupert/followers","following_url":"https://api.github.com/users/prupert/following{/other_user}","gists_url":"https://api.github.com/users/prupert/gists{/gist_id}","starred_url":"https://api.github.com/users/prupert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prupert/subscriptions","organizations_url":"https://api.github.com/users/prupert/orgs","repos_url":"https://api.github.com/users/prupert/repos","events_url":"https://api.github.com/users/prupert/events{/privacy}","received_events_url":"https://api.github.com/users/prupert/received_events","type":"User","site_admin":false},"created_at":"2018-06-25T14:44:33Z","updated_at":"2018-06-25T14:44:33Z","author_association":"NONE","body":"Although I'm not sure setting an invalid home directory is the _right way_ to prevent/nudge users not to run cron with the `elasticsearch` user, I do understand why you wouldn't want that happening. I will discontinue using the `elasticsearch` user for cron jobs. "}}
{"actor":{"display_login":"prupert"}}