updating a jail
Mikhail Goriachev
mikhailg at webanoide.org
Sat Mar 31 15:04:21 UTC 2007
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 at 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?
You can installworld directly from host:
host# setenv D /usr/local/jail/JAILNAME
host# /etc/rc.d/jail stop JAILNAME
host# cd /usr/src
host# make installworld DESTDIR=$D
host# /etc/rc.d/jail start JAILNAME
Don't forget all other mergemaster related steps and the rest of the
things mentioned in /usr/src/Makefile.
Hopefully this points into the right direction.
Regards,
Mikhail.
--
Mikhail Goriachev
Webanoide
Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: mikhailg at webanoide.org
Web: www.webanoide.org
More information about the freebsd-questions
mailing list