Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package cockpit for openSUSE:Factory checked in at 2025-08-27 21:33:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cockpit (Old) and /work/SRC/openSUSE:Factory/.cockpit.new.30751 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cockpit" Wed Aug 27 21:33:41 2025 rev:64 rq:1301547 version:344 Changes: -------- --- /work/SRC/openSUSE:Factory/cockpit/cockpit.changes 2025-07-31 17:45:07.673479097 +0200 +++ /work/SRC/openSUSE:Factory/.cockpit.new.30751/cockpit.changes 2025-08-27 21:34:08.057315529 +0200 @@ -1,0 +2,20 @@ +Thu Aug 14 04:53:41 UTC 2025 - Alice Brooks <[email protected]> + +- Update to 344 + * Changes since 340 + - 344 + * Bug fixes and translation updates + - 343 + * login: Improve error message for unsupported shells + * cockpit: Handle file access issues with files in machines.d + * Translation updates + - 342 + * systemd: ensure update() is called at least once for tuned-dialog + * Translation updates + - 341 + * services: show link to podman page for quadlets + * Bug fixes and translation updates +- Remove kdump-nfs-fixes.patch as this was upstreamed +- Fix not falling back to PRETTY_NAME in SUSE_PRETTY_NAME patches bsc#1248446 + +------------------------------------------------------------------- Old: ---- cockpit-340.tar.gz cockpit.pam kdump-nfs-fixes.patch New: ---- cockpit-344.tar.gz ----------(Old B)---------- Old: * Bug fixes and translation updates - Remove kdump-nfs-fixes.patch as this was upstreamed - Fix not falling back to PRETTY_NAME in SUSE_PRETTY_NAME patches bsc#1248446 ----------(Old E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cockpit.spec ++++++ --- /var/tmp/diff_new_pack.A43FGj/_old 2025-08-27 21:34:16.121652704 +0200 +++ /var/tmp/diff_new_pack.A43FGj/_new 2025-08-27 21:34:16.121652704 +0200 @@ -38,6 +38,14 @@ %define __lib lib +%if 0%{?suse_version} > 1500 +%define pamconfdir %{_pam_vendordir} +%define pamconfig tools/cockpit.suse.pam +%else +%define pamconfdir %{_sysconfdir}/pam.d +%define pamconfig tools/cockpit.pam +%endif + %if %{defined _pamdir} %define pamdir %{_pamdir} %else @@ -50,10 +58,9 @@ License: LGPL-2.1-or-later URL: https://cockpit-project.org/ -Version: 340 +Version: 344 Release: 0 Source0: cockpit-%{version}.tar.gz -Source1: cockpit.pam Source2: cockpit-rpmlintrc Source3: cockpit-suse-theme.tar Source4: cockpit-no-pamoath.pam @@ -68,7 +75,6 @@ Patch3: suse-microos-branding.patch Patch4: css-overrides.patch Patch5: storage-btrfs.patch -Patch6: kdump-nfs-fixes.patch # SLE Micro specific patches Patch101: hide-pcp.patch Patch102: 0002-selinux-temporary-remove-setroubleshoot-section.patch @@ -173,7 +179,6 @@ %if 0%{?with_selinux} BuildRequires: selinux-policy -BuildRequires: selinux-policy-%{selinuxtype} BuildRequires: selinux-policy-devel %endif @@ -227,7 +232,6 @@ %patch -P 4 -p1 %patch -P 5 -p1 -%patch -P 6 -p1 %patch -P 106 -p1 %patch -P 109 -p1 @@ -262,11 +266,10 @@ %patch -P 201 -p1 -%if 0%{?suse_version} > 1500 -cp %SOURCE1 tools/cockpit.pam -%else +# If we're not using cockpit.suse.pam +# Then we should always use source4's pam cp %SOURCE4 tools/cockpit.pam -%endif + # local-npm-registry %{_sourcedir} install --include=dev --ignore-scripts touch package-lock.json @@ -302,20 +305,19 @@ make -j$(nproc) check %if 0%{?rhel} == 0 && 0%{?suse_version} == 0 -%tox +export NO_QUNIT=1 +%pytest %endif %install +%if 0%{?suse_version} +export NO_BRP_STALE_LINK_ERROR="yes" +%endif # In obs we get write error: stdout %make_install | tee make_install.log make install-tests DESTDIR=%{buildroot} -%if 0%{?suse_version} > 1500 -mkdir -p $RPM_BUILD_ROOT%{_pam_vendordir} -install -p -m 644 tools/cockpit.pam $RPM_BUILD_ROOT%{_pam_vendordir}/cockpit -%else -mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pam.d -install -p -m 644 tools/cockpit.pam $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/cockpit -%endif +mkdir -p $RPM_BUILD_ROOT%{pamconfdir} +install -p -m 644 %{pamconfig} $RPM_BUILD_ROOT%{pamconfdir}/cockpit rm -f %{buildroot}/%{_libdir}/cockpit/*.so install -D -p -m 644 AUTHORS COPYING README.md %{buildroot}%{_docdir}/cockpit/ @@ -429,14 +431,6 @@ sed -i "s|%{buildroot}||" *.list %if 0%{?suse_version} -# remove brandings with stale symlinks. Means they don't match -# the distro. -pushd %{buildroot}/%{_datadir}/cockpit/branding -ls --hide={default,kubernetes,opensuse,registry,suse} | xargs rm -rv -popd -# need this in SUSE as post build checks dislike stale symlinks -install -m 644 -D /dev/null %{buildroot}/run/cockpit/issue - test -e %{buildroot}/usr/share/cockpit/branding/opensuse/default-1920x1200.jpg || install -m 644 -D /dev/null %{buildroot}/usr/share/cockpit/branding/opensuse/default-1920x1200.jpg test -e %{buildroot}/usr/share/cockpit/branding/suse/apple-touch-icon.png || install -m 644 -D /dev/null %{buildroot}/usr/share/cockpit/branding/suse/apple-touch-icon.png test -e %{buildroot}/usr/share/cockpit/branding/suse/default-1920x1200.png || install -m 644 -D /dev/null %{buildroot}/usr/share/cockpit/branding/suse/default-1920x1200.png @@ -623,13 +617,10 @@ %doc %{_mandir}/man8/pam_ssh_add.8.gz %dir %{_sysconfdir}/cockpit %config(noreplace) %{_sysconfdir}/cockpit/ws-certs.d -%if 0%{?suse_version} > 1500 -%{_pam_vendordir}/cockpit -%else -%config(noreplace) %{_sysconfdir}/pam.d/cockpit -%endif -# dir is not owned by pam in openSUSE +# dir is not owned by pam in openSUSE needed for Leap15.6 +%dir %{pamconfdir} %dir %{_sysconfdir}/motd.d +%config(noreplace) %{pamconfdir}/cockpit # created in %post, so that users can rm the files %ghost %{_sysconfdir}/issue.d/cockpit.issue %ghost %{_sysconfdir}/motd.d/cockpit @@ -795,7 +786,11 @@ Summary: Cockpit user interface for kernel crash dumping Requires: cockpit-bridge >= %{required_base} Requires: cockpit-shell >= %{required_base} +%if 0%{?suse_version} Requires: /usr/sbin/kdumptool +%else +Requires: /usr/bin/kdumpctl +%endif BuildArch: noarch %description kdump @@ -805,6 +800,7 @@ %license COPYING %{_datadir}/metainfo/org.cockpit_project.cockpit_kdump.metainfo.xml +# sosreport is not supported on opensuse yet %if !0%{?suse_version} %package sosreport Summary: Cockpit user interface for diagnostic reports @@ -843,7 +839,6 @@ %endif %if 0%{?rhel} == 0 && ( 0%{?suse_version} >= 1500 || 0%{?is_smo} ) - %package selinux Summary: Cockpit SELinux package Requires: cockpit-bridge >= %{required_base} ++++++ 0001-cockpit-overview-support-SUSE_SUPPORT_PRODUCT-keys.patch ++++++ --- /var/tmp/diff_new_pack.A43FGj/_old 2025-08-27 21:34:16.165654544 +0200 +++ /var/tmp/diff_new_pack.A43FGj/_new 2025-08-27 21:34:16.169654711 +0200 @@ -46,6 +46,24 @@ </div> <div className='ct-overview-header-actions'> { show_superuser && <SuperuserIndicator proxy={this.superuser} /> } +diff --git a/src/common/cockpitsystem.c b/src/common/cockpitsystem.c +index 83e2965f7..73716fff7 100644 +--- a/src/common/cockpitsystem.c ++++ b/src/common/cockpitsystem.c +@@ -107,6 +107,12 @@ cockpit_system_load_os_release (void) + } + } + ++ gchar *value = g_hash_table_lookup (result, "SUSE_PRETTY_NAME"); ++ if (!value || strlen(value) == 0) { ++ value = g_hash_table_lookup (result, "PRETTY_NAME"); ++ g_hash_table_replace (result, g_strdup ("SUSE_PRETTY_NAME"), g_strdup (value)); ++ } ++ + out: + g_clear_error (&error); + g_free (lines); + -- 2.50.0 ++++++ 0001-selinux-allow-login-to-read-motd-file.patch ++++++ --- /var/tmp/diff_new_pack.A43FGj/_old 2025-08-27 21:34:16.181655213 +0200 +++ /var/tmp/diff_new_pack.A43FGj/_new 2025-08-27 21:34:16.185655380 +0200 @@ -7,11 +7,11 @@ Index: cockpit/selinux/cockpit.te =================================================================== diff --git a/selinux/cockpit.te b/selinux/cockpit.te -index 50695ee..55b1226 100644 +index 931cbd775..4a439c8d5 100644 --- a/selinux/cockpit.te +++ b/selinux/cockpit.te -@@ -224,6 +224,14 @@ optional_policy(` - gnome_exec_keyringd(cockpit_session_t) +@@ -232,6 +232,14 @@ optional_policy(` + allow cockpit_session_t pidfs_t:filesystem getattr; ') +# login may read motd file through pam ++++++ 0003-branding-use-SUSE_SUPPORT_PRODUCT-and-SUSE_SUPPORT_P.patch ++++++ --- /var/tmp/diff_new_pack.A43FGj/_old 2025-08-27 21:34:16.209656384 +0200 +++ /var/tmp/diff_new_pack.A43FGj/_new 2025-08-27 21:34:16.213656551 +0200 @@ -79,7 +79,7 @@ +/* Default overrides */ + +.login-note { -+ color: transparent; ++ display: none; + position: relative; +} + ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.A43FGj/_old 2025-08-27 21:34:16.269658893 +0200 +++ /var/tmp/diff_new_pack.A43FGj/_new 2025-08-27 21:34:16.273659060 +0200 @@ -1,6 +1,6 @@ -mtime: 1753845743 -commit: b7fde4551cc7048181798bfdc461e003b99f761792610823f39da6b1980f799f +mtime: 1756288717 +commit: a6d18653bdd83a864aca2855ca69dfde628ca9c5934596c84701563774079066 url: https://src.opensuse.org/cockpit/cockpit.git -revision: b7fde4551cc7048181798bfdc461e003b99f761792610823f39da6b1980f799f +revision: a6d18653bdd83a864aca2855ca69dfde628ca9c5934596c84701563774079066 projectscmsync: https://src.opensuse.org/cockpit/_ObsPrj.git ++++++ build.specials.obscpio ++++++ ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2025-08-27 13:43:17.000000000 +0200 @@ -0,0 +1,3 @@ +.osc +node_modules.sums +_build* \ No newline at end of file ++++++ cockpit-340.tar.gz -> cockpit-344.tar.gz ++++++ /work/SRC/openSUSE:Factory/cockpit/cockpit-340.tar.gz /work/SRC/openSUSE:Factory/.cockpit.new.30751/cockpit-344.tar.gz differ: char 12, line 1 ++++++ css-overrides.patch ++++++ --- /var/tmp/diff_new_pack.A43FGj/_old 2025-08-27 21:34:16.581671938 +0200 +++ /var/tmp/diff_new_pack.A43FGj/_new 2025-08-27 21:34:16.589672272 +0200 @@ -290,17 +290,17 @@ <script src="../base1/po.js"></script> <script src="po.js"></script> diff --git a/pkg/systemd/services.html b/pkg/systemd/services.html -index 74fa456d4..e9c7047ee 100644 +index a17e95e56..7eaa65efa 100644 --- a/pkg/systemd/services.html +++ b/pkg/systemd/services.html -@@ -5,6 +5,7 @@ - <meta charset="utf-8" /> - <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <link href="services.css" type="text/css" rel="stylesheet" /> -+ <link href="../../static/css-overrides.css" type="text/css" rel="stylesheet" /> - <script src="../base1/cockpit.js"></script> +@@ -9,6 +9,7 @@ <script src="../base1/po.js"></script> + <script src="../manifests.js"></script> <script src="services.js"></script> ++ <link href="../../static/css-overrides.css" type="text/css" rel="stylesheet" /> + <script src="po.js"></script> + </head> + diff --git a/pkg/systemd/terminal.html b/pkg/systemd/terminal.html index ce7216e4e..63547f9d3 100644 --- a/pkg/systemd/terminal.html ++++++ node_modules.obscpio ++++++ /work/SRC/openSUSE:Factory/cockpit/node_modules.obscpio /work/SRC/openSUSE:Factory/.cockpit.new.30751/node_modules.obscpio differ: char 24503, line 149 ++++++ node_modules.spec.inc ++++++ ++++ 1060 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/cockpit/node_modules.spec.inc ++++ and /work/SRC/openSUSE:Factory/.cockpit.new.30751/node_modules.spec.inc ++++++ package-lock.json ++++++ ++++ 1647 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/cockpit/package-lock.json ++++ and /work/SRC/openSUSE:Factory/.cockpit.new.30751/package-lock.json ++++++ remove_rh_links.patch ++++++ --- /var/tmp/diff_new_pack.A43FGj/_old 2025-08-27 21:34:16.713677458 +0200 +++ /var/tmp/diff_new_pack.A43FGj/_new 2025-08-27 21:34:16.717677624 +0200 @@ -66,10 +66,10 @@ <Button variant="plain" aria-label={_("Help")}> <HelpIcon /> diff --git a/pkg/systemd/overview-cards/tuned-dialog.jsx b/pkg/systemd/overview-cards/tuned-dialog.jsx -index 38420ca..cd7e2a3 100644 +index 5f3c3ffc1..b36ad88e3 100644 --- a/pkg/systemd/overview-cards/tuned-dialog.jsx +++ b/pkg/systemd/overview-cards/tuned-dialog.jsx -@@ -278,36 +278,10 @@ const TunedDialog = ({ +@@ -278,40 +278,13 @@ const TunedDialog = ({ }; }, [tunedService]); @@ -102,8 +102,13 @@ <Modal position="top" variant="medium" className="ct-m-stretch-body" isOpen -- help={help} onClose={() => dialogResult.resolve()} - title={_("Change performance profile")} - footer={ + > +- <ModalHeader title={_("Change performance profile")} +- help={help} +- /> ++ <ModalHeader title={_("Change performance profile")} /> + <ModalBody> + {error && <ModalError dialogError={typeof error == 'string' ? error : error.message} />} + {loading && <EmptyStatePanel loading />}
