Description of problem: (What follows is a copy & paste of my original report on 45Drives' GitHub repository) The RPM package for cockpit-file-sharing installs cockpit-ws as a dependency, which conflicts with the Podman-based deployment, as described in https://github.com/cockpit-project/cockpit-container Version-Release number of selected component (if applicable): OS: Fedora IoT 36 and 37 Cockpit Version: 277-1 (Fedora 37) and 278-1 (Fedora 36) How reproducible: Always. Steps to Reproduce: 1. `rpm-ostree install cockpit-file-sharing` 2. `podman container runlabel --name cockpit-ws RUN quay.io/cockpit/ws` 3. See error Note: this error occurs with the cockpit-file-sharing version shipped with both Fedora IoT 36 and 37, as well as with the RPM package available in this repository (see details below) Actual results: Podman will be unable to spin a Cockpit container Expected results: The installation of package `cockpit-file-sharing` shouldn't interfere with the way you install and run Cockpit Additional info: The issue described above happens with both cockpit-file-sharing version 2.4.5-2 (from the Fedora IoT 36 and 37 official repositories), and with version 3.2.9-2 available here. Why does cockpit-file-sharing enforce cockpit-ws as a dependency? From what I saw from all other Cockpit applications, none of them has cockpit-ws as a hard dependency. 45Drives reply: https://github.com/45Drives/cockpit-file-sharing/issues/62#issuecomment-1313954951 Thanks!
I can drop the hard dependency. I wasn't aware of this use-case and it seemed to me that it wasn't terribly useful without the web interface, but that was a faulty assumption. That said, I haven't had much time for this package recently (and upstream did a significant rewrite/refactor for the 3.x series), so it may be a while before I can get to it. If you want to submit a merge request at https://src.fedoraproject.org/rpms/cockpit-file-sharing, I will happily review it and merge it if appropriate.
Hi Stephen, Sounds good! I'll take a look at it, it shouldn't be hard at all (famous last words...)
I hit an unrelated issue at build time with a missing NPM package when looking to try out my changes: https://github.com/45Drives/cockpit-file-sharing/issues/64 I'll keep you posted.
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.