#1154509 Ships two identical files in /etc/cron.d/

Package:
anacron
Source:
anacron
Description:
cron-like program that doesn't go by time
Submitter:
Michael Biebl
Date:
2026-11-21 01:37:01 UTC
Severity:
normal
#1154509#5
Date:
2026-11-19 21:19:28 UTC
From:
To:
The latest update of anacron installed the file
/etc/cron.d/0anacron

This file is identical to
/etc/cron.d/anacron

I assume /etc/cron.d/0anacron was added by mistake and should be removed
again.


Regards,
Michael

#1154509#10
Date:
2026-11-19 21:43:08 UTC
From:
To:
You call dh_installcron twice in debian/rules:
#1154509#15
Date:
2026-11-20 15:12:35 UTC
From:
To:
The two calls to dh_installcron did not have issues until I updated the
debhelper-compat to 14. dh_installcron is arbitrarily installing
anacron0 in cron.d without a specified 0anacron.cron.d file in the
debian folder. I will manually remove /etc/cron.d/0anacron in the rules
file, but dh_installcron should be fixed. I'm also replacing
debian/cron.d with debian/anacron.cron.d to remove that warning.

#1154509#20
Date:
2026-11-21 01:35:16 UTC
From:
To:
Hi

Am 20.11.26 um 16:12 schrieb Lin Qigang:

It might indeed be a good idea to involve the debhelper maintainers to
find out whether that change in behaviour (in v14) is deliberate or a
bug in dh_installcron.

Regards,
Michael