[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Modified Config Files



Paul Cager wrote:

>Cameron Hutchison wrote:
>> Chris Stork wrote:
>> 
>>> What would be an easy way to list the config files that have been 
>>> changed on my system?
>.....
>> Unfortunately it is not as useful as I had hope it would be because a
>> lot of packages do not ship with a .md5sums file in /var/lib/dpkg/info
>> so there's no way to tell if a file has changed from how it was
>> distributed. These conffiles are printed with a leading ? - cvs style.

>Can "debsums --generate=missing,keep" generate the missing checksums for
>you (from the contents of the ".deb")?

Actually, if you install the debsums package, it installs an apt hook to
generate the MD5s automatically if there are none there.

After that, you can run "debsums -ce 2>/dev/null" to list the changed
conf files. You need to redirect stderr as it looks like there's a bug
in debsums generating bogus errors.

I can now get rid of my "write-only" script.



Reply to: