Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A change in awk prevents me from installing crouton-fedora-wayland? #13

Open
willardthor opened this issue Dec 30, 2017 · 2 comments
Open

Comments

@willardthor
Copy link

willardthor commented Dec 30, 2017

Hi there,

I was following the install instructions, when this happened:

chronos@localhost ~/Downloads $ sudo sh ./crouton-fedora-wayland-master/installer/main.sh -r fedora -t fedora
Installing fedora-x86_64 chroot to /usr/local/chroots/fedora

Getting Docker build from Fedora official repositories...

--2017-12-30 01:58:50--  https://download.fedoraproject.org/pub/fedora/linux/releases/27/Docker/x86_64/images/Fedora-Docker-Base-27-1.6.x86_64.tar.xz
Resolving download.fedoraproject.org... 67.219.144.68, 140.211.169.206, 152.19.134.142, ...
Connecting to download.fedoraproject.org|67.219.144.68|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://ftp.pbone.net/pub/fedora/linux/releases/27/Docker/x86_64/images/Fedora-Docker-Base-27-1.6.x86_64.tar.xz [following]
--2017-12-30 01:58:51--  http://ftp.pbone.net/pub/fedora/linux/releases/27/Docker/x86_64/images/Fedora-Docker-Base-27-1.6.x86_64.tar.xz
Resolving ftp.pbone.net... 93.179.225.212
Connecting to ftp.pbone.net|93.179.225.212|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 49823768 (48M) [application/x-xz]
Saving to: ‘/tmp/main.sh.LQX/docker-fedora.tar.xz’

/tmp/main.sh.LQX/docker-fedora.tar.xz                100%[======================================================================================================================>]  47.52M  10.4MB/s    in 5.1s    

2017-12-30 01:58:57 (9.27 MB/s) - ‘/tmp/main.sh.LQX/docker-fedora.tar.xz’ saved [49823768/49823768]

Extracting the downloaded tarball...
Extracting filesystem...
Extracting finished!
Fixing groups and users
Moving bootstrap files into the chroot...
Preparing chroot environment...
awk: run time error: 'system' function not allowed in sandbox mode
        FILENAME="./crouton-fedora-wayland-master/installer/../installer/prepare.sh" FNR=25 NR=25
Installing croutonpowerd into the chroot...
awk: run time error: 'system' function not allowed in sandbox mode
        FILENAME="./crouton-fedora-wayland-master/installer/../chroot-bin/croutonpowerd" FNR=25 NR=25
Installing croutonversion into the chroot...
Installing host-dbus into the chroot...
Installing croutoncycle into the chroot...
awk: run time error: 'system' function not allowed in sandbox mode
        FILENAME="./crouton-fedora-wayland-master/installer/../chroot-bin/croutoncycle" FNR=6 NR=6
Installing croutontriggerd into the chroot...
awk: run time error: 'system' function not allowed in sandbox mode
        FILENAME="./crouton-fedora-wayland-master/installer/../chroot-bin/croutontriggerd" FNR=8 NR=8
Installing croutonnotify into the chroot...
awk: run time error: 'system' function not allowed in sandbox mode
        FILENAME="./crouton-fedora-wayland-master/installer/../chroot-bin/croutonnotify" FNR=38 NR=38
Installing volume into the chroot...
Installing crouton-noroot into the chroot...
awk: run time error: redirection not allowed in sandbox mode
        FILENAME="" FNR=0 NR=0
chronos@localhost ~/Downloads $

Googling the error message lead me to this, which lead me to this. Speculation: awk has changed, crouton has updated to match (there may be other patches related to this change), but crouton-fedora-wayland is using an older crouton.

@ustomerus
Copy link

Same issue on ChrOS 64

@boydkelly
Copy link
Collaborator

Its updated for F30. Works now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants