Bug 1177247 - Build kernel module "hfs"
Build kernel module "hfs"
Status: NEW
Classification: openSUSE
Product: openSUSE Distribution
Classification: openSUSE
Component: Kernel
Leap 15.2
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: openSUSE Kernel Bugs
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-10-02 20:19 UTC by Ignaz Forster
Modified: 2022-01-07 15:36 UTC (History)
5 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ignaz Forster 2020-10-02 20:19:08 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.
Comment 1 Takashi Iwai 2020-10-03 07:40:11 UTC
Indeed it's disabled on Leap 15.2 while enabled on Leap 15.1.

The config change was carried from TW change in
commit 0d9481c2f80d3e0136e55271e5489167679ec21d
Author: Jeff Mahoney <jeffm@suse.com>
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.
Comment 2 Ignaz Forster 2020-10-06 14:05:31 UTC
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?
Comment 3 Miroslav Beneš 2022-01-07 12:36:32 UTC
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.
Comment 4 Ignaz Forster 2022-01-07 12:48:59 UTC
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
Comment 5 Miroslav Beneš 2022-01-07 14:09:18 UTC
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?
Comment 6 Goldwyn Rodrigues 2022-01-07 15:36:45 UTC
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.