Bug #12390

Consider disabling apt-daily.timer

Added by intrigeri 2017-03-20 11:32:51 . Updated 2019-05-09 10:06:28 .

Status:
Resolved
Priority:
Elevated
Assignee:
Category:
Target version:
Start date:
2017-03-20
Due date:
% Done:

100%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Additional Software Packages
Deliverable for:

Description

I suspect it’s gonna run apt update or similar in the background, which arguably can only cause problems in the context of Tails.


Subtasks


Related issues

Related to Tails - Bug #12400: tails-additional-software should clean obsolete cached .deb's Resolved 2017-03-21

History

#1 Updated by intrigeri 2017-03-21 07:20:03

  • Status changed from Confirmed to In Progress
  • Assignee set to intrigeri
  • % Done changed from 0 to 10
  • Type of work changed from Research to Code
  • Affected tool set to Additional Software Packages

This timer manages apt-daily.service, that starts /usr/lib/apt/apt.systemd.daily, that:

  • backs up /var/lib/apt/extended_states to /var/backups (useless in Tails, but eats a a couple kB of RAM)
  • exits if APT::Periodic::Enable is disabled
  • does various update / clean / download / backup operations, each of them can be disabled via some APT::Periodic::* setting

IMO only the autoclean operation has some value for us, but it should be done by tails-additional-software that knows when it should happen, while apt-daily.service can possibly do it at the wrong time, which might prevent tails-additional-software from doing its work or worse, delete cached packages that are still needed.

So I’ll disable this timer and will report a ticket against tails-additional-software so that it does its own cleanup.

#2 Updated by intrigeri 2017-03-21 08:01:32

  • related to Bug #12400: tails-additional-software should clean obsolete cached .deb's added

#3 Updated by intrigeri 2017-03-21 08:02:09

  • Status changed from In Progress to Resolved
  • % Done changed from 10 to 100

Applied in changeset commit:8e86b1f4f2effa93d613ea2932171225e0bc356d.

#4 Updated by intrigeri 2017-03-21 08:19:33

  • Assignee deleted (intrigeri)