Re: [gentoo-user] Re: Working on fresh install, question about handbook statement

2017-02-10 Thread Rich Freeman
On Fri, Feb 10, 2017 at 9:05 PM, Harry Putnam  wrote:
>
> Don't think I've had occassion to use emerge --config before.
>

Not many packages use it.  I know mysql uses it to initialize the
database, which is something you obviously don't want to do every time
you update the package.  Typically packages will tell you when to run
it after install/update if it is available.

-- 
Rich



[gentoo-user] Re: Working on fresh install, question about handbook statement

2017-02-10 Thread Harry Putnam
John Covici  writes:

[...]

>>root #ls /usr/share/zoneinfo
>> 
>>root #echo "Europe/Brussels" > /etc/timezone
>> 
>> And there is a little part following that says:
>> 
>>Next, reconfigure the sys-libs/timezone-data package, which will
>>update the /etc/localtime file for us, based on the /etc/timezone
>>entry. The /etc/localtime file is used by the system C library to
>>know the timezone the system is in.
>> 

[...]

>
> I just copied  /usr/share/zoneinfo to /etc/localtime and
> have never had any problems.  I also put the name in /etc/timezone and
> all seems to have worked for a number of years.

Rich Freeman  writes:

[...]

> emerge --config sys-libs/timezone-data
>
> All it does is copy the timezone data to /etc/localtime.
>
> Setting /etc/timezone is still important, because it ensures that
> anytime the package is updated the new data is copied over (a symlink
> would also accomplish this).
>
> Using emerge --config is a bit more elegant since it will tell you if
> you made any mistakes in /etc/timezone, and perhaps at some point in
> the future it might do other things.  But, you are correct that the
> instructions used to just say to copy the file and be done with it,
> and there is no real harm in doing it that way.  Just introducing
> users to emerge --config probably has a little value in it.

Thank you both for even bothering to answer.  Somehow seeing emerge
blinded me to the `--config' ... just saw some emerge args I guess.

Don't think I've had occassion to use emerge --config before.

I did try to cancel my post within a minute or less of posting it and it
did cancel on my newsfeed.  But apparently not the larger
readerships'.