missing .cshrc and pf.conf after upgrade to 7.0-beta3

Max Laier max at love2party.net
Wed Nov 21 05:07:16 PST 2007


On Wednesday 21 November 2007, Miroslav Lachman wrote:
> pluknet wrote:
> > Hello.
> >
> > On 21/11/2007, Miroslav Lachman <000.fbsd at quip.cz> wrote:
> >>I am not 100% sure, maybe I overlook something in binary major
> >> version upgrade procedure, but after upgrade from 6.2 to 7.0-BETA3
> >> my roots ~/.cshrc was "accidentally" replaced with dist version of
> >> .cshrc and
> >
> > It could happen if the 'UpdateIfUnmodified' directive in your
> > freebsd-update.conf does not include /root/ path (/etc/ /var/ by
> > default).
>
> Hmmm it seems a little bit dangerous to me. OK, it is my fault.
>
> >>/etc/pf.conf is missing.
> >
> > It was moved to examples just before 7.0-BETA3.
>
> I had my pf.conf modified, but after upgrade and reboot, my machine
> booted without firewall, because pf.conf is missing.
>
> Now I am looking in to /var/db/freebsd-update/install.MvUwSa/INDEX-OLD
> and /var/db/freebsd-update/install.MvUwSa/INDEX-NEW - /etc/pf.conf is
> only in INDEX-OLD, /root/.cshrc is in both - but I do not know if it
> means something, I do not know freebsd-update principles in conjunction
> with INDEX-*.

It looks like freebsd-update will delete all files in INDEX-OLD but not in 
INDEX-NEW by default.  Is there a way to make a certain file stick 
around?  It was obviously a mistake to install /etc/pf.conf as an example 
file in the first place, but what can be done about it after the fact?

-- 
/"\  Best regards,                      | mlaier at freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20071121/2b383f9c/attachment.pgp


More information about the freebsd-stable mailing list