[Bug 1719067] [NEW] log entry "unattended-upgrade -d" is misleading

Ernst Kloppenburg ernst.kloppenburg at gmx.de
Sat Sep 23 08:28:34 UTC 2017


Public bug reported:

The script /usr/lib/apt/apt.systemd.daily produces log entries in the systemd journal like 
   unattended-upgrade -d (success)
or
   unattended-upgrade -d (error)

These seem to imply that "unattended-upgrade" was run with the command
line flag "-d", which according to the manpage means "debug".

But actually "unattended-upgrade" was run with the option "--download-
only".

I would be easier to understand and debug the u-a behavior if the log
entries would reflect this clearly.

(Ubuntu 16.04.3 LTS, apt 1.2.24)

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: apt 1.2.24
ProcVersionSignature: Ubuntu 4.10.0-33.37~16.04.1-generic 4.10.17
Uname: Linux 4.10.0-33-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
CurrentDesktop: KDE
Date: Sat Sep 23 10:18:06 2017
InstallationDate: Installed on 2014-08-28 (1121 days ago)
InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.1)
SourcePackage: apt
UpgradeStatus: Upgraded to xenial on 2016-05-20 (490 days ago)

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

** Attachment removed: "JournalErrors.txt"
   https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1719067/+attachment/4955510/+files/JournalErrors.txt

** Attachment removed: "ProcEnviron.txt"
   https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1719067/+attachment/4955512/+files/ProcEnviron.txt

** Attachment removed: "ProcCpuinfoMinimal.txt"
   https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1719067/+attachment/4955511/+files/ProcCpuinfoMinimal.txt

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1719067

Title:
  log entry "unattended-upgrade -d" is misleading

Status in apt package in Ubuntu:
  New

Bug description:
  The script /usr/lib/apt/apt.systemd.daily produces log entries in the systemd journal like 
     unattended-upgrade -d (success)
  or
     unattended-upgrade -d (error)

  These seem to imply that "unattended-upgrade" was run with the command
  line flag "-d", which according to the manpage means "debug".

  But actually "unattended-upgrade" was run with the option "--download-
  only".

  I would be easier to understand and debug the u-a behavior if the log
  entries would reflect this clearly.

  (Ubuntu 16.04.3 LTS, apt 1.2.24)

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: apt 1.2.24
  ProcVersionSignature: Ubuntu 4.10.0-33.37~16.04.1-generic 4.10.17
  Uname: Linux 4.10.0-33-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.10
  Architecture: amd64
  CurrentDesktop: KDE
  Date: Sat Sep 23 10:18:06 2017
  InstallationDate: Installed on 2014-08-28 (1121 days ago)
  InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.1)
  SourcePackage: apt
  UpgradeStatus: Upgraded to xenial on 2016-05-20 (490 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1719067/+subscriptions



More information about the foundations-bugs mailing list