Network-manager changes hosts in localdomain.localhost since I change the root hard drive

Bug #378258 reported by Le Gluon Du Net
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Hello,

I have a BIG BIG problem since I move my ubuntu to a larger hard drive: network-manager give to all application the hostname localdomain.localhost. The consequences: no audio, no internet...
If I change manually the /etc/hosts file, Network-Manager change it at the next boot.

To reinstall my system to another drive, I used this method:

1) compress all the drive: tar --exclude /media/* --exclude /proc/* --exclude /sys/* -zcfv /backupdrive/ubuntu.tar.gz /
2) I extract all the files on the new hard drive: tar zxfv /backupdrive/ubuntu.tar.gz /newdrive
3) I update grub menu and fstab with the new uuid hard drive

At the reboot, I saw on gdm screen: localdomain.localhost

I logged to my account and I had no sound or network. The gnome applets sound was disabled and the network-manager applet didn't launch. I tried to launch it manually:

#nm-applet --sm-disable

** (nm-applet:7869): WARNING **: <WARN> applet_dbus_manager_start_service(): Could not acquire the NetworkManagerUserSettings service.
  Message: 'Connection ":1.58" is not allowed to own the service "org.freedesktop.NetworkManagerUserSettings" due to security policies in the configuration file'

To resolve the audio problem, I had to add my user in the audio group (why it runs well on my last hard drive?).

this is the groups my user have:
adm mail dialout cdrom audio plugdev lpadmin admin sambashare

Please hellllppp!!! I don't understand the reason of this problems, I just move files with identical rights to another drive.

LGDN.

To resolve this problem temporaly, I uninstalled NM and I'm returning use /etc/interfaces.

Revision history for this message
Le Gluon Du Net (legluondunet) wrote :

I forgot: I'm using a jaunty distribution updated from a intrepid install.
Network manager changes the hostname only for the hard rive change.

Thanks for your help.

LGDN.

Revision history for this message
Le Gluon Du Net (legluondunet) wrote :

In fact, it's not a network-manager bug, but a bad reinstall of my ubuntu on my new hardrive.
I just used partimage to move once again the system on my new hard drive and all right now.
Sorry for the inconvenience.

LGDN

Revision history for this message
Pedro Villavicencio (pedro) wrote :

closing the report, thanks.

Changed in network-manager (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.