SHA256
2
0
forked from pool/cockpit

update to 330, fix suse_docs.patch #8

Merged
adamm merged 4 commits from ldragon/cockpit:330 into main 2025-01-12 23:08:37 +01:00
Contributor

suse_docs.patch inserted some trailing commas which broke the files. this has been fixed.
Cockpit has been updated to 330. I've also cleaned up some left overs of cockpit-pcp in the spec file, these wouldn't run for us since they should only run on rhel but our spec file shouldn't have references to cockpit-pcp.
This update has a notable change:

Web server: Increased sandboxing, setuid removal, bootc support

Sandboxing and dropping of setuid are useful for us, bootc currently is not

suse_docs.patch inserted some trailing commas which broke the files. this has been fixed. Cockpit has been updated to 330. I've also cleaned up some left overs of cockpit-pcp in the spec file, these wouldn't run for us since they should only run on rhel but our spec file shouldn't have references to cockpit-pcp. This update has a notable change: > Web server: Increased sandboxing, setuid removal, bootc support Sandboxing and dropping of setuid are useful for us, bootc currently is not
ldragon force-pushed 330 from 2ae8961317 to ed0dc3be9e 2024-12-06 09:16:59 +01:00 Compare
ldragon force-pushed 330 from ed0dc3be9e to 35649f4a13 2024-12-06 10:06:23 +01:00 Compare
ldragon force-pushed 330 from 35649f4a13 to d26d5019d5 2024-12-09 09:10:05 +01:00 Compare
Owner

So, the build is actually is failing on15.6

[   53s] checking for ar... ar
[   53s] ./configure: line 4783: syntax error near unexpected token `pidfd_getpid'
[   53s] ./configure: line 4783: `    pidfd_getpid'
[   53s] error: Bad exit status from /var/tmp/rpm-tmp.eJG3YU (%build)

https://build.opensuse.org/project/show/home:autogits_obs_staging_bot:cockpit:XObsPrj:PR:10

So, the build is actually is failing on15.6 ``` [ 53s] checking for ar... ar [ 53s] ./configure: line 4783: syntax error near unexpected token `pidfd_getpid' [ 53s] ./configure: line 4783: ` pidfd_getpid' [ 53s] error: Bad exit status from /var/tmp/rpm-tmp.eJG3YU (%build) ``` https://build.opensuse.org/project/show/home:autogits_obs_staging_bot:cockpit:XObsPrj:PR:10
Owner

maybe needs autoreconf -fvi

maybe needs `autoreconf -fvi`
Author
Contributor

we call autoreconf -fvi -I tools so thats not the issue i believe?

we call `autoreconf -fvi -I tools` so thats not the issue i believe?
First-time contributor

Installable binary .RPM packages where ?__?

openSUSE Leap 15.6:
Version 321...

Loading repository data...
Reading installed packages...


Information for package cockpit:
--------------------------------
Repository     : Update repository of openSUSE Backports
Name           : cockpit
Version        : 321-bp156.2.9.1
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 58.2 KiB
Installed      : No
Status         : not installed
Source package : cockpit-321-bp156.2.9.1.src
Upstream URL   : https://cockpit-project.org/
Summary        : Web Console for Linux servers
Description    : 
    The Cockpit Web Console enables users to administer GNU/Linux servers using a
    web browser.

    It offers network configuration, log inspection, diagnostic reports, SELinux
    troubleshooting, interactive command-line sessions, and more.```
**_Installable binary .RPM packages where ?__?_** openSUSE Leap 15.6: Version **321**... ```zypper info cockpit Loading repository data... Reading installed packages... Information for package cockpit: -------------------------------- Repository : Update repository of openSUSE Backports Name : cockpit Version : 321-bp156.2.9.1 Arch : x86_64 Vendor : openSUSE Installed Size : 58.2 KiB Installed : No Status : not installed Source package : cockpit-321-bp156.2.9.1.src Upstream URL : https://cockpit-project.org/ Summary : Web Console for Linux servers Description : The Cockpit Web Console enables users to administer GNU/Linux servers using a web browser. It offers network configuration, log inspection, diagnostic reports, SELinux troubleshooting, interactive command-line sessions, and more.```
ldragon force-pushed 330 from 8192786306 to daf2b8bd6f 2024-12-13 07:20:07 +01:00 Compare
Author
Contributor

Installable binary .RPM packages where ?__?

openSUSE Leap 15.6:
Version 321...

Loading repository data...
Reading installed packages...


