Devuan bug report logs - #682
diversion of anacron not properly removed upon system install

Package: refractainstaller-base; Maintainer for refractainstaller-base is fsmithred <fsmithred@gmail.com>; Source for refractainstaller-base is src:refractainstaller-base.

Reported by: ". fsmithred" <fsmithred@gmail.com>

Date: Wed, 29 Jun 2022 10:08:02 UTC

Severity: normal

Done: fsmithred <fsmithred@gmail.com>

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: ". fsmithred" <fsmithred@gmail.com>
Subject: bug#682 closed by fsmithred <fsmithred@gmail.com> (diversion of
 anacron not properly removed upon system install)
Message-ID: <handler.682.D682.16571155665741.notifdone@bugs.devuan.org>
References: <02d27cab-e0c8-d4f1-ce86-8f433fc8fade@gmail.com>
 <CAPr39sqc1DFDVGoYBCH84CK4gA5KmQE9F5oJAzQAUCR78d1iJg@mail.gmail.com>
X-Devuan-PR-Message: they-closed 682
X-Devuan-PR-Package: refractainstaller-base
Reply-To: 682@bugs.devuan.org
Date: Wed, 06 Jul 2022 13:54:07 +0000
Content-Type: multipart/mixed; boundary="----------=_1657115647-5748-1"
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the refractainstaller-base package:

#682: diversion of anacron not properly removed upon system install

It has been closed by fsmithred <fsmithred@gmail.com>.

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 fsmithred <fsmithred@gmail.com> by
replying to this email.


-- 
682: https://bugs.devuan.org/cgi/bugreport.cgi?bug=682
Devuan Bug Tracking System
Contact owner@bugs.devuan.org with problems
[Message part 2 (message/rfc822, inline)]
From: fsmithred <fsmithred@gmail.com>
To: 682-close@bugs.devuan.org
Subject: diversion of anacron not properly removed upon system install
Date: Wed, 6 Jul 2022 09:51:47 -0400
close 682

Fixed in refractainstaller version 9.6.2
[Message part 3 (message/rfc822, inline)]
From: ". fsmithred" <fsmithred@gmail.com>
To: submit@bugs.devuan.org
Subject: diversion of anacron not properly removed upon system install
Date: Wed, 29 Jun 2022 06:04:45 -0400
Package: refractainstaller-base
Version: 9.6.1 or earlier

live-config diverts /usr/sbin/anacron to disable it during live sessions.
Refractainstaller removes the diversion but does not rename the file,
This results in cron jobs not running. Logrotate fails to run and log
files continue to grow.

In /usr/bin/refractainstaller and /usr/bin/refractainstaller-yad, change this:
if [ -e /usr/sbin/anacron.orig.anacron ] ; then
        dpkg-divert --no-rename --remove /usr/sbin/anacron
        mv /usr/sbin/anacron.orig.anacron /usr/sbin/anacron
fi

to this:
if [ -e /usr/sbin/anacron.orig.anacron ] ; then
        rm -f /usr/sbin/anacron
        dpkg-divert --rename --remove /usr/sbin/anacron
fi

To fix an installed system, run:
    rm -f /usr/sbin/anacron
    mv /usr/sbin/anacron.orig.anacron /usr/sbin/anacron
    /etc/init.d/anacron restart

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 May 3 14:33:52 2024;