Closed
Bug 863258
Opened 12 years ago
Closed 12 years ago
give cltbld write permission to /dev/video0, and add to audio group on ec2 ubuntu linux slaves
Categories
(Infrastructure & Operations Graveyard :: CIDuty, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ted, Assigned: jhopkins)
References
Details
Attachments
(2 files)
(deleted),
text/plain
|
Details | |
(deleted),
patch
|
dustin
:
review+
ted
:
feedback+
jhopkins
:
checked-in+
|
Details | Diff | Splinter Review |
Bug 826265 added the v4l2loopback driver to the Linux test slaves. Unfortunately /dev/video0 is chmod 0600, with group "video", which cltbld is not currently in. There are two easy ways to fix this:
a) Add cltbld to the video group
b) Use a udev rule to chmod it 0666
Attached is a udev rule you can drop in /etc/udev/rules.d/ to do the latter. I don't care which way you fix it, they should both work fine.
Comment 1•12 years ago
|
||
This is for the ubuntu ec2 linux slaves, right?
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → jhopkins
Reporter | ||
Comment 2•12 years ago
|
||
Correct, sorry.
Summary: give cltbld write permission to /dev/video0 → give cltbld write permission to /dev/video0 on ec2 linux slaves
Reporter | ||
Comment 3•12 years ago
|
||
I also need cltbld to be in the audio group, as it turns out. (Could probably fudge this with udev magic as well, but I haven't tested.)
Summary: give cltbld write permission to /dev/video0 on ec2 linux slaves → give cltbld write permission to /dev/video0, and add to audio group on ec2 ubuntu linux slaves
Reporter | ||
Comment 4•12 years ago
|
||
If I had to guess, probably just:
SUBSYSTEM=="sound" MODE="0666"
Assignee | ||
Comment 5•12 years ago
|
||
Attachment #740391 -
Flags: review?(rail)
Attachment #740391 -
Flags: feedback?(ted)
Comment 6•12 years ago
|
||
Comment on attachment 740391 [details] [diff] [review]
[puppet] add cltbld to ['video','audio'] groups on Ubuntu
302 dustin, since he is the initial author of that module.
Attachment #740391 -
Flags: review?(rail) → review?(dustin)
Reporter | ||
Comment 7•12 years ago
|
||
Comment on attachment 740391 [details] [diff] [review]
[puppet] add cltbld to ['video','audio'] groups on Ubuntu
This seems plausible, although I don't speak puppet specifically.
Attachment #740391 -
Flags: feedback?(ted) → feedback+
Updated•12 years ago
|
Attachment #740391 -
Flags: review?(dustin) → review+
Assignee | ||
Comment 8•12 years ago
|
||
Test results...
Prior to the patch:
cltbld@tst-linux64-ec2-003:~$ groups
cltbld
With the patch applied:
cltbld@tst-linux64-ec2-001:~$ groups
cltbld audio video
Also tested on Linux and Mac build slaves to confirm no changes will be made (we only want to update Ubuntu build slaves).
Assignee | ||
Comment 9•12 years ago
|
||
Comment on attachment 740391 [details] [diff] [review]
[puppet] add cltbld to ['video','audio'] groups on Ubuntu
Landed in http://hg.mozilla.org/build/puppet/rev/1148b6746afa
Attachment #740391 -
Flags: checked-in+
Assignee | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
Updated•7 years ago
|
Product: Release Engineering → Infrastructure & Operations
Updated•5 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•