run_as doesn't use the nominated users environment (i.e. attempts to use roots X connection)
Bug #1073617 reported by
Christopher Lee
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
UTAH |
Triaged
|
Medium
|
Unassigned |
Bug Description
I'm wanting to use the specified users desktop login, but run_as uses roots environment.
I've had to use a work around for this for the time being: command: su -c <user> <command>
Related branches
lp://qastaging/~nuclearbob/utah/bug1073617
- Max Brustkern (community): Needs Fixing
- Javier Collado (community): Needs Fixing
- Joe Talbott (community): Needs Information
-
Diff: 48 lines (+18/-4)2 files modifiedutah/client/common.py (+4/-4)
utah/client/tests/test_common.py (+14/-0)
lp://qastaging/~joetalbott/utah/fix_duplicate_docstrings
- Javier Collado (community): Approve
- Joe Talbott (community): Needs Resubmitting
-
Diff: 21 lines (+2/-2)1 file modifiedutah/client/tests/test_state_agent.py (+2/-2)
Changed in utah: | |
importance: | Undecided → Medium |
status: | Confirmed → Triaged |
Changed in utah: | |
importance: | Medium → High |
Changed in utah: | |
assignee: | nobody → Max Brustkern (nuclearbob) |
Changed in utah: | |
status: | In Progress → Triaged |
Changed in utah: | |
importance: | High → Medium |
To post a comment you must log in.
We're looking into the best way to implement this without running into permissions issues, and I'll update this further once we have that ready.