The init script uses startproc (which is the SUSE equivalent of LSB's start_daemon) which just sets the UID to the openstack-nova UID but unlike sudo or su does not set $HOME
btw: Debians equivalent works the same:
daemon --user nobody -- bash -c 'echo $HOME > /tmp/foo'
cat /tmp/foo
/root
init script is at /build. opensuse. org/package/ view_file? expand= 1&file= openstack- nova.init& package= openstack- nova&project= Cloud%3AOpenSta ck%3AFolsom
https:/
The init script uses startproc (which is the SUSE equivalent of LSB's start_daemon) which just sets the UID to the openstack-nova UID but unlike sudo or su does not set $HOME
btw: Debians equivalent works the same:
daemon --user nobody -- bash -c 'echo $HOME > /tmp/foo'
cat /tmp/foo
/root