nilfs-dev / nilfs-utils

NILFS utilities
https://nilfs.sourceforge.io/
Other
46 stars 6 forks source link

[musl] NILFS2 root mounted read-only on Void Linux musl libc system #12

Open atweiden opened 5 years ago

atweiden commented 5 years ago

Hi,

I'm really enjoying using NILFS+LVM in my Void Linux installer, and it shows a lot of promise. However, when musl libc is used instead of glibc, the root NILFS2 filesystem fails to mount rw. The boot process essentially fails, and the root NILFS2 filesystem is mounted read-only:

NILFS (dm-1): the device already has a read-only mount.
mount.nilfs2: Error while mounting /dev/mapper/vg0-root on /: Resource busy

Cannot continue due to errors above, starting emergency shell.

On shutdown, I receive this error message:

Assertion failed: cxt->syscall_status == 1 (libmount/src/context_umount.c: mnt_context_do_umount: 903)

nilfs2-ro-root-shutdown

edit: I have now also tried using nilfs-utils git HEAD, but it makes no difference. The startup and shutdown errors are the same.

Does anything come to mind re:musl libc?