Suppose some package foo...
$ apt-get install foo
..installs a dpkg blessed conffile /etc/foo.conf
(ie package maintainer version)
Now suppose after the package is installed /etc/foo.conf
is modifed, perhaps to add a line.
We would now like to get a diff between the package maintainer version of foo.conf
and the current one (to see what local configuration changes were made).
What's the easiest way to do this?
One way would be to install the package in a chroot jail and then diff it to the clean one. Is there an easier way?