[Pkg-shadow-devel] Bug#922935: Run without cron or is cron job still needed?

Bryan Quigley bryan.quigley at canonical.com
Fri Feb 22 01:00:32 GMT 2019

Package: passwd
Version: 1:4.5-1.1

This is regards to passwd.cron.daily which backups
passwd/group/shadow/gshadow daily, which AFAICT is not upstream, but
may have been in the past.

I'm looking at what it takes to run systems without cron and following
the example of other packages like logrotate:

They add this bit to the cron script:
# skip in favour of systemd timer
if [ -d /run/systemd/system ]; then
    exit 0

and then create a systemd service/timer.  Happy to do the work to make
a patch if the above is the preferred solution.


Alternatively, I have also wondered if the cron job functionality is
still needed or if the built-in generated backups are enough -
/etc/group- etc.

On my machine the /etc/group- backup would have been much more useful
then the one replaced daily by the cron job in /var/backups.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-shadow-devel/attachments/20190221/5e8aee94/attachment-0001.html>

More information about the Pkg-shadow-devel mailing list