On Sun, 5 Jan 2014 11:36:20 +0200, Gevisz wrote:

> > > I was afraid to run etc-update as man says it will replace
> > > everything automatically. However, I run dispatch-conf and it does
> > > not see any problems at /etc/ssh, which have only the following
> > > three files: moduli, ssh_config, sshd_config (though I have
> > > added /etc/ssh to CONFIG_PROTECT_MASK).
> > 
> > Why did you do that? By masking out config file protection
> > for /etc/ssh there will never be anything to be managed by etc-update
> > as you have told portage to replace those files blindly and without
> > asking.
> 
> From man "dispatch-conf":

CONFIG_PROTECT_MASK is a make.conf setting, read that man page. It means
your config files are overwritten at install time, way be for you run
dispatch-conf or one of its friends.

> dispatch-conf will check all directories in the CONFIG_PROTECT
> variable.  All config files found in CONFIG_PROTECT_MASK will
> automatically  be updated for you by dispatch-conf.

> 3) I will continue to do this job manually with gvimdiff as I have
>    found it much more convenient than dispatch-conf (gvimdiff shows
>    the differences a way much better).

I prefer conf-update but most of these tools allow you to specify your
own diff program if you don't like the default. I use colordiff with
conf-update.


-- 
Neil Bothwick

Money can't buy happiness. But it sure makes misery easier to live with.

Attachment: signature.asc
Description: PGP signature

Reply via email to