[blog.rayfoo] Infosec, DFIR, tech geekery, thoughts and whatnot

28Nov/090

Updating APT’s trusted keys

If you're running an

apt-get install

or

aptitude install

command, and you get

WARNING: The following packages cannot be authenticated!

running

sudo aptitude reinstall ubuntu-keyring

might do the trick~

[via Fool's Wisdom]

Tagged as: , , No Comments
17Nov/090

OpenVPN client fails after running update-resolv-conf

OpenVPN client on Ubuntu "suddenly" stopped working.  A look through the logs showed that the update-resolv-conf script seems to be failing...

ovpn-openvpn[3552]: /etc/openvpn/update-resolv-conf tun0 1500 1542 x.x.x.x x.x.x.x init
ovpn-openvpn[3552]: script failed: external program exited with error status: 1

A quick trace of the update-resolv-conf script shows that the problem's with resolvconf:

resolvconf: Error: /etc/resolv.conf must be a symlink

And the fix for that based on another solution:

sudo rm /etc/resolv.conf
sudo ln -s /etc/resolvconf/run/resolv.conf /etc/resolv.conf