MAAS fails clean install www-data user does not exist due to nginx requirement
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Undecided
|
Unassigned | ||
nginx (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
MAAS requires nginx, but nginx-related packages fail to install properly if user "www-data" has been removed.
This causes any MAAS component that relies on nginx to fail dpkg configuration.
Specifically, these packages will fail configuration/full installation:
Errors were encountered while processing:
nginx-common
libnginx-
libnginx-
nginx-core
libnginx-mod-mail
maas-rack-
libnginx-
libnginx-
maas
Happens on any version of MAAS where nginx is required (2.4+?)
Recreate: Remove www-data user prior to installing MAAS (sudo userdel -fr www-data)
While I know this is a bug with nginx, "apt install maas" should fail much earlier of pre-reqs fail to install. Discovered while installing on customer provided "hardened" Ubuntu Image
This is not a maas bug.
Since nginx fails to install and it's a maas dependency, install is interrupted and can't complete instaling maas.