Devuan bug report logs - #262
[atop] ..atop installs systemd cron job on non-systemd Devuan box...

version graph

Package: atop; Maintainer for atop is (unknown); Source for atop is src:atop.

Reported by: Arnt Karlsen <arnt@iaksess.no>

Date: Sun, 18 Nov 2018 02:03:01 UTC

Severity: normal

Tags: debian

Fixed in version 2.4.0-1

Done: Mark Hindley <mark@hindley.org.uk>

Forwarded to https://bugs.debian.org/913364

Full log


🔗 View this message in rfc822 format

MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: owner@bugs.devuan.org
From: "Devuan bug Tracking System" <owner@bugs.devuan.org>
To: Arnt Karlsen <arnt@iaksess.no>
Subject: bug#262 closed by Mark Hindley <mark@hindley.org.uk> (Fixed in
 Debian #913364)
Message-ID: <handler.262.D262.167407353716529.notifdone@bugs.devuan.org>
References: <Y8hVf4iNkyAfB9w0@hindley.org.uk> <20181118025506.2232f7f3@d44>
X-Devuan-PR-Message: they-closed 262
X-Devuan-PR-Package: atop
X-Devuan-PR-Keywords: debian
Reply-To: 262@bugs.devuan.org
Date: Wed, 18 Jan 2023 20:26:07 +0000
Content-Type: multipart/mixed; boundary="----------=_1674073567-16545-1"
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the atop package:

#262: [atop] ..atop installs systemd cron job on non-systemd Devuan box...

It has been closed by Mark Hindley <mark@hindley.org.uk>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Mark Hindley <mark@hindley.org.uk> by
replying to this email.


-- 
262: https://bugs.devuan.org/cgi/bugreport.cgi?bug=262
Devuan Bug Tracking System
Contact owner@bugs.devuan.org with problems
[Message part 2 (message/rfc822, inline)]
From: Mark Hindley <mark@hindley.org.uk>
To: 262-done@bugs.devuan.org
Subject: Fixed in Debian #913364
Date: Wed, 18 Jan 2023 20:24:31 +0000
Version: 2.4.0-1
[Message part 3 (message/rfc822, inline)]
From: Arnt Karlsen <arnt@iaksess.no>
To: submit@bugs.devuan.org
Subject: [atop] ..atop installs systemd cron job on non-systemd Devuan box...
Date: Sun, 18 Nov 2018 02:55:06 +0100
Package: atop
Version: 2.2.6-4
Severity: normal


Hi,

..my first attempt wound up in the partially wrong place, upstream:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913364 because of
https://bugs.devuan.org//cgi/bugreport.cgi?bug=256

Package: atop
Version: 2.2.6-4
Severity: normal

--- Please enter the report below this line. ---

..on installing atop, I found things going at a glacial pace, a 
wee part of global climate change, and this fine new cron job:
root@box:~# cat /etc/cron.d/atop
PATH=/bin:/usr/bin:/sbin:/usr/sbin

# daily restart of atop at midnight
0 0 * * * root if [ -d "/run/systemd/system" ]; then systemctl restart
atop; else /usr/share/atop/atop.daily \& ; fi

..commenting it out, "brought back life."

..we need to keep an eye out for such systemd tricks causing such DOS,
one way is chk which init system is installed, and then install the
correct cron job file.
root@box:~# dpkg -l atop |grep atop |fmt -tu
ii atop 2.2.6-4 amd64 Monitor for system resources and process activity


--- System information. ---
Architecture: 
Kernel:       Linux 4.18.0-0.bpo.1-rt-amd64

Debian Release: 9
  500 stable-updates  deb.devuan.org 
  500 stable-security deb.devuan.org 
  500 stable          deb.devuan.org 
  100 stable-proposed-updates deb.devuan.org 
  100 stable-backports deb.devuan.org 
  100 experimental    deb.devuan.org 

--- Package information. ---
Depends                    (Version) | Installed
====================================-+-=============
libc6                      (>= 2.14) | 2.24-11+deb9u3
libncurses5                   (>= 6) | 6.0+20161126-1+deb9u2
libtinfo5                     (>= 6) | 6.0+20161126-1+deb9u2
zlib1g                  (>= 1:1.1.4) | 1:1.2.8.dfsg-5
init-system-helpers       (>= 1.18~) | 1.48+devuan2.0
lsb-base                 (>= 3.2-14) | 4.1+devuan2


Recommends       (Version) | Installed
==========================-+-===========
cron                       | 3.0pl1-128+deb9u1
 OR cron-daemon            | 


Package's Suggests field is empty.

-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Sun Nov 24 08:05:27 2024;