[Bug 440036] Re: apt-key list should not change the mtime and ctime on /etc/apt

Julian Andres Klode julian.klode at canonical.com
Tue May 21 12:40:33 UTC 2019


** Changed in: apt (Ubuntu)
       Status: Confirmed => Won't Fix

-- 
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/440036

Title:
  apt-key list should not change the mtime and ctime on /etc/apt

Status in apt package in Ubuntu:
  Won't Fix

Bug description:
  Binary package hint: apt

  In setting up host intrusion detection software (samhain) I discovered
  that `apt-key list` updates the ctime and mtime on /etc/apt. Poking at
  this with strace, it appears to be because gpg creates some temp file
  in /etc/apt, maybe a lock, I don't know. This is frustrating, as list
  should really be a readonly action, and should not require write
  access, let alone complex HIDS rules excluding it.

  I'm running hardy LTS, and have not tested in anything newer. This
  appears somewhat related to http://bugs.debian.org/cgi-
  bin/bugreport.cgi?bug=393005

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



More information about the foundations-bugs mailing list