kohrar commented on PR #8568: URL: https://github.com/apache/cloudstack/pull/8568#issuecomment-1912377499
> clgtm, it seems that the ui can now be deployed as any user (something outside the diff may force user 'cloud', not sure). is that right @kohrar ? Out of the box, CloudStack serves the UI (via the cloudstack-management service) as the 'cloud' user, as defined by the [cloudstack-management service file](https://github.com/apache/cloudstack/blob/19250403e645c76f60b17aa4aeb4dc915f5ca206/packaging/systemd/cloudstack-management.service#L33). An operator could in theory change the daemon user to something other than cloud. I don't see anything in the CloudStack documentation about changing this. Regardless of what user cloudstack-management runs as (cloud or otherwise), this PR will fix the case where the UI and API breaks if a CloudStack operator tries to install the cloudstack-ui package and configures the CloudStack management service to use that webapp directory with `webapp.dir=/usr/share/cloudstack-ui` (in `/etc/cloudstack/management/server.properties`). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
