Bug 2214965

Summary: Do not require initscripts / use initscripts-service instead
Product: [Fedora] Fedora Reporter: Timothée Ravier <travier>
Component: zfs-fuseAssignee: Gwyn Ciesla <gwync>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 38CC: gwync, j, mattdm, yaneti
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-14 15:20:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Timothée Ravier 2023-06-14 08:56:01 UTC
This package should probably require initscripts-service instead of the full initscripts package.

Is there any specific reason this can not be made to work with systemd? The commit doesn't have any details: https://src.fedoraproject.org/rpms/zfs-fuse/c/8972bd8b18fc3aaf6420e58cdf4ffbb78322c15f?branch=rawhide

Reproducible: Always

Comment 1 Gwyn Ciesla 2023-06-14 15:20:32 UTC
This actually needs the initscripts package, as the zfs-fuse-helper script that allows it to work with systemd sources /etc/rc.d/init.d/functions. It's been using systemd in this way since 2012.

Comment 2 Lukáš Nykrýn 2023-06-15 07:33:32 UTC
Let's reopen this. The problem right now is that I am forced to have zfs-fuse installed if I want to use virtualization. This makes me sad because we (initscripts maintainers) spent a lot of time getting it out from the most used installations. Can't we just rewrite the starting script? I would be to help with that, although I know nothing about zfs, so I probably would not be able to verify that the changes are not breaking anything.

Comment 3 Gwyn Ciesla 2023-06-15 13:20:47 UTC
If you're interested, it's here: https://src.fedoraproject.org/rpms/zfs-fuse/blob/rawhide/f/zfs-fuse-helper

Comment 4 Matthew Miller 2023-07-24 15:56:23 UTC
(In reply to Gwyn Ciesla from comment #3)
> If you're interested, it's here:
> https://src.fedoraproject.org/rpms/zfs-fuse/blob/rawhide/f/zfs-fuse-helper

It seems like this could be re-written just as a stand-alone bash script, but -- probably better to actually properly make a systemd unit file. I'm not a ZFS user either, though, so this also isn't something I should touch.

Comment 5 Gwyn Ciesla 2023-07-24 17:22:28 UTC
It's already a bash script called by a unit file... I'm not a ZFS expert either, I just kept it working and ported it, albeit in an ugly way, to systemd.