apt-key list should not change the mtime and ctime on /etc/apt
Bug #440036 reported by
seph
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://
Changed in apt (Ubuntu): | |
status: | Confirmed → Won't Fix |
To post a comment you must log in.
Confirmed in Natty, apt-key list does change the time of /etc/apt.