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

Bug #440036 reported by seph
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Won't Fix
Undecided
Unassigned

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

Revision history for this message
Torsten Spindler (tspindler) wrote :

Confirmed in Natty, apt-key list does change the time of /etc/apt.

Changed in apt (Ubuntu):
status: New → Confirmed
Changed in apt (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.