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

FATAL: kernel too old (kernel_version: 3.10) #265

Open
hash-ir opened this issue May 12, 2021 · 5 comments
Open

FATAL: kernel too old (kernel_version: 3.10) #265

hash-ir opened this issue May 12, 2021 · 5 comments

Comments

@hash-ir
Copy link

hash-ir commented May 12, 2021

Hi,

I was trying to run junest on a cluster where I don't have root access. I get the following errors while doing so:

$ junest
FATAL: kernel too old
Error: Something went wrong while executing bwrap command. Exiting
$ junest proot
proot warning: can't chdir("/ssdscratch/neuroglancer/./.") in the guest rootfs: No such file or directory
proot info: default working directory is now "/"
proot info: pid 15923: terminated with signal 11
proot warning: can't chdir("/ssdscratch/neuroglancer/./.") in the guest rootfs: No such file or directory
proot info: default working directory is now "/"
FATAL: kernel too old
Error: Something went wrong with proot command. Exiting

Here are the system details:

$ bash --version
GNU bash, version 4.2.46(2)-release (x86_64-redhat-linux-gnu)

$ uname -r
3.10.0-1160.11.1.el7.x86_64

$ lsb_release -a
LSB Version:	:core-4.1-amd64:core-4.1-noarch
Distributor ID:	CentOS
Description:	CentOS Linux release 7.9.2009 (Core)
Release:	7.9.2009
Codename:	Core

What could be the issue here?

Best regards,
Hashir

@Mencu
Copy link

Mencu commented May 17, 2021

Hi,

I have the same problem. Also, the troubleshooting section didn't help. I still get the same error.

Best,
Andrei Mancu

@midnightexigent
Copy link

midnightexigent commented Jun 4, 2021

same problem here

$ uname -r
3.10.0-1160.25.1.el7.x86_64
$ junest proot -b "-k 3.10 --verbose=1"
...
proot info: default working directory is now "/"
proot info: glue rootfs = /tmp/proot-59793-5mJfSq
proot info: exe = /usr/bin/sh
proot info: argv = /bin/sh --login -c :
proot info: initial cwd = /
proot info: verbose level = 1
proot info: pid 59793: access to "/dev/pts/0" (fd 0) won't be translated until closed
proot info: pid 59793: access to "/dev/pts/0" (fd 1) won't be translated until closed
proot info: pid 59793: access to "/dev/pts/0" (fd 2) won't be translated until closed
proot info: pid 59793: access to "/proc/59793/fd" (fd 3) won't be translated until closed
FATAL: kernel too old
proot info: pid 59797: exited with status 127
Error: Something went wrong with proot command. Exiting

@ductri
Copy link

ductri commented Jun 27, 2021

I got the same issue on CentOS

@jschwartzenberg
Copy link

I think Arch is simply moving too fast for RHEL6/RHEL7 host environment nowadays. Maybe it makes sense to use something slightly less bleeding edge instead? What about Debian Stable or Ubuntu LTS?

@SnwMds
Copy link

SnwMds commented Jan 11, 2022

Found this workaround for proot:

$ mv ${HOME}/.junest/bin/proot-x86_64 ${HOME}/.junest/bin/proot
$ echo "#\!/bin/bash\n\n${HOME}/.junest/usr/bin/proot --kernel-release=5.16 \${@}" > ${HOME}/.junest/bin/proot-x86_64
$ chmod 500 ${HOME}/.junest/bin/proot-x86_64
$ 
$ junest proot
Warn: Proot is not properly working. Disabling SECCOMP and expect the application to run slowly in particular when it uses syscalls intensively.
Try to use Linux namespace instead as it is more reliable: junest ns
[snwmds@localhost ~]$

Not sure on how to make it work with ns.

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

6 participants