The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to chroot in the Pipelines

verbin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 28, 2020

Hey, I work on Ubuntu ISO pipelines builder, in that process, I need to chroot into the ISO filesystem but I have an error.

```

+ chroot ./isonew/custom
/bin/sh: 0: can't access tty; job control turned off#

```

Have any ideas about how to deal with it?

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Matt Schuckmann
Contributor
January 19, 2022

I'm facing a similar problem, is it still the case that you can't chroot from a pipeline? 

Are there any recommended work arounds? 

0 votes
mkleint
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 5, 2021

you don't have permissions to do chroot. The build container would have to run with privileged access - https://stackoverflow.com/questions/33235395/run-chroot-within-docker

which we don't allow for security reasons. Also changing the root on the build would likely break some of the pipelines features  like pipes and others.

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events