Merge lp:~doanac/utah/installer-log-perms into lp:utah

Proposed by Andy Doan
Status: Merged
Merged at revision: 1040
Proposed branch: lp:~doanac/utah/installer-log-perms
Merge into: lp:utah
Diff against target: 11 lines (+1/-0)
1 file modified
utah/run.py (+1/-0)
To merge this branch: bzr merge lp:~doanac/utah/installer-log-perms
Reviewer Review Type Date Requested Status
Para Siva (community) Approve
Review via email: mp+214323@code.launchpad.net

Description of the change

fix psivaa's issue where we are unable to pull installer logs

To post a comment you must log in.
Revision history for this message
Para Siva (psivaa) wrote :

+1. Thanks.

review: Approve
Revision history for this message
Andy Doan (doanac) wrote :

ugh - doesn't work with debian-installer. I need to find another way to do this

lp:~doanac/utah/installer-log-perms updated
1040. By Andy Doan

allow users to pull files from /var/log/installer

The installer makes this readable only by root. We override this so
we can more easily pull the installer logs

1041. By Andy Doan

oops run as root

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'utah/run.py'
2--- utah/run.py 2014-01-08 20:16:48 +0000
3+++ utah/run.py 2014-04-04 20:09:20 +0000
4@@ -362,6 +362,7 @@
5 :rtype: list(str)
6
7 """
8+ machine.run('chmod -R go+r /var/log/installer', root=True)
9 outdir = (args.outdir or os.path.join(config.logpath, machine.name))
10 if not os.path.isdir(outdir):
11 try:

Subscribers

People subscribed via source and target branches

to all changes: