Network update to RC has caused multiple issues with sudo and kdesu (Kubuntu 7.10 x64 -> Kubuntu 8.04 RC x64).
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
New
|
Undecided
|
Unassigned | ||
Bug Description
What has been done:
Network update of Kubuntu 7.10 x64 to Kubuntu 8.04 RC using GUI updater (adept_manager).
What's happened:
Generally system has been updated OK but after reboot I did encountered quite sad issue:
Neither kdesu nor sudo are no longer working.
Therefore I'm unable to update system with new packages, etc in easy manner.
System settings are available in user mode only (admin mode fails in KDE applets), etc.
Some investigation has shown that something related to host name has been messed up during update.
sk@ath64:~$ sudo sh
sudo: unable to resolve host ath64
sk@ath64:~$ kdesu sh
sudo: unable to resolve host ath64
sk@ath64:~$ uname -a
Linux ath64 2.6.24-16-generic #1 SMP Thu Apr 10 12:47:45 UTC 2008 x86_64 GNU/Linux
sk@ath64:~$ hostname
ath64
sk@ath64:~$ lsb_release -rd
Description: Ubuntu 8.04
Release: 8.04
Right now there is 61 updates pending but no easy way to install them via UI (if you're clicking icon, nothing happens).
Note: this also means kdesu has a bug: it does not shows any user-visible error dialog with error details when it fails so there is no easy way to figure out what's happened.
Workaround:
I'd previously enabled root account so I was able to regain full control over system quite easily via su which does not suffers from issue:
sk@ath64:~$ su /home/sk# echo 127.0.0.1 ath64 >> /etc/hosts
Password:
root@ath64:
This has helped and now sudo resumed operation.
However please note:
- Usual user does not has root account enabled so I guess the only way in such case is to boot from CD and mount partition.Not what I'm calling easy.
- This bug leads to inabilty of updating system or configuring lots of things.
Generally, "average Joe" user probably will think his system is done.