Hello community, here is the log from the commit of package permissions for openSUSE:Leap:15.2 checked in at 2020-03-06 12:35:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/permissions (Old) and /work/SRC/openSUSE:Leap:15.2/.permissions.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "permissions" Fri Mar 6 12:35:53 2020 rev:42 rq:774882 version:20181224 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/permissions/permissions.changes 2020-02-16 18:25:31.506630216 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.permissions.new.26092/permissions.changes 2020-03-06 12:35:59.602564484 +0100 @@ -2 +2 @@ -Mon Jan 27 11:58:17 UTC 2020 - [email protected] +Thu Feb 06 13:26:58 UTC 2020 - [email protected] @@ -4,50 +4,4 @@ -- Update to version 20200127: - * fix paths of ksysguard whitelisting - * fix zero-termination of error message for overly long paths - -------------------------------------------------------------------- -Thu Dec 05 14:31:49 UTC 2019 - [email protected] - -- Update to version 20191205: - * fix privilege escalation through untrusted symlinks (bsc#1150734, - CVE-2019-3690) - -------------------------------------------------------------------- -Wed Nov 27 12:47:23 UTC 2019 - [email protected] - -- Update to version 20191122: - * faxq-helper: correct "secure" permission for trusted group (bsc#1157498) - -------------------------------------------------------------------- -Mon Nov 18 09:52:14 UTC 2019 - [email protected] - -- Update to version 20191118: - * whitelist ksysguard network helper (bsc#1151190) - -------------------------------------------------------------------- -Tue Nov 12 12:45:12 UTC 2019 - [email protected] - -- Update to version 20191112: - * fix syntax of paranoid profile - * fix squid permissions (bsc#1093414, CVE-2019-3688) - -------------------------------------------------------------------- -Thu Oct 3 12:38:09 UTC 2019 - Tomáš Chvátal <[email protected]> - -- Add || exit 0 on the scriptlet as it can actually fail in - rootless containers with podman. This makes sure the zypper - does not abort the container creation. - * the actual error looks like: - /dev/zero: chown: Operation not permitted - -------------------------------------------------------------------- -Fri Sep 13 11:19:42 UTC 2019 - [email protected] - -- Update to version 20190913: - * setgid bit for nagios directory (bsc#1028975, bsc#1150345) -- This also restructures the sources for the permission package - -------------------------------------------------------------------- -Fri Aug 30 14:20:09 UTC 2019 - [email protected] - -- Update to version 20190830: +- Update to version 20181224: + * mariadb: settings for new auth_pam_tool (bsc#1160285) + * chkstat: capability handling fixes (bsc#1161779) + * chkstat: fix regression where chkstat breaks without /proc available (bsc#1160764, bsc#1160594) @@ -57,5 +11 @@ -Thu Aug 29 15:38:28 UTC 2019 - [email protected] - -- Update to version 20190829: - * add one more missing slash for icinga2 - * fix more missing slashes for directories +Wed Feb 05 11:56:25 UTC 2020 - [email protected] @@ -63,2 +13,2 @@ -------------------------------------------------------------------- -Tue Aug 20 08:56:35 UTC 2019 - [email protected] +Sync upstream SLE-15-SP1 branch with our SLE-15-SP1:Update package. Therefore +remove all of the following patches which are now included in the tarball: @@ -66,2 +16,9 @@ -- Update to version 20190820: - * cron directory permissions: add slashes +- 0001-whitelisting-update-virtualbox.patch +- 0002-consistency-between-profiles.patch 0003-var-run-postgresql.patch +- 0004-var-cache-man.patch +- 0005-singularity-starter-suid.patch +- 0006-bsc1110797_amanda.patch +- 0007-chkstat-fix-privesc-CVE-2019-3690.patch +- 0008-squid-pinger-owner-fix-CVE-2019-3688.patch +- 0009-chkstat-handle-missing-proc.patch +- 0010-chkstat-capabilities-implicit-changes.patch @@ -69,2 +26,2 @@ -------------------------------------------------------------------- -Thu Jul 11 14:21:23 UTC 2019 - [email protected] +Because of inconsistencies between the upstream branch and the package state +the following previously missing changes are introduced by this update: @@ -72,2 +29,3 @@ -- Update to version 20190711: - * iputils: Add capability permissions for clockdiff (bsc#1140994) +- Update to version 20181117: + * removed old entry for rmtab + * Fixed typo in icinga2 whitelist entry @@ -76 +34 @@ -Wed Jul 10 12:29:08 UTC 2019 - [email protected] +Fri Jan 31 17:25:47 UTC 2020 - Malte Kraus <[email protected]> @@ -78,3 +36,5 @@ -- Update to version 20190710: - * iputils/ping: Drop effective capability - * iputils/ping6: Remove definitions +- fix regression where chkstat breaks without /proc available + (bsc#1160764, bsc#1160594, 0009-chkstat-handle-missing-proc.patch) +- fix capability handling when doing multiple permission changes + at once (bsc#1161779, + 0010-chkstat-capabilities-implicit-changes.patch) @@ -83 +43 @@ -Thu Jun 13 08:57:42 UTC 2019 - [email protected] +Tue Nov 19 16:57:48 UTC 2019 - Malte Kraus <[email protected]> @@ -85,3 +45,2 @@ -- Update to version 20190521: - * singluarity: Add starter-suid for version 3.2.0 - * adjust settings for amanda to current binary layout +- fix invalid free() when permfiles points to argv (bsc#1157198, + changed 0007-chkstat-fix-privesc-CVE-2019-3690.patch) @@ -90 +49 @@ -Wed Jun 5 12:02:18 UTC 2019 - <[email protected]> +Mon Oct 28 16:23:10 UTC 2019 - Malte Kraus <[email protected]> @@ -92 +51,2 @@ -- Move BuildRequires: back to main package +- fix /usr/sbin/pinger ownership to root:squid (bsc#1093414, + CVE-2019-3688, 0008-squid-pinger-owner-fix-CVE-2019-3688.patch) @@ -95 +55 @@ -Wed Jun 5 10:38:58 UTC 2019 - <[email protected]> +Mon Oct 28 12:56:17 UTC 2019 - Malte Kraus <[email protected]> @@ -97 +57,2 @@ -- Moved requires to subpackages (bsc#1137257) +- fix privilege escalation through untrusted symlinks (bsc#1150734, + CVE-2019-3690, 0007-chkstat-fix-privesc-CVE-2019-3690.patch) @@ -100 +61 @@ -Thu May 2 09:46:05 UTC 2019 - [email protected] +Thu Sep 26 07:30:01 UTC 2019 - Johannes Segitz <[email protected]> @@ -102,4 +63,2 @@ -- Fixed versions. Removed set_version from _service file, doesn't - work with the new packaging. Call fix_version.sh to set current - date as version instead -- Fixed requires for -config and -zypp-plugin +- Updated permissons for amanda, added 0006-bsc1110797_amanda.patch + (bsc#1110797) @@ -108 +67 @@ -Tue Apr 30 08:57:37 UTC 2019 - [email protected] +Thu Jun 13 13:13:31 UTC 2019 - Malte Kraus <[email protected]> @@ -110,5 +69,2 @@ -- Update to version 20190429: - * removed entry for /var/cache/man. Conflicts with packaging and man:man is - the better setting anyway (bsc#1133678) - * fixed error in description of permissions.paranoid. Make it clear that this - is not a usable profile, but intended as a base for own developments +- Added ./0005-singularity-starter-suid.patch (bsc#1128598) + New whitelisting for /usr/lib/singularity/bin/starter-suid @@ -117 +73 @@ -Sat Apr 13 17:12:12 UTC 2019 - Jan Engelhardt <[email protected]> +Tue Apr 30 08:35:44 UTC 2019 - [email protected] @@ -119,2 +75,3 @@ -- Fix RPM group, fix hard requirement on documentation. - Update description typography. +- Added 0004-var-cache-man.patch. Removed entry for /var/cache/man. + Conflicts with packaging and man:man is the better setting anyway + (bsc#1133678) @@ -123 +80 @@ -Thu Apr 11 11:18:36 UTC 2019 - [email protected] +Tue Feb 12 16:17:23 UTC 2019 - [email protected] @@ -125,3 +82,10 @@ -- Created new subpackages -config, -doc and standalone package chkstat - where we can start a better versioning scheme and require it from the - original package +- Added 0001-whitelisting-update-virtualbox.patch (bsc#1120650) + New whitelisting for /usr/lib/virtualbox/VirtualBoxVM and removed + stale entries for VirtualBox +- Added 0002-consistency-between-profiles.patch + Ensure consistency of entries, otherwise switching between settings + becomes problematic +- Added 0003-var-run-postgresql.patch (bsc#1123886) + Whitelist for postgresql. Currently the checker doesn't complain + because the directories aren't packaged, but that might change + and/or our checkers might improve @@ -130,47 +94 @@ -Tue Feb 12 14:29:45 UTC 2019 - [email protected] - -- Update to version 20190212: - * removed old entry for wodim - * removed old entry for netatalk - * removed old entry for suidperl - * removed old entriy for utempter - * removed old entriy for hostname - * removed old directory entries - * removed old entry for qemu-bridge-helper - * removed old entries for pccardctl - * removed old entries for isdnctrl - * removed old entries for unix(2)_chkpwd - * removed old entries for mount.nfs - * removed old entries for (u)mount - * removed old entry for fileshareset - * removed old entries for KDE - * removed old entry for heartbeat - * removed old entry for gnome-control-center - * removed old entry for pcp - * removed old entry for lpdfilter - * removed old entry for scotty ++++ 92 more lines (skipped) ++++ between /work/SRC/openSUSE:Leap:15.2/permissions/permissions.changes ++++ and /work/SRC/openSUSE:Leap:15.2/.permissions.new.26092/permissions.changes Old: ---- fix_version.sh permissions-20200127.tar.xz New: ---- permissions-20181224.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ permissions.spec ++++++ --- /var/tmp/diff_new_pack.BAk6DH/_old 2020-03-06 12:35:59.994564722 +0100 +++ /var/tmp/diff_new_pack.BAk6DH/_new 2020-03-06 12:35:59.998564724 +0100 @@ -1,7 +1,7 @@ # # spec file for package permissions # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,28 +12,30 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%define VERSION 20200127 - Name: permissions -Version: %{VERSION} +Version: 20181224 Release: 0 Summary: SUSE Linux Default Permissions # Maintained in github by the security team. -License: GPL-2.0-or-later +License: GPL-2.0+ Group: Productivity/Security -URL: http://github.com/openSUSE/permissions +Url: http://github.com/openSUSE/permissions Source: permissions-%{version}.tar.xz -Source1: fix_version.sh BuildRequires: libcap-devel -Requires: chkstat -Requires: permissions-config -Recommends: permissions-doc +#!BuildIgnore: group(trusted) +Requires(post): %fillup_prereq +Requires(pre): group(trusted) Provides: aaa_base:%{_sysconfdir}/permissions +%description +Permission settings of files and directories depending on the local +security settings. The local security setting (easy, secure, or paranoid) +can be configured in /etc/sysconfig/security. + %prep %setup -q @@ -43,69 +45,25 @@ %install %make_install fillupdir=%{_fillupdir} -%description -Permission settings of files and directories depending on the local -security settings. The local security setting ("easy", "secure", or "paranoid") -can be configured in /etc/sysconfig/security. - -This package does not contain files, it just requires the necessary packages. +%post +%{fillup_only -n security} +# apply all potentially changed permissions +%{_bindir}/chkstat --system %files - -%package doc -Summary: SUSE Linux Default Permissions documentation -Group: Documentation/Man -Version: %{suse_version}_%{VERSION} -Release: 0 - -%description doc -Documentation for the permission files /etc/permissions*. - -%files doc -%{_mandir}/man5/permissions.5%{ext_man} - -%package config -Summary: SUSE Linux Default Permissions config files -Group: Productivity/Security -Version: %{suse_version}_%{VERSION} -Release: 0 -Requires(post): %fillup_prereq -Requires(post): chkstat -#!BuildIgnore: group(trusted) -Requires(pre): group(trusted) - -%description config -The actual permissions configuration files, /etc/permission.*. - -%files config %config %{_sysconfdir}/permissions %config %{_sysconfdir}/permissions.easy %config %{_sysconfdir}/permissions.secure %config %{_sysconfdir}/permissions.paranoid %config(noreplace) %{_sysconfdir}/permissions.local -%{_fillupdir}/sysconfig.security - -%post config -%{fillup_only -n security} -# apply all potentially changed permissions -%{_bindir}/chkstat --system || : - -%package -n chkstat -Summary: SUSE Linux Default Permissions tool -Group: Productivity/Security -Version: %{suse_version}_%{VERSION} -Release: 0 - -%description -n chkstat -Tool to check and set file permissions. - -%files -n chkstat %{_bindir}/chkstat +%{_mandir}/man5/permissions.5%{ext_man} %{_mandir}/man8/chkstat.8%{ext_man} +%{_fillupdir}/sysconfig.security %package -n permissions-zypp-plugin BuildArch: noarch -Requires: permissions = %{VERSION} +Requires: permissions = %version Requires: python3-zypp-plugin Requires: libzypp(plugin:commit) = 1 Summary: A zypper commit plugin for calling chkstat ++++++ _service ++++++ --- /var/tmp/diff_new_pack.BAk6DH/_old 2020-03-06 12:36:00.014564734 +0100 +++ /var/tmp/diff_new_pack.BAk6DH/_new 2020-03-06 12:36:00.018564737 +0100 @@ -4,9 +4,11 @@ <param name="scm">git</param> <param name="versionformat">%cd</param> <param name="changesgenerate">enable</param> + <param name="revision">SLE-15-SP2</param> </service> <service name="recompress" mode="disabled"> <param name="file">*.tar</param> <param name="compression">xz</param> </service> + <service name="set_version" mode="disabled"/> </services> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.BAk6DH/_old 2020-03-06 12:36:00.026564741 +0100 +++ /var/tmp/diff_new_pack.BAk6DH/_new 2020-03-06 12:36:00.030564744 +0100 @@ -1,4 +1,4 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/openSUSE/permissions.git</param> - <param name="changesrevision">c454d55471490bf8b9e72faa0bb37f3515995bf8</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">0ac750474b90d6b35e984c77806ac742ae887160</param></service></servicedata> \ No newline at end of file ++++++ permissions-20200127.tar.xz -> permissions-20181224.tar.xz ++++++ ++++ 6620 lines of diff (skipped)
