MAAS' nginx attempts to log in default locations for snap, gets permission denied

Bug #2065598 reported by Christian Grabowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Triaged
Medium
Unassigned

Bug Description

When running MAAS in a snap, nginx attempts to log in its default locations (/var/log/nginx/access.log, /var/log/nginx/error.log) these locations are read-only in the snap and nginx errors with permission denied.

nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)
nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)
nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)
nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)

This does not prevent nginx from functioning, but does prevent debugging issues.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.