summary refs log tree commit diff stats
path: root/results/scraper/fex/2698
blob: 579afc3012bffeb9ecd8054514f753db669f0455 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Running ./unbreak_chroot.sh without binfmt
I am running fex inside lxc unprivileged container, which make binfmt register impossible.
I got this when running unbreak script

```
./unbreak_chroot.sh
Moving rootfs files back to original location
Moving rootfs folders back to original location
Moving rootfs apt folders back to original location
Changing rootfs permissions on /tmp
Mounting rootfs paths
[sudo] password for user: 
Mounting aarch64 paths
mount: /home/user/.fex-emu/RootFS/Ubuntu_22_04/usr/lib/aarch64-linux-gnu: special device /lib/aarch64-linux-gnu does not exist.
       dmesg(1) may have more information after failed mount system call.
Starting FEXServer
chmod: cannot access '/tmp/1000-Ubuntu_22_04.chroot': No such file or directory
Chrooting into container
chroot: failed to run command ‘/bin/bash’: Exec format error
Cleaning up chroot
Unmounting aarch64 mounts
umount: /home/user/.fex-emu/RootFS/Ubuntu_22_04/lib/aarch64-linux-gnu: not mounted
Unmounting container mounts
Removing container mount folders
Backing up chroot files
Fixing any potential permission issues
chown: cannot access '/home/user/.fex-emu/RootFS/Ubuntu_22_04/libx32': No such file or directory
```

The script relies on binfmt to work. Is it possible to remove this requirement?