Bug 2143047 - Hard dependency on package cockpit-ws breaks Podman implementation of cockpit-ws
Summary: Hard dependency on package cockpit-ws breaks Podman implementation of cockpit-ws
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: cockpit-file-sharing
Version: 37
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Orphan Owner
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-15 21:53 UTC by Martín Cigorraga
Modified: 2023-12-06 11:25 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-12-06 11:25:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Martín Cigorraga 2022-11-15 21:53:03 UTC
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!

Comment 1 Stephen Gallagher 2022-11-16 20:35:53 UTC
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.

Comment 2 Martín Cigorraga 2022-11-16 20:42:49 UTC
Hi Stephen,

Sounds good! I'll take a look at it, it shouldn't be hard at all (famous last words...)

Comment 3 Martín Cigorraga 2022-11-16 21:50:13 UTC
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.

Comment 4 Fedora Admin user for bugzilla script actions 2023-08-12 00:11:01 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 5 Aoife Moloney 2023-11-23 00:31:05 UTC
This message is a reminder that Fedora Linux 37 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 37 on 2023-12-05.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '37'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 37 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 6 Aoife Moloney 2023-12-06 11:25:57 UTC
Fedora Linux 37 entered end-of-life (EOL) status on None.

Fedora Linux 37 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.