Package: atop
Version: 2.4.0-3
Severity: minor

Hi!

Due to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861874
(atop: interval cannot be customized anymore) in Debian stretch I
changed the LOGINTERVAL directly in /usr/share/atop/atop.daily
(with a dpkg-divert), because /etc/default/atop was no longer read.
So on Debian stretch the comment in /etc/default/atop stating
"this file is no longer used and will be removed in a future
release" looks correct.

In Debian buster the comment is still the same as in stretch:
"this file is no longer used and will be removed in a future release"

The first part is no longer true (because it is used), and the
second part looks a bit worrisome, because it indicates that above
configuration is not future-proof and maybe /etc/atoprc will be
used in an upcoming version.

The man page atop(1) in buster states:

| The mentioned default values can be overruled by creating the file
| /etc/default/atop that might contain other values for LOGOPTS (by
| default the -R flag), LOGINTERVAL (in seconds, by default 600),
| and LOGGENERATIONS (in days, by default 28).

So using this for configuration seems fine.

Later the man page states:

| /etc/default/atop
|   ...
|   This file is not created or overwritten when atop is installed, so
|   it has to be created manually to override the default settings.

But the file is created even with a fresh installation on Debian
buster.

I haven't verified which parts of comment and man page are from
upstream and which are part of the Debian packaging, but I think
they should be consistent within the Debian packaging.


Thank you for maintaining the atop package, this is very helpful on
many of our systems!

Regards,

Thomas

-- System Information:
Debian Release: 10.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-9-amd64 (SMP w/32 CPU cores)
Locale: LANG=en_US.utf-8, LC_CTYPE=en_US.utf-8 (charmap=UTF-8), 
LANGUAGE=en_US.utf-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages atop depends on:
ii  libc6        2.28-10
ii  libncurses6  6.1+20181013-2+deb10u2
ii  libtinfo6    6.1+20181013-2+deb10u2
ii  lsb-base     10.2019051400
ii  zlib1g       1:1.2.11.dfsg-1

Versions of packages atop recommends:
ii  cron [cron-daemon]  3.0pl1-134+deb10u1

atop suggests no packages.

-- Configuration Files:
/etc/default/atop changed:
LOGINTERVAL=60


-- no debconf information

-- 
Thomas Arendsen Hein <tho...@intevation.de>
OpenPGP key: https://intevation.de/~thomas/thomas_pgp.asc (0xD45DE28FF3A2250C)
Intevation GmbH, Neuer Graben 17, 49074 Osnabrueck - AG Osnabrueck, HR B 18998
Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner

Reply via email to