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

Package: atop; Maintainer for atop is (unknown);

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

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

Severity: normal

Full log


Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):

Received: (at submit) by bugs.devuan.org; 18 Nov 2018 02:00:02 +0000
Return-Path: <arnt@iaksess.no>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Sun, 18 Nov 2018 03:00:02 +0100 (CET)
Received: from mailrelay1-3.pub.mailoutpod1-cph3.one.com (mailrelay1-3.pub.mailoutpod1-cph3.one.com [46.30.212.10])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 01F28F6087B
	for <submit@bugs.devuan.org>; Sun, 18 Nov 2018 02:56:04 +0100 (CET)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (1024-bit key; unprotected) header.d=iaksess.no header.i=@iaksess.no header.b="BsygNe/U";
	dkim-atps=neutral
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=iaksess.no; s=20140924;
	h=content-transfer-encoding:content-type:mime-version:message-id:subject:to:
	 from:date:from;
	bh=R5aV0K7I3BcFqAdp19bFWk9wcssqNOR9txI0N1Cl9QQ=;
	b=BsygNe/UeOsMF9vml/1rStmLMu1MQWcDz3cUQvvKPo+ySa4m4r4vuOXabmy89cRuAL/eeI0cI5hH7
	 0DzHg1MSpGI572/5CFQGKebhaJMPDHUPVQWK/i6uqbZdJ7iT+jyTKeBl+wbIHEY4IBcq1d27QLMKUV
	 e2AISsWaHZ2TdbNY=
X-HalOne-Cookie: f220a2c0e107092f62a91953a1bb11f0ed6cb247
X-HalOne-ID: f8b2fa32-ead4-11e8-942e-d0431ea8a283
Received: from d44 (unknown [92.220.151.66])
	by mailrelay1.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPA
	id f8b2fa32-ead4-11e8-942e-d0431ea8a283;
	Sun, 18 Nov 2018 01:55:06 +0000 (UTC)
Date: Sun, 18 Nov 2018 02:55:06 +0100
From: Arnt Karlsen <arnt@iaksess.no>
To: submit@bugs.devuan.org
Subject: [atop] ..atop installs systemd cron job on non-systemd Devuan
 box...
Message-ID: <20181118025506.2232f7f3@d44>
X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
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: Fri Jun 5 03:09:30 2020;