MAAS doesn't have permissions to write in /etc/bind/maas
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Critical
|
Unassigned | ||
maas (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
MAAS needs permissions to write in /etc/bind/maas, however, MAAS is not run as root.
Traceback (most recent call last):
File "/usr/lib/
return cls(states.SUCCESS, retval=fun(*args, **kwargs))
File "/usr/lib/
return self.run(*args, **kwargs)
File "/usr/lib/
return fun(*args, **kwargs)
File "/usr/lib/
dns_
File "/usr/lib/
atomic_
File "/usr/lib/
temp_file = _write_
File "/usr/lib/
prefix=".%s." % os.path.
File "/usr/lib/
return _mkstemp_inner(dir, prefix, suffix, flags)
File "/usr/lib/
fd = _os.open(file, flags, 0600)
OSError: [Errno 13] Permission denied
Related branches
Changed in maas: | |
importance: | Undecided → Critical |
Changed in maas (Ubuntu): | |
importance: | Undecided → High |
status: | New → Triaged |
When the package creates this directory, can't it just make it owned/writable by the maas user?