[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#841023: marked as done (crontab to run anacron not installed)



Your message dated Fri, 06 May 2022 07:40:03 +0200
with message-id <2ffcd66c506674866da4f7dbd44639c86f8468a7.camel@debian.org>
and subject line Re: Bug#841023: crontab to run anacron not installed
has caused the Debian Bug report #841023,
regarding crontab to run anacron not installed
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
841023: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841023
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: anacron
Version: 2.3-23
Severity: important

Installing the anacron package does not install /etc/cron.d/anacron
resulting in anacron only running at boot.

>From what I can see in the source package, debian/cron.d is present, but
I think it needs to be named anacron.cron.d for it to be installed by
dh_installcron()

I noticed that LogWatch would run when I rebooted my Jessie desktop
machine, but never otherwise (the machine hardly ever gets rebooted).

Manually creating /etc/cron.d/anacron by copying debian/cron.d results
in the expected behaviour of running the cron.daily scripts every day.

-Kevin



-- System Information:
Debian Release: 8.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages anacron depends on:
ii  debianutils          4.4+b1
ii  init-system-helpers  1.22
ii  libc6                2.19-18+deb8u6
ii  lsb-base             4.1+Debian13+nmu1

Versions of packages anacron recommends:
ii  cron [cron-daemon]           3.0pl1-127+deb8u1
ii  rsyslog [system-log-daemon]  8.4.2-1+deb8u2

Versions of packages anacron suggests:
ii  exim4-daemon-light [mail-transport-agent]  4.84.2-2+deb8u1
ii  powermgmt-base                             1.31+nmu1

-- no debconf information

--- End Message ---
--- Begin Message ---
Control: notfound -1  2.3-23

I can confirm what Boyuan says, at least for 2.3-28 (see below that my dpkg
thinks in a clean small sid chroot)

I'm closing this bug then. 
Please feel free to reopen it, if you can reproduce and provide more details.

-- 
tobi

$ dpkg -l anacron 
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-
=========================================
ii  anacron        2.3-28       amd64        cron-like program that doesn't go
by time

$ dpkg -L anacron | grep anacron
/etc/anacrontab
/etc/cron.d
/etc/cron.d/anacron
/etc/cron.daily
/etc/cron.daily/0anacron
/etc/cron.monthly
/etc/cron.monthly/0anacron
/etc/cron.weekly
/etc/cron.weekly/0anacron
/etc/default/anacron
/etc/init.d/anacron
/lib/systemd/system/anacron.service
/lib/systemd/system/anacron.timer
/usr/sbin/anacron
/usr/share/doc/anacron
/usr/share/doc/anacron/README.Debian
/usr/share/doc/anacron/README.gz
/usr/share/doc/anacron/TODO
/usr/share/doc/anacron/changelog.Debian.gz
/usr/share/doc/anacron/changelog.gz
/usr/share/doc/anacron/copyright
/usr/share/man/man5/anacrontab.5.gz
/usr/share/man/man8/anacron.8.gz
/var/spool/anacron



On Sun, 11 Nov 2018 11:48:42 -0500 Boyuan Yang <byang@debian.org> wrote:
> X-Debbugs-CC: debian@kevinsteen.net
> Control: tag -1 + moreinfo unreproducible
> 
> Hi Kevin,
> 
> I could not reproduce your problem. Even if in anacron 2.3-23, file
> /etc/cron.d/anacron does exist (see [1]).
> 
> Could you please check again?
> 
> Thanks,
> Boyuan Yang
> 
> 
> [1] https://packages.debian.org/jessie/amd64/anacron/filelist
> 
> On Sun, 16 Oct 2016 23:48:49 +0100 Kevin Steen <debian@kevinsteen.net> wrote:
> > Package: anacron
> > Version: 2.3-23
> > Severity: important
> > 
> > Installing the anacron package does not install /etc/cron.d/anacron
> > resulting in anacron only running at boot.
> > 
> > From what I can see in the source package, debian/cron.d is present, but
> > I think it needs to be named anacron.cron.d for it to be installed by
> > dh_installcron()
> > 
> > I noticed that LogWatch would run when I rebooted my Jessie desktop
> > machine, but never otherwise (the machine hardly ever gets rebooted).
> > 
> > Manually creating /etc/cron.d/anacron by copying debian/cron.d results
> > in the expected behaviour of running the cron.daily scripts every day.
> > 
> > -Kevin

--- End Message ---

Reply to: