If an image has a /etc/taskcluster-interactive-shell.sh file, when running an interactive shell, that file should be run instead of bash: https://github.com/taskcluster/taskcluster-tools/blob/master/shell/app.jsx#L37 However, I'm getting "Permission denied" here (after the motd prints correctly). To reproduce, you can spin up a loaner based on this task and start the shell: https://tools.taskcluster.net/task-inspector/#XGssLQNBSUqF4WwKa5oyAg/0 I was able to get this working by setting up a local copy of taskcluster-tools and instead reading the start script from $HOME/taskcluster-interactive-shell.sh. Alternatively we should make sure the file has the proper permissions set.
I vaguely remember that we needed to run everything as root before, and then Dustin or someone changed that. Maybe this used to work back then? I tested this patch with a local instance of taskcluster-tools and it wfm.
Assignee: nobody → ahalberstadt
Status: NEW → ASSIGNED
Attachment #8753844 - Flags: review?(jopsen)
Will this do?
Attachment #8754108 - Flags: review?(ahalberstadt)
Comment on attachment 8753844 [details] [review] Run taskcluster-interactive-shell.sh from $HOME I don't like the $HOME variable... that seems a bit unpredictable to me. Let's do an absolute path, so there is no confusion. You can still change user inside the script if you want.
Attachment #8753844 - Flags: review?(jopsen) → review-
Comment on attachment 8754108 [details] [review] github counter offer Yep, wfm! I like this better too.
Attachment #8754108 - Flags: review?(ahalberstadt) → review+
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
Component: Tools → UI and Tools
Product: Taskcluster → Taskcluster
You need to log in before you can comment on or make changes to this bug.