@reboot jobs in cron.d files are not being added

Bug #1685364 reported by Lee Maguire
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd-cron (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The default cron file for the logcheck package contains a job to run at reboot, and an hourly job.
-----------
@reboot logcheck if [ -x /usr/sbin/logcheck ]; then nice -n10 /usr/sbin/logcheck -R; fi
2 * * * * logcheck if [ -x /usr/sbin/logcheck ]; then nice -n10 /usr/sbin/logcheck; fi
-----------

The hourly job is added as a timer, but systemd-crontab-generator is not adding a reboot job.

● cron-logcheck-logcheck-1.timer not-found failed failed cron-logcheck-logcheck-1.timer

systemd-cron_1.5.8-1

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package systemd-cron - 2.3.0-2

---------------
systemd-cron (2.3.0-2) unstable; urgency=medium

  * Misc. administrative tasks to clean up tracker:
    * Salsa VCS: git repository was moved to systemd team.
    * Update my email address to @debian.org one.
    * Close old Ubuntu bugs:
      * (LP: #1685364) not reproducible
      * (LP: #1583743) WONTFIX, this is a private API in /usr/libexec

 -- Alexandre Detiste <email address hidden> Wed, 29 Nov 2023 12:44:45 +0100

Changed in systemd-cron (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.