Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package atop for openSUSE:Factory checked in at 2022-01-17 22:34:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/atop (Old) and /work/SRC/openSUSE:Factory/.atop.new.1892 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "atop" Mon Jan 17 22:34:24 2022 rev:8 rq:946992 version:2.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/atop/atop.changes 2021-08-23 10:09:33.972148696 +0200 +++ /work/SRC/openSUSE:Factory/.atop.new.1892/atop.changes 2022-01-17 22:35:18.378293810 +0100 @@ -1,0 +2,77 @@ +Fri Jan 7 14:16:10 UTC 2022 - Michael Vetter <mvet...@suse.com> + +- Update to 2.7.0: + * Describe (un)restricted view in first screen + * Cosmetic change + * Determine (un)restricted view by verifying suid instead of euid. + * Do not ignore unknown network interface + * Parseable output: optionally exchange spaces in command + * No setuid by default + * Correct conversion to 2.7 raw files + * Corrected type + * Only show per-node NUMA stats when more than 1 node + * Prepare man pages for version 2.7 + * Prepare atopconvert for version 2.7 + * Detect logrotation for process accounting with psacct/acct + * Speed and duplex mode not correctly filled for interface + * Bug solution related to discards + * Support discard counter for disks and skip unused disks + * ifprop.c: fix ioctl parameter after handshaking with kernel + * Show gigabits/sec instead of megabits/sec for Infiniband #131 + * CVE: use execvp with a specified path to avoid PATH hijacking + * Correct memory busy logic in atopsar + * Add parseable output for per-node NUMA counters + * Additions to NUMA counters Table overflow checks + * Gather and show per numa cpu related statistics + * Gather and show per numa memory related statistics + * Correction in handling of zswap and ksm counters + * Support containers created by podman + * Cleanup old messages + * Do not change owner to root in Makefile (#76) + * Support process accounting log /var/log/account/pacct (#138) + * Polish do_perfevents when atop built with NOPERFEVENT + * Do not use doconvert funtion to validate counter (#160) + * New counter for number of NUMA pages migrated + * Modify field order and priority of paging counters + * Small text modification for migrated counter + * Avoid non-initialized prestat by introducing extra pointer + * Function 'calcdiff' (deviate.c) used uninitialized prestat struct + * Reserver space for future counters. + * Clean up ignored files + * Variable number of positions for sortitem + * Adapt man page of atop for state selection (add state 'I'). + * Allow thread state 'I' with state selection (key 'Q') + * Count idle threads as non-interruptible threads + * Uninitialized index might cause segmentation fault. + * Support NVMe multipath disk statistics + * Support page migration counter + * photosyst.c: fix build on musl + * Use of struct ethtool_link_settings should be conditional + * Cosmetic change (source code layout) + * Various bug fixes and in general add 'thread' to all messages + * Properly define if interface is virtual or physical + * Add license info to various include files (solves issue #144) + * HTTP statistics modified from -h flag to -o flag (#152) + * Possible buffer overflow with huge number of seconds Number + of seconds will be limited to 5 positions. + * Possible buffer overflow with average disk I/O + * Allow process selection based on specific process states. + * Correct definition of environment variable LOGOPTS + * Switch to using curses vw_printw as vwprintw is deprecated + * Support multiple counters 'allocstall_' in /proc/vmstat. + * Avoid integer overflow when calculating PSI percentages. + * Suppress irrelevant counters (solves issue #148) + * Add the number of OOM kills to the -s report + * Record the number of process stalls to run memory compaction + * Make clean removes atopsar now (issue 145) + * Add counter for the number of OOM kills to the PAG line + * Add counters for zswap and KSM. + * ifprop.c: fix build with kernel < 4.6 + * Fix initifprop() when obtaining properties of all interfaces + * Fixed rounding problems in the average-per-second mode. +- Refresh atop-makefile.patch +- Refresh harden_atop.service.patch +- Call make install instead of make systemdinstall + Default is systemd now + +------------------------------------------------------------------- Old: ---- atop-2.6.0.tar.gz New: ---- atop-2.7.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ atop.spec ++++++ --- /var/tmp/diff_new_pack.J8GkxY/_old 2022-01-17 22:35:18.842294117 +0100 +++ /var/tmp/diff_new_pack.J8GkxY/_new 2022-01-17 22:35:18.846294120 +0100 @@ -2,7 +2,7 @@ # # spec file for package atop # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # Copyright (c) 2012 Pascal Bleser <pascal.ble...@opensuse.org> # # All modifications and additions to the file contributed by third parties @@ -19,7 +19,7 @@ Name: atop -Version: 2.6.0 +Version: 2.7.0 Release: 0 Summary: Monitor for System Resources and Process Activity License: GPL-2.0-only @@ -86,7 +86,7 @@ install -d "%{buildroot}%{_sysconfdir}/default" install -Dp -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/default/atop -make systemdinstall DESTDIR=%{buildroot} SYSDPATH=%{_unitdir} +make install DESTDIR=%{buildroot} SYSDPATH=%{_unitdir} rm -f "%{buildroot}%{_localstatedir}/log/atop"/* ++++++ atop-2.6.0.tar.gz -> atop-2.7.0.tar.gz ++++++ ++++ 15890 lines of diff (skipped) ++++++ atop-makefile.patch ++++++ --- /var/tmp/diff_new_pack.J8GkxY/_old 2022-01-17 22:35:18.974294205 +0100 +++ /var/tmp/diff_new_pack.J8GkxY/_new 2022-01-17 22:35:18.974294205 +0100 @@ -1,6 +1,6 @@ -diff -Nur atop-2.6.0/Makefile new/Makefile ---- atop-2.6.0/Makefile 2020-12-21 20:57:55.000000000 +0100 -+++ new/Makefile 2021-04-13 23:52:53.597971062 +0200 +diff -urEbw atop-2.7.0/Makefile atop-2.7.0.new/Makefile +--- atop-2.7.0/Makefile 2021-12-18 12:04:24.000000000 +0100 ++++ atop-2.7.0.new/Makefile 2022-01-07 15:24:44.084445219 +0100 @@ -20,7 +20,7 @@ PMPATH2 = /usr/lib64/pm-utils/sleep.d PMPATHD = /usr/lib/systemd/system-sleep @@ -10,32 +10,4 @@ OBJMOD0 = version.o OBJMOD1 = various.o deviate.o procdbase.o OBJMOD2 = acctproc.o photoproc.o photosyst.o rawlog.o ifprop.o parseable.o -@@ -156,22 +156,22 @@ - chmod 644 $(DESTDIR)$(DEFPATH)/atop - # - cp atop $(DESTDIR)$(BINPATH)/atop -- chown root $(DESTDIR)$(BINPATH)/atop -+ #chown root $(DESTDIR)$(BINPATH)/atop - chmod 04711 $(DESTDIR)$(BINPATH)/atop - ln -sf atop $(DESTDIR)$(BINPATH)/atopsar - cp atopacctd $(DESTDIR)$(SBINPATH)/atopacctd -- chown root $(DESTDIR)$(SBINPATH)/atopacctd -+ #chown root $(DESTDIR)$(SBINPATH)/atopacctd - chmod 0700 $(DESTDIR)$(SBINPATH)/atopacctd - cp atopgpud $(DESTDIR)$(SBINPATH)/atopgpud -- chown root $(DESTDIR)$(SBINPATH)/atopgpud -+ #chown root $(DESTDIR)$(SBINPATH)/atopgpud - chmod 0700 $(DESTDIR)$(SBINPATH)/atopgpud - cp atop $(DESTDIR)$(BINPATH)/atop-$(VERS) - ln -sf atop-$(VERS) $(DESTDIR)$(BINPATH)/atopsar-$(VERS) - cp atopconvert $(DESTDIR)$(BINPATH)/atopconvert -- chown root $(DESTDIR)$(BINPATH)/atopconvert -+ #chown root $(DESTDIR)$(BINPATH)/atopconvert - chmod 0711 $(DESTDIR)$(BINPATH)/atopconvert - cp atopcat $(DESTDIR)$(BINPATH)/atopcat -- chown root $(DESTDIR)$(BINPATH)/atopcat -+ #chown root $(DESTDIR)$(BINPATH)/atopcat - chmod 0711 $(DESTDIR)$(BINPATH)/atopcat - cp man/atop.1 $(DESTDIR)$(MAN1PATH) - cp man/atopsar.1 $(DESTDIR)$(MAN1PATH) ++++++ harden_atop.service.patch ++++++ --- /var/tmp/diff_new_pack.J8GkxY/_old 2022-01-17 22:35:19.014294231 +0100 +++ /var/tmp/diff_new_pack.J8GkxY/_new 2022-01-17 22:35:19.018294234 +0100 @@ -1,25 +1,24 @@ -Index: atop-2.6.0/atop.service -=================================================================== ---- atop-2.6.0.orig/atop.service -+++ atop-2.6.0/atop.service -@@ -3,6 +3,19 @@ Description=Atop advanced performance mo +diff -urEbw atop-2.7.0/atop.service atop-2.7.0.new/atop.service +--- atop-2.7.0/atop.service 2021-12-18 12:04:24.000000000 +0100 ++++ atop-2.7.0.new/atop.service 2022-01-07 15:30:07.869528035 +0100 +@@ -3,6 +3,19 @@ Documentation=man:atop(1) [Service] -+# added automatically, for details please see -+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort -+ProtectSystem=full -+ProtectHome=true -+PrivateDevices=true -+ProtectHostname=true -+ProtectClock=true -+ProtectKernelTunables=true -+ProtectKernelModules=true -+ProtectKernelLogs=true -+ProtectControlGroups=true -+RestrictRealtime=true -+# end of automatic additions - Environment=LOGOPTS="" - Environment=LOGINTERVAL=600 - Environment=LOGGENERATIONS=28 +++# added automatically, for details please see +++# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort +++ProtectSystem=full +++ProtectHome=true +++PrivateDevices=true +++ProtectHostname=true +++ProtectClock=true +++ProtectKernelTunables=true +++ProtectKernelModules=true +++ProtectKernelLogs=true +++ProtectControlGroups=true +++RestrictRealtime=true +++# end of automatic additions + Environment="LOGOPTS=" + Environment="LOGINTERVAL=600" + Environment="LOGGENERATIONS=28"