#1112445 cron-apt upgrades when the only action specified is download

#1112445#5
Date:
2025-08-29 12:23:09 UTC
From:
To:
   * What led up to the situation?

Upgrading cron-apt


   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Removed the upgrade action.

   * What was the outcome of this action?

No effect.

   * What outcome did you expect instead?

I expected the upgrading to stop.

cron.d/cron-apt contains this:

  ##
  # Regular cron jobs for the cron-apt package
  #
  # Every night at 4 o'clock.
  0 4     * * *   root    test -x /usr/sbin/cron-apt && /usr/sbin/cron-apt
  # Every hour.
  # 0 *   * * *   root    test -x /usr/sbin/cron-apt && /usr/sbin/cron-apt /etc/cron-apt/config2
  # Every five minutes.
  # */5 * * * *   root    test -x /usr/sbin/cron-apt && /usr/sbin/cron-apt /etc/cron-apt/config2

/etc/cron-apt contains this:

  action.d  config  config.d  errormsg.d  logmsg.d  mailmsg.d  mailonmsgs  syslogmsg.d  syslogonmsgs

Cron-apt is being called with no config file and defaulting to upgrade.
/etc/cron-apt/config2 is missing