LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-03-2006, 04:14 AM   #1
sorenchr
LQ Newbie
 
Registered: Jun 2006
Posts: 21

Rep: Reputation: 0
Recovery after removing avahi deamon


Hi,
I was until a few hours ago the happy user of a Fedora core 5 (on opitplex gx620) system that had taken about a week to get fully working with a lot of custom compiled software installed. Thanks to the excellent introduction to the livna drivers in this forum the ATI card worked excellent too.

Today the sysadmin wanted to copy the user accounts onto the system and did this simply by copying /etc/shadow and /etc/groups and etc/passw to the new machine.
Is this a good approach?
It seemed that some deamons (HAL and Avahi) were dependent on some existing user ID's and would then not start.
I naively used yum remove and subsequently reinstalled avahi, but for some reason the system now will not start up now. It freezes just before the login screen usually appears.
Could someone please give me a hint as to where to look for the problem as I would really hate to reinstall everything.
HAL and AVAHI still fail by the way but i am not sure that they can be the real cause for the missing start.

Thanks
Soren
 
Old 07-03-2006, 10:29 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
No, copying the files is not a good idea, ever. The system accounts (uid/gid less than 500) should not be altered. User accounts can be manually edited in, if you are careful to keep the files consistent, and manually created the home directories.

You will need to restore the files that were overwritten. I assume, since you have a sysadmin, that backups were taken before any manual modifications to system files. If not, it's time to get a new sysadmin.
 
Old 07-04-2006, 12:09 AM   #3
sorenchr
LQ Newbie
 
Registered: Jun 2006
Posts: 21

Original Poster
Rep: Reputation: 0
Thanks, yes good practice would have been to backup the old user accounts.. I could not get X to start even with avahi re-installed so I have now re-installed as it seemed the fastest option.

Cheers
Soren
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Do I need avahi? billymayday Linux - Software 4 05-29-2006 03:10 PM
avahi - kernel compile nildarb Linux - Kernel 6 04-19-2006 05:58 PM
removing text shadows in kde; removing taskbar color gradient webazoid Linux - Software 1 04-11-2006 02:56 AM
MBR recovery problems after removing ubuntu, i have been very stupid! peter rus Linux - Software 11 02-17-2006 07:55 AM
Ubuntu + avahi-daemon/tools Valhalla Linux - Software 0 12-10-2005 03:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration