Re: src upgrading jails (no ezjail, no service jails)

2011-06-02 Thread Aleksandr Miroslav
On Wed, Jun 1, 2011 at 4:44 PM, Greg Larkin glar...@freebsd.org wrote:
 Those commands will update the base system in the jail directory
 jaildir1 with the latest bits that were previously compiled with
 make buildworld. don't believe they will disturb any other data in
 /usr/local, if that's what you are concerned about.

Yeah, I ran it and it mostly worked, although running mergemaster -p -D
/path/to/jail before installworld didn't really back up files like it
normally does, but I was able to pull the most recent backup and fix
that.

 I use ezjail here, and it will automate a lot of these steps for you.
 Is there a reason that you can't use it?

I didn't create these jails with ezjails, so I was working under the
impression that I could not use ezjail to upgrade them. Is that not
correct?

Alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: src upgrading jails (no ezjail, no service jails)

2011-06-01 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 5/31/11 11:00 PM, Aleksandr Miroslav wrote:
 I have 4 jails that are running 8.2-RELEASE that I would like to upgrade.
 
 The host system, which was also running 8.2-RELEASE, has been
 successfully upgraded to 8.2-p2. I have /usr/src ready with the new
 world and new kernel.
 
 I did not create the jails using ezjails, so I cannot use that utility
 to upgrade it.
 
 I did not create the jails using the template method described in
 Handbook (section 15.6.1.2), so the method recommended to upgrade
 them, i.e.:
 
 
 http://www.freebsd.org/doc/handbook/jails-application.html#JAILS-SERVICE-JAILS-UPGRADING
 
 would not work for me.
 
 What is the proper way for me to upgrade these jails?
 
 thanks,
 Alex

Hi Alex,

You can do this:

cd /usr/src
make installworld DESTDIR=jaildir1
make distribution DESTDIR=jaildir1
...
...
make installworld DESTDIR=jaildirN
make distribution DESTDIR=jaildirN

Then restart your jails.

Regards,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3mOp0ACgkQ0sRouByUApAvyQCfYDh/dwd5/PB2zElwPuz1NC+D
I8kAoJ+tS9UaQqMDHmxophZ8F+dBuMuI
=eiBQ
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


src upgrading jails (no ezjail, no service jails)

2011-05-31 Thread Aleksandr Miroslav
I have 4 jails that are running 8.2-RELEASE that I would like to upgrade.

The host system, which was also running 8.2-RELEASE, has been
successfully upgraded to 8.2-p2. I have /usr/src ready with the new
world and new kernel.

I did not create the jails using ezjails, so I cannot use that utility
to upgrade it.

I did not create the jails using the template method described in
Handbook (section 15.6.1.2), so the method recommended to upgrade
them, i.e.:


http://www.freebsd.org/doc/handbook/jails-application.html#JAILS-SERVICE-JAILS-UPGRADING

would not work for me.

What is the proper way for me to upgrade these jails?

thanks,
Alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org