Closed Bug 1293822 Opened 8 years ago Closed 8 years ago

/home/worker files should be owned by worker:worker

Categories

(Taskcluster Graveyard :: Docker Images, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla51

People

(Reporter: gps, Assigned: gps)

References

Details

Attachments

(1 file)

2f0d6ea822b5 (bug 1163057) changed behavior of the "tester" Docker image to chown /home/worker to root:root instead of worker:worker. This code has been copied into the Ubuntu 12.04 and 16.04 desktop test images.

The existing code is:

# Remove once running under 'worker' user. This is necessary for pulseaudio to start
# XXX: change this back to worker:worker once permissions issues are resolved
RUN            chown -R root:root /home/worker

AFAICT, we su to the "worker" user pretty early in container start, before any pulseaudio code runs. So I'm pretty sure whatever permissions issues this is referring to have been resolved.

Let's change the Docker images to chown /home/worker as worker:worker.
Comment on attachment 8779565 [details]
Bug 1293822 - Have worker own /home/worker files;

https://reviewboard.mozilla.org/r/70536/#review68196

The Try push on this looks happy!
Comment on attachment 8779565 [details]
Bug 1293822 - Have worker own /home/worker files;

https://reviewboard.mozilla.org/r/70536/#review68274

For the record, the pulseaudio troubles were documented in bug 1214809.  But the chown this patch removes was added in bug 1212411.  I think the comments at the beginning of bug 1214809 regarding pulseaudio never actually working were referencing, among other things, the chown in bug 1212411.  So as the try push confirms, this change will not cause regressions.
Attachment #8779565 - Flags: review?(dustin) → review+
Pushed by gszorc@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/15fd5d4ddb7c
Have worker own /home/worker files; r=dustin
https://hg.mozilla.org/mozilla-central/rev/15fd5d4ddb7c
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
Product: Taskcluster → Taskcluster Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: