Fedora Account System
Red Hat Associate
Red Hat Customer
When running the test suite in guestfs-tools, the windows.img fails to be created with this ntfs mounting bug: command: mount '/dev/sda2' '/sysroot/' command: mount returned 32 command: mount: stderr: mount: /sysroot: unknown filesystem type 'ntfs3'. dmesg(1) may have more information after failed mount system call. ocaml_exn: 'mount' raised 'Failure' exception guestfsd: error: mount exited with status 32: mount: /sysroot: unknown filesystem type 'ntfs3'. dmesg(1) may have more information after failed mount system call. libguestfs: trace: mount = -1 (error) *stdin*:19: libguestfs: error: mount: mount exited with status 32: mount: /sysroot: unknown filesystem type 'ntfs3'. dmesg(1) may have more information after failed mount system call. This seems to be something to do with a conflict between ntfs-3g and the Linux ntfs kernel module. I cannot reproduce this locally even on a fully up to date Rawhide machine. Reproducible: Always
Created attachment 2158850 [details] root.log
Created attachment 2158851 [details] build.log
Maybe util-linux 2.42 has something to do with this. It has changed it's default from "ntfs" to "ntfs3". If you want to use ntfs-3g you might need to explicitly use "mount -t ntfs" with that version of util-linux. See https://github.com/util-linux/util-linux/issues/4307 for my confusion about this.
Thanks, yes that seems to be relevant. I also notice some commits that make this configurable which seem to be useful: https://github.com/karelzak/util-linux-work/commit/95b8fce1cf6b420903f3ad5aed4be36d79330676