Your message dated Mon, 15 Jul 2019 23:06:54 +0200
with message-id 
<CAK0Odpyg1jY_Z9FsygP6feQUQLgS_FKwU-xQaOtsPS+8q=b...@mail.gmail.com>
and subject line Re: Bug#922935: Run without cron or is cron job still needed?
has caused the Debian Bug report #922935,
regarding Run without cron or is cron job still needed?
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 [email protected]
immediately.)


-- 
922935: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=922935
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
fi

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.

Thanks!

--- End Message ---
--- Begin Message ---
Control: fixed -1 1:4.7-1

Bálint Réczey <[email protected]> ezt írta (időpont: 2019. máj.
14., K, 16:42):
>
> Hi Bryan,
>
> Bryan Quigley <[email protected]> ezt írta (időpont: 2019.
> febr. 22., P, 2:03):
> >
> > 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
> > fi
> >
> > and then create a systemd service/timer.  Happy to do the work to make a 
> > patch if the above is the preferred solution.
>
> Thank you for the offer. It is indeed a good solution and a patch is welcome.
>
> Cheers,
> Balint
>
> >
> > ___
> >
> > 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.
> >
> > Thanks!

--- End Message ---
_______________________________________________
Pkg-shadow-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-shadow-devel

Reply via email to