T
Termux•3w ago
Envy

Landlock error

So I saw people running linux on mobile I am using an android 14 phone, ( I am attempting arch atm) Now. This error continuously pops up. "restricting filesystem access failed because landlock is not supported by the kernel!" Will show a screenshot as well, I have been tinkering with it for about 2 hours and am stuck. Any help would be appreciated.
No description
Solution:
your problem is related to https://bbs.archlinux.org/viewtopic.php?id=299402 it's caused by your kernel not supporting landlock feature, you can disable it with --disable-sandbox or you can add DisableSandbox into pacman.conf...
Jump to solution
12 Replies
Envy
EnvyOP•3w ago
And before anyone brings it up incase, I have no access to a computer atm.
Solution
komo
komo•3w ago
your problem is related to https://bbs.archlinux.org/viewtopic.php?id=299402 it's caused by your kernel not supporting landlock feature, you can disable it with --disable-sandbox or you can add DisableSandbox into pacman.conf
Envy
EnvyOP•3w ago
Its in here on misc options in the config file But wouldnt let me disable it
komo
komo•3w ago
wdym?
Envy
EnvyOP•3w ago
No description
Envy
EnvyOP•3w ago
In the settings there Config° Just woke up
komo
komo•3w ago
uncomment it
Envy
EnvyOP•3w ago
Duh yea will do. Didnt work So just put the hashtag back for now Will mess with it more in a lil bit
Biswa96
Biswa96•3w ago
I think it should be disable by-default in arch in proot-distro. This is the 3rd time I have seen this issue. the issue should be fixed after this pull request is merged https://github.com/termux/proot-distro/pull/504 and a new archlinux tarball is added in a release. If you have done the workaround as @komo suggested, you do not have to do anything. Happy proot-ing đź’–
Envy
EnvyOP•3w ago
Got rid of the hashtag didnt work Same thing
komo
komo•3w ago
i wonder if you have tried the --disable-sandbox instead like pacman --disable-sandbox -Sy
Envy
EnvyOP•3w ago
Solved Errors not showing up Ty

Did you find this page helpful?