Network update to RC has caused multiple issues with sudo and kdesu (Kubuntu 7.10 x64 -> Kubuntu 8.04 RC x64).

Bug #220843 reported by PowerUser on 2008-04-23
8
Affects Status Importance Assigned to Milestone
Ubuntu
Undecided
Unassigned
Nominated for Hardy by PowerUser

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.

PowerUser (i-am-sergey) wrote :

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
Password:
root@ath64:/home/sk# echo 127.0.0.1 ath64 >> /etc/hosts

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.

James Westby (james-w) wrote :

Hi,

Thanks for reporting the bug. I have marked it as a duplicate of
bug 32906, which is the same symptoms.

However I am concerned by the upgrade causing the issue.
Could you please attach the logs from /var/log/dist-upgrade
to this bug report please. If they have useful information
I will un-duplicate this report so that we can get the cause
of the problem fixed.

Thanks,

James

Bob Cowieson (bob-cowieson) wrote :

I encountered the same problem with a 32-bit system.

I found that in the hosts file the 127.0.0.1 entry had been changed to 127.0.1.1.

Also found that changing an entry on freedesktop fixed everything and updates completed normally:

-- goto System -> Authorizations --> freedesktop --> systemtoolsbackends --> manage system configuration and granted my logon

Yes me too encounter the same issue, get over from it by changing the
local host file and resolve it.

Thanks,

On 5/10/08, Bob Cowieson <email address hidden> wrote:
> *** This bug is a duplicate of bug 32906 ***
> https://bugs.launchpad.net/bugs/32906
>
> I encountered the same problem with a 32-bit system.
>
> I found that in the hosts file the 127.0.0.1 entry had been changed to
> 127.0.1.1.
>
> Also found that changing an entry on freedesktop fixed everything and
> updates completed normally:
>
> -- goto System -> Authorizations --> freedesktop --> systemtoolsbackends
> --> manage system configuration and granted my logon
>
> --
> Network update to RC has caused multiple issues with sudo and kdesu (Kubuntu
> 7.10 x64 -> Kubuntu 8.04 RC x64).
> https://bugs.launchpad.net/bugs/220843
> You received this bug notification because you are a direct subscriber
> of a duplicate bug (via bug 32906).
>

--
Vikas
Govt. College of Teacher Education,
Dharamsala HP

Hello,

 How are you doing? hope all is well with you and family,I am sorry I
didn't inform you about my traveling to England for a Seminar..

I need a favor from you because I misplaced my wallet on my way to the
hotel where my money,and other valuable things were kept I will like you to
assist me with a soft loan urgently with the sum of £2000 pounds to sort-out
my hotel bills and get myself back home.

I will appreciate whatever you can afford and i'll pay you back as soon as I
return,Kindly let me know if you can help me out so I can send you the
Details to use in sending the money through Western Union.

Thanks so much and sorry to bother you.

With best regards

--
Thanks,
Vikas

This is indeed a bug!!!!

----- Original Message -----
From: "Vikas Bhasin" <email address hidden>
To: "allan registos" <email address hidden>
Sent: Wednesday, November 25, 2009 3:20:57 AM
Subject: [Bug 220843] Help Request

*** This bug is a duplicate of bug 32906 ***
https://bugs.launchpad.net/bugs/32906

Hello,

How are you doing? hope all is well with you and family,I am sorry I
didn't inform you about my traveling to England for a Seminar..

I need a favor from you because I misplaced my wallet on my way to the
hotel where my money,and other valuable things were kept I will like you to
assist me with a soft loan urgently with the sum of £2000 pounds to sort-out
my hotel bills and get myself back home.

I will appreciate whatever you can afford and i'll pay you back as soon as I
return,Kindly let me know if you can help me out so I can send you the
Details to use in sending the money through Western Union.

Thanks so much and sorry to bother you.

With best regards

--
Thanks,
Vikas

--
Network update to RC has caused multiple issues with sudo and kdesu (Kubuntu 7.10 x64 -> Kubuntu 8.04 RC x64).
https://bugs.launchpad.net/bugs/220843
You received this bug notification because you are a direct subscriber
of a duplicate bug (via bug 32906).

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers