nmilosev / crouton-fedora-wayland

Crouton Fedora with no old X server, native Wayland
http://getfedora.org
BSD 3-Clause "New" or "Revised" License
51 stars 6 forks source link

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

Open willardthor opened 6 years ago

willardthor commented 6 years ago

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 commented 6 years ago

Same issue on ChrOS 64

boydkelly commented 5 years ago

Its updated for F30. Works now.