-
Notifications
You must be signed in to change notification settings - Fork 25.8k
ES 2.0 rpm does not create /home/elasticsearch #14453
Copy link
Copy link
Closed
Labels
:Delivery/PackagingRPM and deb packaging, tar and zip archives, shell and batch scriptsRPM and deb packaging, tar and zip archives, shell and batch scripts>bugTeam:DeliveryMeta label for Delivery teamMeta label for Delivery team
Description
Causes issue if you try to run a cron job as the ES user. Issue on centos 6, package from the repo.
[centos@ip-10-233-237-10 ~]$ sudo su - elasticsearch -s /bin/bash
su: warning: cannot change directory to /home/elasticsearch: No such file or directory
-bash-4.1$ grep elastic /etc/passwd
elasticsearch:x:498:498:elasticsearch user:/home/elasticsearch:/sbin/nologin
-bash-4.1$ ls -l /home/
total 4
drwx------. 3 centos centos 4096 Nov 2 20:23 centos
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Delivery/PackagingRPM and deb packaging, tar and zip archives, shell and batch scriptsRPM and deb packaging, tar and zip archives, shell and batch scripts>bugTeam:DeliveryMeta label for Delivery teamMeta label for Delivery team
Type
Fields
Give feedbackNo fields configured for issues without a type.