Merge lp:~therve/landscape-client/config-permissions into lp:~landscape/landscape-client/trunk
Proposed by
Thomas Herve
Status: | Merged |
---|---|
Approved by: | Alberto Donato |
Approved revision: | 586 |
Merged at revision: | 586 |
Proposed branch: | lp:~therve/landscape-client/config-permissions |
Merge into: | lp:~landscape/landscape-client/trunk |
Diff against target: |
48 lines (+16/-0) 3 files modified
debian/landscape-client.postinst (+1/-0) landscape/deployment.py (+3/-0) landscape/tests/test_deployment.py (+12/-0) |
To merge this branch: | bzr merge lp:~therve/landscape-client/config-permissions |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alberto Donato (community) | Approve | ||
Geoff Teale (community) | Approve | ||
Review via email: mp+129616@code.launchpad.net |
Description of the change
The branch adds a chown call in the postinst for safety, and complains if we try to start the client with a config file that the landscape user can't read. In trunk it succeeds and use default values, which is less than useful. Maybe it should also fail if the config is not enough to run (ie can't register?), but I think it's enough for now.
To post a comment you must log in.
+1 All good.