Re: How to regenerate a popularity-contest UUID
On 2009-01-15 17:45 +0100, Brian McKee wrote:
> I have a group of machines I was going to enroll in
> popularity-contest, but since they were created by cloning them via
> mondo-rescue, the UUID in /etc/popularity-contest.conf is all
> identical. I've looked at the FAQ and the README, as well as the man
> page and the website, and the only thing I've found is
>
> # This key was generated automatically so you should normally just
> # leave it alone.
>
> How do I create a new one?
Look into /var/lib/dpkg/info/popularity-contest.postinst, the
generate_id() function shows you how to generate it.
Deleting the MY_HOSTID line in /etc/popularity-contest.conf and running
"dpkg-reconfigure popularity-contest" should also do the trick.
Sven
Reply to: