Bugzilla – Bug 1177247
Build kernel module "hfs"
Last modified: 2022-01-07 15:36:45 UTC
I recently tried to mount an old Macintosh CD-ROM, but the openSUSE kernel doesn't build the hfs file system module:
# CONFIG_HFS_FS is not set
As other old file systems are included I assume that this is an oversight. It is blacklisted by /etc/modprobe.d/60-blacklist_fs-hfs.conf to prevent accidental loading anyway.
Indeed it's disabled on Leap 15.2 while enabled on Leap 15.1.
The config change was carried from TW change in
Author: Jeff Mahoney <firstname.lastname@example.org>
Date: Fri Sep 7 16:15:23 2018 -0400
config: disable HFS_FS
It has no maintainer and has been a source of fuzzer bugs. hfsplus handles
the HFS+ file system that became the default on MacOS in 1998.
The problem is that the hfsplus module does not handle hfs file systems.
From what I can see the module was disabled before the blacklist mechanism was introduced (https://lists.opensuse.org/opensuse-factory/2019-01/msg00549.html). With that security mechanism in place I guess the module can be enabled again?
Ignaz, do you still need a module?
Leap 15.2 is not supported anymore, but Leap 15.3 does not enable the module either. Jeff's changelog is still valid. The filesystem is orphaned in upstream, so enabling it (even if just for Leap) is probably not the best idea.
Yes, I'd still need it, as I'm using it to archive and catalogue old media...
However it's not just ancient media, even more recent and still available software uses it, e.g. the "The Book of Unwritten Tales 2" DVD from 2015: http://medienarchiv.digitalimagecorp.de/Optisch/Spiele%20-%20PC/TheBookOfUnwrittenTales2StandardEdition.iso-hfs.html
Ok then, I am not the right person to decide this.
Jeff, Goldwyn, what is your opinion on this? Could we enable HFS_FS on Leap given that we have the filesystem blacklisting infrastructure in place?
In-kernel support is not included because the upstream code is orphan.
factory has a fuse module libfshfs, but it looks like that needs some work.