Client can't create the certificate file because of filesystem permissions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Fix Released
|
Critical
|
Kevin McDermott |
Bug Description
The new client cannot write the certificate it gets from the server via user-data because the broker runs as "landscape" and /etc/landscape is owned by root:root:
2010-07-29 19:15:58,880 ERROR [MainThread] Got error while fetching meta-data: IOError(13, 'Permission denied')
Traceback (most recent call last):
File "/usr/lib/
self.result = callback(
File "/usr/lib/
instance_
File "/usr/lib/
key_file = open(key_filename, "w")
IOError: [Errno 13] Permission denied: '/etc/landscape
# l /etc/landscape -d
drwxr-xr-x 2 root root 4.0K Apr 28 16:14 /etc/landscape
Related branches
- Thomas Herve (community): Approve
- Free Ekanayaka (community): Approve
-
Diff: 193 lines (+40/-28)5 files modifiedlandscape/broker/registration.py (+1/-2)
landscape/broker/tests/test_registration.py (+9/-7)
landscape/configuration.py (+5/-5)
landscape/tests/helpers.py (+8/-0)
landscape/tests/test_configuration.py (+17/-14)
Changed in landscape-client: | |
status: | New → In Progress |
assignee: | nobody → Kevin McDermott (bigkevmcd) |
Changed in landscape-client: | |
status: | In Progress → Fix Committed |
tags: | added: needs-testing |
Changed in landscape-client: | |
status: | Fix Committed → Fix Released |
Confirmed fixed.