Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
IMPORTANT: 1 config files in /etc need updating
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
novice
n00b
n00b


Joined: 05 Jul 2002
Posts: 32
Location: Atlanta - GA

PostPosted: Fri Jul 05, 2002 11:24 pm    Post subject: Reply with quote

my attempt to run make bzImage was succesful this time. however, when i ran

rc-update add metalog default

i got the message:

IMPORTANT: 1 config files in /etc need updating

how do i know which config file needed update? is it the fstab file discussed in step 16 of the instruction?

thanks.
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Sat Jul 06, 2002 12:13 am    Post subject: Reply with quote

Split from this thread because it is a completely separate issue.
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Sat Jul 06, 2002 12:42 am    Post subject: Reply with quote

it's generally a copy of your rc.conf file in a build dir, but I'm not sure what you have to update.

After compiling my whole system, I have 3 files needing updating.

There is a command you can run to see what program needs updating.. I just can't remember what that is :)

anyone know why / what you have to change, and whether it's important ?
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Sat Jul 06, 2002 12:47 am    Post subject: Reply with quote

Code:
$ emerge --help config
Config file management support (preliminary)

Portage has a special feature called "config file protection".  The purpose of
this feature is to prevent new package installs from clobbering existig
configuration files.  By default, config file protection is turned on for /etc
and the KDE configuration dirs; more may be added in the future.

When Portage installs a file into a protected directory tree like /etc, any
existing files will not be overwritten.  If a file of the same name already
exists, Portage will change the name of the to-be- installed file from 'foo' to
'._cfg0000_foo'.  If '._cfg0000_foo' already exists, this name becomes
'._cfg0001_foo', etc.  In this way, existing files are not overwritten,
allowing the administrator to manually merge the new config files and avoid any
unexpected changes.

In addition to protecting overwritten files, Portage will not delete any files
from a protected directory when a package is unmerged.  While this may be a
little bit untidy, it does prevent potentially valuable config files from being
deleted, which is of paramount importance.

Protected directories are set using the CONFIG_PROTECT variable, normally
defined in /etc/make.globals.  Directory exceptions to the CONFIG_PROTECTed
directories can be specified using the CONFIG_PROTECT_MASK variable.  To find
files that need to be updated in /etc, type:

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

You can disable this feature by setting CONFIG_PROTECT="" in /etc/make.conf.
Then, Portage will mercilessly auto-update your config files.  Alternatively,
you can leave Config File Protection on but tell Portage that it can overwrite
files in certain specific /etc subdirectories.  For example, if you wanted
Portage to automatically update your rc scripts and your wget configuration,
but didn't want any other changes made without your explicit approval, you'd
add this to /etc/make.conf:

CONFIG_PROTECT_MASK="/etc/wget /etc/rc.d"

_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Sat Jul 06, 2002 12:52 am    Post subject: Reply with quote

there you are :)

what would we do without delta407
Back to top
View user's profile Send private message
maystorm
Apprentice
Apprentice


Joined: 02 Jun 2002
Posts: 222
Location: Germany, not far away

PostPosted: Sat Jul 06, 2002 12:54 am    Post subject: Reply with quote

novice wrote:
IMPORTANT: 1 config files in /etc need updating

how do i know which config file needed update? is it the fstab file discussed in step 16 of the instruction?

"emerge --help config" could be your friend...

[EDIT:] Ooops, a little bit late...
_________________
Linux user #216018
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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