On Thu, Mar 29, 2018, at 05:43, Leander Schäfer wrote:
> Hello,
> 
> it looks like textproc/elasticsearch6 does not honour /etc/profile?
> Please have a look for detailed description and reproduction of the
> issue:
> https://forums.freebsd.org/threads/textproc-elasticsearch6-does-not-honour-etc-profile.65338/
> 
> Best regards,
> 
> Leander S.

I'm pretty sure this is not supposed to work. /etc/profile is used by sh(1) and 
would only be read during a login shell. The FreeBSD rc subsystem uses "su -m" 
when running processes as a specific user, not "su -l". The "su -l" would fail 
because ElasticSearch's user has a default shell of /sbin/nologin. As far as I 
can tell this is normal behavior.

If you need to change env for Elastic you can use the elasticsearch_env="" in 
/etc/rc.conf. Any further questions about overcoming issues in your environment 
are welcome. We also have a list for elastic now called 
"freebsd-elas...@freebsd.org". 


Hope that helps,


-- 
  Mark Felder
  ports-secteam & portmgr member
  f...@freebsd.org
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to