Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Mar 2007 09:21:02 -0500
From:      Brandon Weisz <lists@avioc.org>
To:        Jonathan Horne <freebsd@dfwlp.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: updating a jail
Message-ID:  <460E6E4E.5090201@avioc.org>
In-Reply-To: <20070331090326.5c0a836d.freebsd@dfwlp.com>
References:  <20070331090326.5c0a836d.freebsd@dfwlp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Jonathan Horne wrote:
> im still working on updating 2 jails.  i nullfs mounted /usr/src /usr/obj from my host into my jails, and tried to installworld, but got this error:
>
> ===> lib/libcrypt (install)
> install -C -o root -g wheel -m 444   libcrypt.a /usr/lib
> install -C -o root -g wheel -m 444   libcrypt_p.a /usr/lib
> install -s -o root -g wheel -m 444   -fschg -S  libcrypt.so.3 /lib
> install: rename: /lib/INS@eggs to /lib/libcrypt.so.3: Operation not permitted
> *** Error code 71
>
> Stop in /usr/src/lib/libcrypt.
> *** Error code 1
>
> Stop in /usr/src/lib.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
>
> the jail manpage is easy enough to follow, but IMO mastering management and maintenance is much more difficult to learn without good documented guidance.  i know many have recommended that i try ezjail and such, but im one of those guys who refuses to pay someone to fix my own car until i fully understand why such an operation is too far above my head.  same glutton for pain stance for me on computer stuff too... i force myself to understand the canonical methods first, before i start taking advantage of shortcuts.
>
> so... how do i get over or past this error?
>
> thanks,
> jonathan
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>   
I believe its failing attempting to run chflags during installworld
inside the jail.  You can set the sysctl security.jail.chflags_allowed=1
on the host system and try again or a better approach might be to
upgrade it from the host system with something similar to "make
installworld DESTDIR=/usr/jails/something"

mergemaster also has -D flag for situations like this.

Brandon




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?460E6E4E.5090201>