Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge world questions ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Bubo
n00b
n00b


Joined: 20 Mar 2005
Posts: 40
Location: Worcestershire, UK

PostPosted: Mon Apr 03, 2006 7:38 am    Post subject: emerge world questions ? Reply with quote

Hi

I am a realatively new Gentoo user and have just run my first "emerge world". As a result I have received some errors/warnings that I am not too sure what to do with, so I thought I would ask before I trash my system completely.

So, to start with I ran:

Code:

gentoo ~ # emerge --update --ask world


and then said "yes" to start the process. It ran for about nine hours (is this normal ?) and then completed.

On conclusion I noticed a warning that said I should run this:

Code:

gentoo ~ # find /etc/ -iname '._cfg????_*'


I opened a new terminal and "su -" to root and got these errors/warnings:

Code:

gentoo ~ $ su -
Password:
configuration error - unknown item 'FAILLOG_ENAB' (notify administrator)
configuration error - unknown item 'LASTLOG_ENAB' (notify administrator)
configuration error - unknown item 'MOTD_FILE' (notify administrator)
configuration error - unknown item 'FTMP_FILE' (notify administrator)
configuration error - unknown item 'ENV_ROOTPATH' (notify administrator)
configuration error - unknown item 'PASS_MIN_LEN' (notify administrator)
configuration error - unknown item 'CHFN_AUTH' (notify administrator)


I must admit I have no idea what these are, or what I need to do with them!

I then ran the find command and got the following output:

Code:

gentoo ~ # find /etc/ -iname '._cfg????_*'
/etc/conf.d/._cfg0000_crypto-loop
/etc/conf.d/._cfg0000_clock
/etc/conf.d/._cfg0000_local.start
/etc/conf.d/._cfg0000_keymaps
/etc/conf.d/._cfg0000_rc
/etc/conf.d/._cfg0000_hostname
/etc/conf.d/._cfg0000_domainname
/etc/init.d/._cfg0000_hdparm
/etc/init.d/._cfg0000_net.lo
/etc/ssl/misc/._cfg0000_CA.sh
/etc/ssl/misc/._cfg0000_CA.pl
/etc/ssl/._cfg0000_openssl.cnf
/etc/pam.d/._cfg0000_samba
/etc/pam.d/._cfg0000_login
/etc/samba/._cfg0000_smb.conf.example
/etc/._cfg0000_mplayer.conf
/etc/._cfg0000_login.defs
/etc/._cfg0000_profile
/etc/._cfg0000_rc.conf


I have read the documentation presented following an "emerge --help config" and noted this paragraph:

Code:

In this way, existing files are not overwritten,
allowing the administrator to manually merge the new config files and avoid anyunexpected changes.


I assume that these are files that contain custom configuration entries that I have previously created, and that I need to update each file in some way before I proceed to a reboot.

I am really not sure what to do with them, so any advice would be appreciated.

Thanks

Bubo
_________________
My Computer Once Beat Me at Chess, but it is No Match for Me at Kickboxing.
Back to top
View user's profile Send private message
loki99
Advocate
Advocate


Joined: 10 Oct 2003
Posts: 2056
Location: Vienna, €urope

PostPosted: Mon Apr 03, 2006 8:00 am    Post subject: Reply with quote

Please take a look at the portage docs and especially at this one.

I'd recommend to use dipatch-conf to update your config files. Just take at all the files individualy, to check whether you edited the file. If it is something you never touched, you can update that config file. If you did make some changes to it, you'd either like to keep the old one or you'll have to merge the new and the old one (which doesn't happen very often).

Quote:
It ran for about nine hours (is this normal ?) and then completed.


Depends how long you have not updated your box and how many packages get updated, but after all it needs to compile everything. :lol:
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Mon Apr 03, 2006 10:32 am    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads, please see this FAQ and the topic linked at the bottom of it for the config files and this topic for the su errors.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum