Jails on 9.10

Status
Not open for further replies.

Neek

Dabbler
Joined
Feb 10, 2014
Messages
43
I've seen in the release notes that 9.10 has some weird issues with jails, that have to do with being a hybrid FreeBSD 9 and FreeBSD 10 system. However, I'm not sure what exactly I'm supposed to actually do to "nuke my jails templates".

I created a jail. From within the jail, if I look at /usr/local/etc/pkg/repos/FreeBSD.conf, it appears to be setting 'url' as:
url : "pkg+http://pkg.FreeBSD.org/freebsd:10:x86:64/latest",

I run pkg update and it then fails, similar to what's seen in https://bugs.freenas.org/issues/14211.

But after reading that thread numerous times, I'm still unsure what I'm supposed to do to get the jail to be able to update its package list. I am running 3 other jails, one derived from pluginjail, and 2 from standard. They were all created back when I was on FreeNAS 9.3.

I'm not a noob, but I'm not a FreeBSD jails expert. I'd appreciate any suggestions what I need to do. Thanks.
 

ethereal

Guru
Joined
Sep 10, 2012
Messages
762
try this

Code:
vi /usr/local/etc/pkg/repos/FreeBSD.conf
then edit the file TO

FreeBSD: {
url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
mirror_type: "srv",
enabled: yes
}
 

Neek

Dabbler
Joined
Feb 10, 2014
Messages
43
Thanks a lot. I had tried that, but still, after doing that, when I run pkg update, I get:

Code:
root@plex:/ # pkg update

Updating FreeBSD repository catalogue...
pkg: http://pkg.FreeBSD.org/FreeBSD:10:amd64/latest/meta.txz: No address record
repository FreeBSD has no meta file, using default settings
pkg: http://pkg.FreeBSD.org/FreeBSD:10:amd64/latest/packagesite.txz: No address record
Unable to update repository FreeBSD
 

ethereal

Guru
Joined
Sep 10, 2012
Messages
762

ethereal

Guru
Joined
Sep 10, 2012
Messages
762
is freenas fully updated?
 

Neek

Dabbler
Joined
Feb 10, 2014
Messages
43
Thanks ethereal, not sure how, but my DNS was indeed messed up. It all appears to be working now. thanks!
 

ethereal

Guru
Joined
Sep 10, 2012
Messages
762
whoopee - better lucky than good
 
Status
Not open for further replies.
Top