Closed ArdvarkDev closed 3 years ago
Thank you for the bug report. I probably should have tested fully on Void before posting to Reddit. (Oops!)
Can you please tell me your kernel and libc versions?
It looks like the kernel is denying lxroot's request to remount nr/
(a test newroot directory) in read-only mode. (mount with flags MS_REMOUNT | MS_RDONLY.)
I will install Void on a VPS to investigate further.
The error you reported is due to the unit tests being run in /tmp
. There must be something about the way /tmp
is mounted on Void that somehow interferes with Lxroot. Maybe limitations on bind mounts inside /tmp
? Or something else?
I'm not sure exactly. I have seen a similar issue previously, but I never identified the precise cause.
This particular unit test will pass if you change the setting of demo
and unit
at the top of Makefile
as follows:
demo ?= $(HOME)/tmp/lxroot-demo
unit ?= $(HOME)/tmp/lxroot-unit
However, later unit tests will still fail.
It may take me a couple days to sort it all out, as I have some other commitments to take care of.
I'll post another update here once the unit tests and demos 1 and 2 are running on Void. Thank you for your patience.
The unit tests and demos are now working on my headless Void Linux box. Please feel free to pull an update and try again.
If you are curious, here is the function I changed to fix the error you reported: https://github.com/parke/lxroot/blob/master/lxroot.cpp#L1415
Thanks again for submitting your bug report!
Works as intended. Thanks!
Upon running
make unit
, the test fails with the following message. I am running this on void linux.