Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(429)

Issue 11715003: Improve xsession execution (Closed)

Created:
7 years, 12 months ago by Lambros
Modified:
7 years, 11 months ago
Reviewers:
Sergey Ulanov, Wez
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, rmsousa+watch_chromium.org, pam+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Improve xsession execution When running a custom xsession (such as ~/.xsession), execute it with /bin/sh -c, which copes better with scripts that have the executable permission set, but don't have a she-bang line, for example. BUG=167409 TEST=Verify with ~/.xsession executable but no she-bang. Also verify with default unity-2d session on Precise. NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175212

Patch Set 1 #

Total comments: 8

Patch Set 2 : Run xsession using /bin/sh -c #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -2 lines) Patch
M remoting/tools/me2me_virtual_host.py View 1 3 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Lambros
7 years, 12 months ago (2012-12-29 00:38:05 UTC) #1
Sergey Ulanov
https://codereview.chromium.org/11715003/diff/1/remoting/tools/me2me_virtual_host.py File remoting/tools/me2me_virtual_host.py (right): https://codereview.chromium.org/11715003/diff/1/remoting/tools/me2me_virtual_host.py#newcode368 remoting/tools/me2me_virtual_host.py:368: shell=isinstance( It looks wrong to use shell=True in some ...
7 years, 11 months ago (2013-01-02 18:42:42 UTC) #2
Wez
https://codereview.chromium.org/11715003/diff/1/remoting/tools/me2me_virtual_host.py File remoting/tools/me2me_virtual_host.py (right): https://codereview.chromium.org/11715003/diff/1/remoting/tools/me2me_virtual_host.py#newcode368 remoting/tools/me2me_virtual_host.py:368: shell=isinstance( On 2013/01/02 18:42:42, sergeyu wrote: > It looks ...
7 years, 11 months ago (2013-01-02 19:46:20 UTC) #3
Sergey Ulanov
https://codereview.chromium.org/11715003/diff/1/remoting/tools/me2me_virtual_host.py File remoting/tools/me2me_virtual_host.py (left): https://codereview.chromium.org/11715003/diff/1/remoting/tools/me2me_virtual_host.py#oldcode501 remoting/tools/me2me_virtual_host.py:501: return startup_file An alternative fix is to change this ...
7 years, 11 months ago (2013-01-02 22:56:54 UTC) #4
Lambros
https://codereview.chromium.org/11715003/diff/1/remoting/tools/me2me_virtual_host.py File remoting/tools/me2me_virtual_host.py (left): https://codereview.chromium.org/11715003/diff/1/remoting/tools/me2me_virtual_host.py#oldcode501 remoting/tools/me2me_virtual_host.py:501: return startup_file On 2013/01/02 22:56:54, sergeyu wrote: > An ...
7 years, 11 months ago (2013-01-03 01:50:26 UTC) #5
Sergey Ulanov
lgtm
7 years, 11 months ago (2013-01-04 21:33:09 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lambroslambrou@chromium.org/11715003/7001
7 years, 11 months ago (2013-01-04 22:23:28 UTC) #7
commit-bot: I haz the power
7 years, 11 months ago (2013-01-04 22:23:41 UTC) #8
Message was sent while issue was closed.
Change committed as 175212

Powered by Google App Engine
This is Rietveld 408576698