Re: Anacron/Cron needed by default anymore?

2019-02-12 Thread Ralf Mardorf
On Tue, 12 Feb 2019 09:59:01 -0800, Bryan Quigley wrote:
>Subject: Anacron/Cron needed by default anymore?
  ^^
  Oops, I missed that part :D. You don't
  want to drop it completely.

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Anacron/Cron needed by default anymore?

2019-02-12 Thread Ralf Mardorf
On Tue, 12 Feb 2019 09:59:01 -0800, Bryan Quigley wrote:
>Based on a disco desktop current jobs:
>apport - clean all crash reports which are older than a week.
>apt-compat - says to prefer the systemd timers
>bsdmainutils - BSD mainutils calendar daily maintenance script
>cracklib-runtime - make a wordlist for stronger password checking
>dpkg - Backup the 7 last versions of dpkg databases containing user
>data. logrotate - skips if systemd is installed
>man-db - skips if systemd is installed
>mlocate - regenerates locate database
>passwd - backups passwd group shadow gshadow
>popularity-contest - sends package info
>ubuntu-advantage-tools - runs status and stores in a cache
>update-notifier-common - Try to rerun any package data downloads that
>failed at package install time.

FWIW

https://packages.ubuntu.com/search?searchon=contents&keywords=fstrim.timer&mode=exactfilename&suite=cosmic&arch=any
https://packages.ubuntu.com/search?searchon=contents&keywords=systemd-tmpfiles-clean.timer&mode=exactfilename&suite=cosmic&arch=any

Neither for my Ubuntu, nor for my Arch Linux install I need much
timers.

I'm booted to Arch Linux now, but it should be similar for my Ubuntu
install:

  $ systemctl list-timers --all
  NEXT LEFT  LAST 
PASSEDUNIT ACTIVATES
  Wed 2019-02-13 00:00:00 CET  4h 40min left Tue 2019-02-12 00:00:51 CET  19h 
ago   logrotate.timer  logrotate.service
  Wed 2019-02-13 00:00:00 CET  4h 40min left Tue 2019-02-12 00:00:51 CET  19h 
ago   shadow.timer shadow.service
  Wed 2019-02-13 13:34:46 CET  18h left  Tue 2019-02-12 13:34:45 CET  5h 
44min ago  systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service
  Mon 2019-02-18 00:00:00 CET  5 days left   Mon 2019-02-11 00:00:21 CET  1 day 
19h ago fstrim.timer fstrim.service

  4 timers listed.

However, backwards compatibility might be useful for those who make
intensive use of individual cron jobs that aren't provided by packages.
Should they be forced to redo all the work they already have done?

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Anacron/Cron needed by default anymore?

2019-02-12 Thread Bryan Quigley
Hi all,

Systemd timers seem like a fine replacement[1] for cron/anacron and is
installed by default.  Further, many of our default services have switched
to them.

Based on the recent change [2] in Debian, I don't believe anacron is needed
anymore.  I'm curious if anyone sees a specific need for cron to be there
as well.

Based on a disco desktop current jobs:
apport - clean all crash reports which are older than a week.
apt-compat - says to prefer the systemd timers
bsdmainutils - BSD mainutils calendar daily maintenance script
cracklib-runtime - make a wordlist for stronger password checking
dpkg - Backup the 7 last versions of dpkg databases containing user data.
logrotate - skips if systemd is installed
man-db - skips if systemd is installed
mlocate - regenerates locate database
passwd - backups passwd group shadow gshadow
popularity-contest - sends package info
ubuntu-advantage-tools - runs status and stores in a cache
update-notifier-common - Try to rerun any package data downloads that
failed at package install time.

Happy to start tackling those that are left if there is agreement to move
to systemd timers / drop anacron/cron.

Thanks!
Bryan

[1] Best overview IMHO https://wiki.archlinux.org/index.php/Systemd/Timers
[2]
https://salsa.debian.org/gnome-team/meta-gnome3/commit/7765c0ede92f1487819dd3407c48605a5fe1aa5d
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss