Re: freebsd-update and locally modfied files

2007-05-15 Thread Colin Percival
Zbigniew Szalbot wrote:
> Can you help me by suggesting what I need to do when I want to use
> freebsd-update fetch (FBSD 6.2) but get the following message:
> 
> The following files are affected by updates, but no changes have
> been downloaded because the files have been modified locally:
> /etc/rc.d/jail

Probably what happened is that you installed a patched FreeBSD (e.g.,
6.2-RELEASE-p2) in which /etc/rc.d/jail was already updated.  As a
result of CVS modifying $FreeBSD$ tags when commits happen, this makes
the /etc/rc.d/jail file which you get by installing from the source
code very slightly different from what you get by using FreeBSD Update
(since the FreeBSD Update patches are built before the CVS commits are
done, this is unavoidable); consequently, FreeBSD Update doesn't
recognize the file and thinks that you modified it locally.

> Now, I do not recall ever playing with jail. Anyway, how do I update the
> system (and keep changes to /etc/rc.d/jail (if any))?

The easiest solution is to remove /etc/ from the UpdateIfUnmodified line
in /etc/freebsd-update.conf and run freebsd-update again.  Make sure that
you add /etc/ back afterwards.

Colin Percival


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: freebsd-update and locally modfied files

2007-05-12 Thread Lowell Gilbert
Zbigniew Szalbot <[EMAIL PROTECTED]> writes:

> Lowell Gilbert pisze:
>
>>> Now, I do not recall ever playing with jail. Anyway, how do I update the
>>> system (and keep changes to /etc/rc.d/jail (if any))?
>>
>> I suggest looking at the differences, and hand-updating to the latest
>> version of the file if it will server for you.  Then you should be
>> able to take updates in the future...
>
>
> Forgive me for asking but where do I take jail file to compare it to
> the existing one?

That depends on where it came from.  
I don't have such a file, and no port with a pkg-plist installs such a
file, so I can't tell where it came from.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: freebsd-update and locally modfied files

2007-05-11 Thread Zbigniew Szalbot

Hello,

Lowell Gilbert pisze:


Now, I do not recall ever playing with jail. Anyway, how do I update the
system (and keep changes to /etc/rc.d/jail (if any))?


I suggest looking at the differences, and hand-updating to the latest
version of the file if it will server for you.  Then you should be
able to take updates in the future...



Forgive me for asking but where do I take jail file to compare it to the 
existing one?


Thank you!

Zbigniew Szalbot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: freebsd-update and locally modfied files

2007-05-11 Thread Lowell Gilbert
"Zbigniew Szalbot" <[EMAIL PROTECTED]> writes:

> Can you help me by suggesting what I need to do when I want to use
> freebsd-update fetch (FBSD 6.2) but get the following message:
>
> The following files are affected by updates, but no changes have
> been downloaded because the files have been modified locally:
> /etc/rc.d/jail
>
> Now, I do not recall ever playing with jail. Anyway, how do I update the
> system (and keep changes to /etc/rc.d/jail (if any))?

I suggest looking at the differences, and hand-updating to the latest
version of the file if it will server for you.  Then you should be
able to take updates in the future...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


freebsd-update and locally modfied files

2007-05-09 Thread Zbigniew Szalbot
Hello,

Can you help me by suggesting what I need to do when I want to use
freebsd-update fetch (FBSD 6.2) but get the following message:

The following files are affected by updates, but no changes have
been downloaded because the files have been modified locally:
/etc/rc.d/jail

Now, I do not recall ever playing with jail. Anyway, how do I update the
system (and keep changes to /etc/rc.d/jail (if any))?

Thank you in advance!

-- 
Zbigniew Szalbot

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"