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


Groups > linux.debian.bugs.dist > #1125253

Bug#923014: Add systemd unit - allow usage without cron installed

From Alexandre Detiste <alexandre.detiste@gmail.com>
Newsgroups linux.debian.bugs.dist
Subject Bug#923014: Add systemd unit - allow usage without cron installed
Date 2022-11-17 05:30 +0100
Message-ID <FsEHf-4gS8-3@gated-at.bofh.it> (permalink)
References <xut3b-OQ-5@gated-at.bofh.it> <FsvkB-4aTc-3@gated-at.bofh.it> <FsC2J-4f0P-1@gated-at.bofh.it> <xut3b-OQ-5@gated-at.bofh.it> <FsC2J-4f0P-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,

That's nucely written out, better than I could.

An extra bit of policy(*) I attempt to infuse with/for systemd-cron is this
one: the name of the crontab (here "apt-compat")
should match the name of the main timer (here "apt-daily", so not the case
yet) so that systemd-cron will ignore this one crontab and won't generate a
dynamic .timer + .service in /run for this package.

So my end goal for systemd-cron is that it would do nothing i.e. generate
no dynamic .timer / .service pair because all crontab would have a matching
static .timer shipped in the same package.

I understand it's a bit convulated to wrap it's mind around this one.

(*): not yet proposed for Policy, already talked about here:
https://lists.debian.org/debian-devel/2022/03/msg00211.html

Greetings,

Le jeu. 17 nov. 2022, 02:39, Paul Wise <pabs@debian.org> a écrit :

>
>    /etc/cron.daily/apt-compat
>    /usr/lib/apt/apt.systemd.daily
>    /lib/systemd/system/apt-daily.service
>    /lib/systemd/system/apt-daily.timer
>    /lib/systemd/system/apt-daily-upgrade.service
>    /lib/systemd/system/apt-daily-upgrade.timer
>
>

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#923014: Add systemd unit - allow usage without cron installed Bill Allombert <ballombe@debian.org> - 2022-11-16 19:30 +0100
  Bug#923014: Add systemd unit - allow usage without cron installed Paul Wise <pabs@debian.org> - 2022-11-17 02:40 +0100
    Bug#923014: Add systemd unit - allow usage without cron installed Alexandre Detiste <alexandre.detiste@gmail.com> - 2022-11-17 05:30 +0100
    Bug#923014: Add systemd unit - allow usage without cron installed Bill Allombert <ballombe@debian.org> - 2022-11-18 16:10 +0100
      Bug#923014: Add systemd unit - allow usage without cron installed Paul Wise <pabs@debian.org> - 2022-11-19 10:30 +0100
      Bug#923014: Add systemd unit - allow usage without cron installed Paul Wise <pabs@debian.org> - 2022-11-20 01:20 +0100

csiph-web