Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to chroot in the Pipelines

rez0n 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

0 votes
Matt Schuckmann 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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events