From 29a79857c3cb53a94007bb7887234d2fe27850b2 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Wed, 25 Mar 2020 17:31:12 +0100 Subject: ubuntu: http: Add non-interactive to user agent if run by systemd Include that apt is being run from a service in the user agent, so traffic can be analysed for interactive vs non-interactive use, and prioritised accordingly. It looks like this now: User-Agent: Debian APT-HTTP/1.3 (2.0.1) non-interactive A previous version included the full service names, but this raised some privacy concerns. LP: #1825000 --- vendor/ubuntu/apt.conf-01-vendor-ubuntu | 1 + 1 file changed, 1 insertion(+) (limited to 'vendor/ubuntu') diff --git a/vendor/ubuntu/apt.conf-01-vendor-ubuntu b/vendor/ubuntu/apt.conf-01-vendor-ubuntu index 44e684710..30d25a717 100644 --- a/vendor/ubuntu/apt.conf-01-vendor-ubuntu +++ b/vendor/ubuntu/apt.conf-01-vendor-ubuntu @@ -1 +1,2 @@ Acquire::Changelogs::AlwaysOnline "true"; +Acquire::http::User-Agent-Non-Interactive "true"; -- cgit v1.2.3