MaaS http config generates warnings about missing /home/maas
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maas (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
When running in Daemon mode, Apache defaults to running the wsgi daemon in the home directory of the user it is running them as.
By default we do not create /home/maas (because we explicitly refuse a login shell, we don't need a home dir).
http://
The error log contains messages like:
[Tue Oct 23 13:14:23 2012] [alert] (2)No such file or directory: mod_wsgi (pid=4393): Unable to change working directory to '/home/maas'
The simple fix is to update maas-httpd.conf to have:
WSGIDaemonProcess maas user=maas group=maas processes=2 threads=1 display-
Which will always work since you have a '/' for Apache to chdir to.
This doesn't seem to prevent the service from running, it just generates noise in the /var/log/
no longer affects: | maas |
Changed in maas (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: landscape |