Comment 2 for bug 461829

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Kees,

Could you please:
  bzr branch lp:~ubuntu-core-dev/eucalyptus/ubuntu

And give a quick review of ./tools/populate_arp.pl, which is ~25 lines of perl before we add this to the euca_rootwrap whitelist?

Looks to me like it needs elevated privileges to read ('/var/log/messages', '/var/log/firewall', '/var/log/syslog', '/var/log/kern.log'), which are all -rw-r----- syslog adm.

Other than opening these files, it just sends pings to all IPs it knows about, which will update the arp tables. (I don't entirely understand why this is necessary, perhaps Dan can answer...)