Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Jun 2003 12:58:37 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        Jamie <jamie@gnulife.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Upgrading a live server with rdist
Message-ID:  <3EDB823D.4020007@mac.com>
In-Reply-To: <20030602113508.W33999-100000@floyd.gnulife.org>
References:  <20030602113508.W33999-100000@floyd.gnulife.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Jamie wrote:
>    I am trying to upgrade a running production server with rdist, but some
> of the files will not update. I am getting messages like:
> 
> 
> rdist: server.foo.net:/bin/rcp: Operation not permitted
> updating: /kernel
> rdist: server.foo.net:/kernel: Operation not permitted
> updating: /sbin/init
> rdist: server.foo.net:/sbin/init: Operation not permitted

These files probably have the system immutable flag set.  Make sure you do not 
have the system security level enabled ("sysctl kern.securelevel" gives -1), 
then run:

	chflags noschg /kernel /bin/rcp /sbin/init

...or "chflags -R noschg /".

-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EDB823D.4020007>