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>

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to devuan-bugs@lists.dyne.org, fsmithred <fsmithred@gmail.com>:
bug#682; Package refractainstaller-base. (Wed, 29 Jun 2022 10:08:02 GMT) (full text, mbox, link).


Acknowledgement sent to ". fsmithred" <fsmithred@gmail.com>:
New bug report received and forwarded. Copy sent to fsmithred <fsmithred@gmail.com>.

Your message had a Version: pseudo-header with an invalid package version:

9.6.1 or earlier

please either use found or fixed to the control server with a correct version, or reply to this report indicating the correct version so the maintainer (or someone else) can correct it for you.

(Wed, 29 Jun 2022 10:08:05 GMT) (full text, mbox, link).


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

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

Reply sent to fsmithred <fsmithred@gmail.com>:
You have taken responsibility. (Wed, 06 Jul 2022 13:54:02 GMT) (full text, mbox, link).


Notification sent to ". fsmithred" <fsmithred@gmail.com>:
bug acknowledged by developer. (Wed, 06 Jul 2022 13:54:07 GMT) (full text, mbox, link).


Message #10 received at 682-close@bugs.devuan.org (full text, mbox, reply):

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

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: Sat Apr 20 08:57:11 2024;