Information for package cockpit:
--------------------------------
Repository     : Update repository of openSUSE Backports
Name           : cockpit
Version        : 321-bp156.2.9.1
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 58.2 KiB
Installed      : No
Status         : not installed
Source package : cockpit-321-bp156.2.9.1.src
Upstream URL   : https://cockpit-project.org/
Summary        : Web Console for Linux servers
Description    : 
    The Cockpit Web Console enables users to administer GNU/Linux servers using a
    web browser.

    It offers network configuration, log inspection, diagnostic reports, SELinux
    troubleshooting, interactive command-line sessions, and more.```

are you asking for the devel project or in general for leap?
for leap running zypper in cockpit should pull in everything required however i would also recommend pulling in cockpit-storaged, cockpit-packagekit and should you use networkmanager cockpit-networkmanager

> **_Installable binary .RPM packages where ?__?_** > > openSUSE Leap 15.6: > Version **321**... > > ```zypper info cockpit > Loading repository data... > Reading installed packages... > > > Information for package cockpit: > -------------------------------- > Repository : Update repository of openSUSE Backports > Name : cockpit > Version : 321-bp156.2.9.1 > Arch : x86_64 > Vendor : openSUSE > Installed Size : 58.2 KiB > Installed : No > Status : not installed > Source package : cockpit-321-bp156.2.9.1.src > Upstream URL : https://cockpit-project.org/ > Summary : Web Console for Linux servers > Description : > The Cockpit Web Console enables users to administer GNU/Linux servers using a > web browser. > > It offers network configuration, log inspection, diagnostic reports, SELinux > troubleshooting, interactive command-line sessions, and more.``` are you asking for the devel project or in general for leap? for leap running `zypper in cockpit ` should pull in everything required however i would also recommend pulling in `cockpit-storaged`, `cockpit-packagekit` and should you use networkmanager `cockpit-networkmanager`
ldragon force-pushed 330 from daf2b8bd6f to 8a6c640ec4 2024-12-13 08:46:25 +01:00 Compare
First-time contributor

I mean:

Where to download .src.rpm or .rpm packages from these builds? They are nowhere to be found and PKGS.org list only version Cockpit 309 for Leap and 322 for TumbleWeed . . .

Another question:
Does it work with Wicked connectivity or it explicitly requires Network Manager to ever start the cockpit.socket ?_?

Thanks!

I mean: Where to download `.src.rpm` or `.rpm` packages from these builds? They are nowhere to be found and [PKGS.org](https://pkgs.org/search/?q=cockpit) list only version Cockpit **309** for _Leap_ and **322** for _TumbleWeed_ . . . Another question: Does it work with **Wicked** connectivity or it explicitly requires **Network Manager** to ever start the `cockpit.socket` ?_? _Thanks!_
Owner

So, downloading the build is a little complicated. You need osc get get binaries from OBS. The location,

  1. Forwarded PR: cockpit #10 link here, that's the PrjGit PR
  2. In that PR, there's a link (actually many spammed links) to OBS where it's actually built -- https://build.opensuse.org/project/show/home:autogits_obs_staging_bot:cockpit:XObsPrj:PR:10
  3. osc getbinaries home:autogits_obs_staging_bot:cockpit:XObsPrj:PR:10 <repository> <arch> so, to get binaries for 15.6 x86_64, osc getbinaries home:autogits_obs_staging_bot:cockpit:XObsPrj:PR:10 15.6 x86_64

This probably will get improved as we work on this integration between source git and OBS and build results.

So, downloading the build is a little complicated. You need `osc` get get binaries from OBS. The location, 1. [Forwarded PR: cockpit #10](https://src.opensuse.org/cockpit/_ObsPrj/pulls/10) link here, that's the PrjGit PR 2. In that PR, there's a link (actually many spammed links) to OBS where it's actually built -- https://build.opensuse.org/project/show/home:autogits_obs_staging_bot:cockpit:XObsPrj:PR:10 3. `osc getbinaries home:autogits_obs_staging_bot:cockpit:XObsPrj:PR:10 <repository> <arch>` so, to get binaries for 15.6 x86_64, `osc getbinaries home:autogits_obs_staging_bot:cockpit:XObsPrj:PR:10 15.6 x86_64` This probably will get improved as we work on this integration between source git and OBS and build results.
ldragon force-pushed 330 from 434277a5aa to eefcb8a61f 2024-12-16 09:21:06 +01:00 Compare
adamm reviewed 2025-01-08 00:08:06 +01:00
cockpit.spec Outdated
@ -232,3 +234,4 @@
%patch -P 201 -p1
%if 0%{?suse_version} != 1500
Owner

Do we really want comparisons like these? It's better to use suse_version > 1500 if we are to match everything than SLE15. As-is, this will also match non-suse builds.

Do we really want comparisons like these? It's better to use `suse_version > 1500` if we are to match everything than SLE15. As-is, this will also match non-suse builds.
adamm reviewed 2025-01-08 00:08:20 +01:00
cockpit.spec Outdated
@ -556,7 +556,9 @@ Suggests: sssd-dbus >= 2.6.2
%if 0%{?suse_version}
Requires(pre): permissions
Requires: distribution-logos
%if 0%{?suse_version} != 1500
Owner

here too

here too
Owner

node_modules.sums file should also be removed as it's not used.

`node_modules.sums` file should also be removed as it's not used.
ldragon force-pushed 330 from 5e282dc881 to 23892eda9a 2025-01-08 11:17:43 +01:00 Compare
adamm merged commit 23892eda9a into main 2025-01-12 23:08:37 +01:00
Sign in to join this conversation.
No Reviewers
No Label
No Milestone
3 Participants
Notifications
Due Date
No due date set.
Reference: cockpit/cockpit#8
No description provided.