[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#965997: APT::Periodic::RandomSleep is ignored on machines running systemd



Package: apt
Version: 1.8.2.1
Severity: normal

Dear maintainers,

Since apt transitioned from a cronjob to a systemd timer,
/etc/cron.daily/apt-compat now starts with:

   if [ -d /run/systemd/system ]; then
       exit 0
   fi

Sadly, this cronjob was also the one responsible for parsing
APT::Periodic::RandomSleep.

The new systemd timer indeed seems to hardcode the RandomizedDelaySec
value [1].

Would it be possible to change that behavior and make sure the systemd
timer also uses the APT::Periodic::RandomSleep parameter?

Thanks,

[1]
https://salsa.debian.org/apt-team/apt/-/blob/master/debian/apt-daily.timer

-- 
  ⢀⣴⠾⠻⢶⣦⠀
  ⣾⠁⢠⠒⠀⣿⡁  Louis-Philippe Véronneau
  ⢿⡄⠘⠷⠚⠋   pollo@debian.org / veronneau.org
  ⠈⠳⣄

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: