Project

General

Profile

Bug #12390

Consider disabling apt-daily.timer

Added by intrigeri over 2 years ago. Updated 7 months ago.

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

100%

Feature Branch:
Type of work:
Code
Blueprint:
Starter:
Affected tool:
Additional Software Packages

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.


Related issues

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

Associated revisions

Revision 8e86b1f4 (diff)
Added by intrigeri over 2 years ago

Disable apt-daily.timer, that can only cause problems in our context (Closes: #12390).

History

#1 Updated by intrigeri over 2 years ago

  • 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 over 2 years ago

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

#3 Updated by intrigeri over 2 years ago

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

#4 Updated by intrigeri over 2 years ago

  • Assignee deleted (intrigeri)

Also available in: Atom PDF