Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.boot > #75796

Bug#1108665: override: cron:admin/optional

Path csiph.com!pasdenom.info!usenet.goja.nl.eu.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Alexandre Detiste <alexandre.detiste@gmail.com>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.boot, linux.debian.devel
Subject Bug#1108665: override: cron:admin/optional
Date Wed, 02 Jul 2025 23:30:01 +0200
Message-ID <L4dbH-eNFK-1@gated-at.bofh.it> (permalink)
References <L47fX-eJWV-1@gated-at.bofh.it> <L47IZ-eK8c-3@gated-at.bofh.it> <L47IZ-eK8c-1@gated-at.bofh.it> <L47fX-eJWV-1@gated-at.bofh.it> <L47IZ-eK8c-1@gated-at.bofh.it>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Wed Jul 2 21:27:09 2025
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -3.096
Reply-To Alexandre Detiste <alexandre.detiste@gmail.com>, 1108665@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian FTP Master <ftpmaster@ftp-master.debian.org>
X-Debian-Pr-Message followup 1108665
X-Debian-Pr-Package ftp.debian.org
X-Forwarded-Encrypted i=1; AJvYcCVBzB9Ic+VjTCbMe1dUd0ABqak95C5g72cg+GNy7WQU75NXlmhP6isqCG0N6xDdzaCGkKrMoLHX@bugs.debian.org
X-Gm-Message-State AOJu0YyXwa2hv7PW8x3TIcCyMSGXRIIemVoyU/C0d8b5qvBgtO8HN7VE I44WOzk1zTsrRizb+KMC5CJ1DX54NXBgfl/mC03uEI/1RebcC3QyxBE0J0XqNxT8Y2RDWOgyx7z RogxlziKEOIj0U0U57BZ29w7Cg7en3B6SQG31
X-Gm-Gg ASbGnctetpSKdAGINmLZxtk0PpA1r7Z9lNe37t3JxUrF04zWG8LJ+s9qnRuWhXBtFup y7r6U8xUb53l3HyWfkP2ZKx37HXrc5ztRRcv0k94arILYEB9lOrJKqslkYuB7/quccoHOdTPRkU PmOEXk7e/Gn+m3793t5DzfacaGb2q80746dzLGIoD9Nw==
X-Google-SMTP-Source AGHT+IF2dfzNoLb6ZaZBRhBpWLV26cGXJTqXgw6V18ZDM1LuEVaVu/fDh2opk0mmVkxK3mVbPcxY5Xje6GU+A21z4zA=
X-Received by 2002:a05:690c:6e04:b0:70e:7a67:b4b5 with SMTP id 00721157ae682-716590aea79mr18273107b3.22.1751491510646; Wed, 02 Jul 2025 14:25:10 -0700 (PDT)
MIME-Version 1.0
X-Gm-Features Ac12FXwlqsVLMyy4hslOFa4VshuZEnbpY7bzNp1jUo4DWn5lrgMN3Tvw5FvbEgo
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1912246
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 69
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc Cyril Brulebois <kibi@debian.org>, 1108665@bugs.debian.org, cron@packages.debian.org, debian-boot@lists.debian.org, debian-devel@lists.debian.org, наб <nabijaczleweli@nabijaczleweli.xyz>
X-Original-Date Wed, 2 Jul 2025 23:24:59 +0200
X-Original-Message-ID <CADsTwj+L2gp9i5s0OHVs+ZxE1dDcc7kA3StgFB2fJk9RqmCLRQ@mail.gmail.com>
X-Original-References <aGVKn0iKmbDbWALw@per.namespace.at> <20250702152958.tqe64i5twlmp4af5@mraw.org> <aGVRkpmrxEz_ojJ9@per.namespace.at> <aGVKn0iKmbDbWALw@per.namespace.at> <aGVRkpmrxEz_ojJ9@per.namespace.at>
Xref csiph.com linux.debian.bugs.dist:1251693 linux.debian.maint.boot:75796 linux.debian.devel:117828

Cross-posted to 3 groups.

Show key headers only | View raw


Le mer. 2 juil. 2025 à 17:35, Chris Hofstaedtler <zeha@debian.org> a écrit :
> > Without any particular hat: I would expect someone wanting to drop cron
> > to come up with some analysis of what remains to be done and what is
> > going to break if that were to be implemented.

Hi, this has been on the back burner for me for 10 years
and наб did a systematical analysis of all the /etc/cron.... files
shipped by every single package of the distribution.

The result are the two heuristics table listed here:
   https://wiki.debian.org/systemd-cron

For the other cron jobs it is assumed that the bare name
matches the bare name of the timer.

To check one system in particular, one needs to do

# apt install systemd-cron -y;  systemctl list-timers

This will list two families of .timers :
 - the native ones.
   very common examples:
        * dpkg-db-backupt.timer,
        * man-db.timer,
        * apt-daily.timer,
        * fstrim.timer
        * e2scrub_all.timer
        * ...
- the remaining generated one, from the /etc/cron* files:
   they all live in the cron-xxxxx.timer namespace
   and physicaly in /run/systemd/generator/
        *  cron-daily-aptitude.timer
        *  cron-daily-popularity-contest.timer
        *  cron-daily-google-chrome.timer
        *  cron-monthly-check-dfsg-status.timer
        * ...

Here the non free google-chrome-stable package is the only thing expecting
a cron daemon to be there somehow and going to _break_ a little if
it's not there.

All the packages from the distribution seems to have
the proprer "Depends: cron | cron-daemon" and won't break.

I still think systemd-cron would be a better default for task-laptop;
because it is said that traditional cron or the one in Debian would wake up
the system every single minute to poll /etc
& /var/lip/spool/cron/crontabs which is bad. I don't have hard proof for this.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915370#101


> Relatedly, cron Recommends: default-mta | mail-transport-agent,
> which we kinda also no longer expect to be installed by default on a
> default install anymore. Due to how debootstrap works today, the
> Recommends: is very often not fulfilled. Nevertheless I doubt we
> still expect an MTA to be part of the default install.

That's the reason why systemd-cron Suggests: a MTA
instead of Recommending one; so that people
doing the switch do not get an extra MTA they don't what.
If they wanted one they would have installed it already.

A pre-installed MTA is fully supported.

Greetings

Back to linux.debian.maint.boot | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1108665: override: cron:admin/optional Chris Hofstädtler <zeha@debian.org> - 2025-07-02 17:10 +0200
  Bug#1108665: override: cron:admin/optional Cyril Brulebois <kibi@debian.org> - 2025-07-02 17:40 +0200
    Bug#1108665: override: cron:admin/optional Chris Hofstaedtler <zeha@debian.org> - 2025-07-02 17:40 +0200
      Bug#1108665: override: cron:admin/optional Alexandre Detiste <alexandre.detiste@gmail.com> - 2025-07-02 23:30 +0200
        Bug#1108665: override: cron:admin/optional наб <nabijaczleweli@nabijaczleweli.xyz> - 2025-07-03 00:30 +0200

csiph-web