ES 2.0 deb installation issues

Heya,

I'm using the following command to install ES 2.0 on Ubuntu LTS 14.04:

es_version=2.0.0 && curl -s "https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/deb/elasticsearch/$es_version/elasticsearch-$es_version.deb" -o elasticsearch-$es_version.deb && sudo dpkg -i elasticsearch-$es_version.deb && sudo update-rc.d elasticsearch defaults 95 10

This used to work before (pre-2.0) but isn't working now. It complains about /usr/share/elasticsearch/config and /usr/share/elasticsearch/log not accessible (which they indeed aren't). I had to manually symlink the /etc and /var paths to the ones ES was expecting:

ln -s /etc/elasticsearch/ /usr/share/elasticsearch/config
ln -s /var/log/elasticsearch/ /usr/share/elasticsearch/logs

In addition, I can't seem to disable swappiness via bootstrap.mlockall: true - ES will complain even when that is set and even when I edit /etc/security/limits.conf manually and restart the service.

I'm not quite sure what's going on. I know there have been similar issues with paths in the past, has anything changed in 2.0 that could cause this?

Thanks

These have never been the default paths, so not sure why it wants them?

I wouldn't know... this happens for me on every Ubuntu machine I launch on
Azure. Can you check this on your end? have you had reports for similar
issues?

I just tried this on an Ubuntu 14.04 machine, didn't run into this!

Seems to work fine now - but was happening repeatedly on Azure Ubuntu
boxes.. weird..