maas-rackd permission denied on /var/lib/maas/dhcpd.sock
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
After upgrading from 1.9 to 2.0 (part of Trusty to Xenial)..
maas-rackd is permanently off with the following error
2016-05-02 11:19:39+0100 [-] Log opened.
2016-05-02 11:19:39+0100 [-] twistd 16.0.0 (/usr/bin/python3 3.5.1) starting up.
2016-05-02 11:19:39+0100 [-] reactor class: twisted.
2016-05-02 11:19:39+0100 [-] Site starting on 5248
2016-05-02 11:19:39+0100 [-] <class 'provisioningse
2016-05-02 11:19:39+0100 [-] Traceback (most recent call last):
2016-05-02 11:19:39+0100 [-] File "/usr/lib/
2016-05-02 11:19:39+0100 [-] skt.bind(self.port)
2016-05-02 11:19:39+0100 [-] PermissionError: [Errno 13] Permission denied
2016-05-02 11:19:39+0100 [-]
2016-05-02 11:19:39+0100 [-] During handling of the above exception, another exception occurred:
2016-05-02 11:19:39+0100 [-]
2016-05-02 11:19:39+0100 [-] Traceback (most recent call last):
2016-05-02 11:19:39+0100 [-] File "/usr/bin/twistd3", line 18, in <module>
2016-05-02 11:19:39+0100 [-] run()
2016-05-02 11:19:39+0100 [-] File "/usr/lib/
2016-05-02 11:19:39+0100 [-] app.run(runApp, ServerOptions)
2016-05-02 11:19:39+0100 [-] File "/usr/lib/
2016-05-02 11:19:39+0100 [-] runApp(config)
2016-05-02 11:19:39+0100 [-] File "/usr/lib/
2016-05-02 11:19:39+0100 [-] _SomeApplicatio
2016-05-02 11:19:39+0100 [-] File "/usr/lib/
2016-05-02 11:19:39+0100 [-] self.postApplic
2016-05-02 11:19:39+0100 [-] File "/usr/lib/
2016-05-02 11:19:39+0100 [-] self.startAppli
2016-05-02 11:19:39+0100 [-] File "/usr/lib/
2016-05-02 11:19:39+0100 [-] app.startApplic
2016-05-02 11:19:39+0100 [-] File "/usr/lib/
2016-05-02 11:19:39+0100 [-] service.
2016-05-02 11:19:39+0100 [-] File "/usr/lib/
2016-05-02 11:19:39+0100 [-] service.
2016-05-02 11:19:39+0100 [-] File "/usr/lib/
2016-05-02 11:19:39+0100 [-] service.
2016-05-02 11:19:39+0100 [-] File "/usr/lib/
2016-05-02 11:19:39+0100 [-] self.port = self.reactor.
2016-05-02 11:19:39+0100 [-] File "/usr/lib/
2016-05-02 11:19:39+0100 [-] p.startListening()
2016-05-02 11:19:39+0100 [-] File "/usr/lib/
2016-05-02 11:19:39+0100 [-] self._bindSocket()
2016-05-02 11:19:39+0100 [-] File "/usr/lib/
2016-05-02 11:19:39+0100 [-] raise error.CannotLis
2016-05-02 11:19:39+0100 [-] twisted.
2016-05-02 11:19:39+0100 [-] Unhandled Error
Traceback (most recent call last):
--- <exception caught here> ---
File "/usr/lib/
info = yield self._fetch_
#apparent fix :
chown maas:maas /var/lib/maas
tags: | added: cpe-sa |
Hi Thomas,
Did you capture what were the permissions of the directory in question after you upgraded and before you changed the permissions ?
I'm guessing that now it all is owned by maas:maas, but without the permissions before you chagned those we wont be able to debug. We've had other people upgrade and not come across this issue. Can you specify from which 1.9 did you upgrade from?
Thnaks1