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

From: ". fsmithred" <[email-masked]>
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

---

From: "Devuan bug Tracking System" <[email-masked]>
Date: Wed, 06 Jul 2022 13:54:07 +0000

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 <[email-masked]>.

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 <[email-masked]> by
replying to this email.

-- 
682: https://bugs.devuan.org/cgi/bugreport.cgi?bug=682
Devuan Bug Tracking System
Contact [email-masked] with problems

Subject: diversion of anacron not properly removed upon system install
From: fsmithred <[email-masked]>
To: [email-masked]
Date: Wed, 6 Jul 2022 09:51:47 -0400

close 682

Fixed in refractainstaller version 9.6.2

Subject: diversion of anacron not properly removed upon system install
From: ". fsmithred" <[email-masked]>
To: [email-masked]
Date: Wed, 29 Jun 2022 06:04:45 -0400

to this: