installer_debug.gz fails due to permissions trouble
Bug #1316696 reported by
Chris Gregan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Base |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Build Version/Date: 1.9
Environment used for testing: Trusty
Summary:
gzip reports permissions denied for /var/log/
Steps to Reproduce:
1) Run any suite
Expected result:
Actual result:
Related branches
lp:~roadmr/checkbox/cdts-fixes
- Zygmunt Krynicki (community): Approve
-
Diff: 20 lines (+2/-1)1 file modifiedproviders/plainbox-provider-checkbox/jobs/info.txt.in (+2/-1)
Changed in cdts: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Daniel Manrique (roadmr) |
information type: | Proprietary → Public |
Changed in plainbox-provider-checkbox: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in cdts: | |
status: | Triaged → In Progress |
Changed in plainbox-provider-checkbox: | |
status: | Triaged → In Progress |
Changed in cdts: | |
milestone: | none → version2.0 |
Changed in cdts: | |
status: | In Progress → Fix Committed |
Changed in plainbox-provider-checkbox: | |
status: | In Progress → Fix Committed |
milestone: | none → 0.6 |
Changed in cdts: | |
status: | Fix Committed → Fix Released |
Changed in plainbox-provider-checkbox: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This is an easy one :)
$ ls -la /var/log/installer/
total 960
drwxrwxr-x 2 root root 4096 Mar 24 09:10 .
drwxrwxr-x 15 root syslog 4096 May 6 10:40 ..
-rw------- 1 root root 1175 Mar 4 16:23 casper.log
-rw------- 1 root root 4861 Mar 4 16:29 debug
-rw-rw-r-- 1 root root 488966 Mar 4 16:30 initial-status.gz
-rw-r--r-- 1 root root 55 Mar 4 16:30 media-info
-rw------- 1 root root 184116 Mar 4 16:25 partman
-rw------- 1 syslog adm 276899 Mar 24 09:10 syslog
-rw------- 1 root root 16 Mar 4 16:23 version
Notice debug is readable only by root, yet the job doesn't specify user: root. Adding this to the job definition will clear this problem up.
It's an attachment, so this bug has been there forever, we just never noticed because checkbox-old ate attachment failures.