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.

Solution:Jump to 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...12 Replies
And before anyone brings it up incase, I have no access to a computer atm.
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.confIts in here on misc options in the config file
But wouldnt let me disable it
wdym?

In the settings there
Config°
Just woke up
uncomment it
Duh yea will do.
Didnt work
So just put the hashtag back for now
Will mess with it more in a lil bit
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 đź’–
Got rid of the hashtag didnt work
Same thing
i wonder if you have tried the
--disable-sandbox
instead
like pacman --disable-sandbox -Sy
Solved
Errors not showing up
Ty