#773639 use cron.daily cron script

Package:
debsecan
Source:
debsecan
Submitter:
Matus UHLAR - fantomas
Date:
2014-12-21 12:27:11 UTC
Severity:
wishlist
#773639#5
Date:
2014-12-21 11:08:19 UTC
From:
To:
please use cron script in cron.daily.

This will cause run debsecan AFTER apt, which means the debsecan cron will
NOT be run before unattended-upgrades fix packages and will not report
vulnerabilities fixed in cron.daily job.

as a sideeffect it will:

- simplify cron processing
- show the cron job in dpkg -L output (bug #345256)

#773639#10
Date:
2014-12-21 11:20:22 UTC
From:
To:
severity 773639 wishlist
thanks

* Matus UHLAR:

We can't because we don't want all clients to hit the web server at
the same time (in each time zone).

Maybe I could change the automatically generated crontab to run after
the cron.daily scripts, but I'm not sure if all systems run cron.daily
at the same time.

I can't fix this due to policy constraints.  ghost file support (as in
RPM) in dpkg would address this, though.

#773639#17
Date:
2014-12-21 12:16:57 UTC
From:
To:
I believe this could be fixed by letting it waiting in the background for
random time.

They do not, especially with anacron.
That's why it has to run from cron.daily job to run after apt.

this would natively work if the cron job was part of the package.