Junicast
Patron
- Joined
- Mar 6, 2015
- Messages
- 206
Hi,
I created my own template and after overcoming some obstacles it worked. The jail template is marked as FreeBSD, x64.
After using that very template to create a new jail I have trouble to do a
Some additional information:
host:
FreeNAS-11.0-U4 (54848d13b)
jail:
Update:
The 32 bit thing is obviously wrong.
The file
Update 2:
Might my .tgz be cached somewhere? But even so, I could not imagine that the string ever could have been "32" as there are no 32 bit systems involved? What's the deal here? To me it looks like the mechanism of conserving files through to the destination system is broken, don't you think?
I created my own template and after overcoming some obstacles it worked. The jail template is marked as FreeBSD, x64.
After using that very template to create a new jail I have trouble to do a
pkg update
Some additional information:
host:
FreeNAS-11.0-U4 (54848d13b)
jail:
Code:
root@sql001:/etc/pkg # uname -a FreeBSD sql001 11.0-STABLE FreeBSD 11.0-STABLE #0 r321665+25fe8ba8d06(freenas/11.0-stable): Mon Sep 25 06:24:11 UTC 2017 root@gauntlet:/freenas-11-releng/freenas/_BE/objs/freenas-11-releng/freenas/_BE/os/sys/FreeNAS.amd64 amd64 root@sql001:/etc/pkg # pkg -vv Version : 1.10.1 PKG_DBDIR = "/var/db/pkg"; PKG_CACHEDIR = "/var/cache/pkg"; PORTSDIR = "/usr/ports"; INDEXDIR = ""; INDEXFILE = "INDEX-11"; HANDLE_RC_SCRIPTS = false; DEFAULT_ALWAYS_YES = false; ASSUME_ALWAYS_YES = false; REPOS_DIR [ "/etc/pkg/", "/usr/local/etc/pkg/repos/", ] PLIST_KEYWORDS_DIR = ""; SYSLOG = true; ABI = "FreeBSD:11:amd64"; ALTABI = "freebsd:11:x86:64"; DEVELOPER_MODE = false; VULNXML_SITE = "http://vuxml.freebsd.org/freebsd/vuln.xml.bz2"; FETCH_RETRY = 3; PKG_PLUGINS_DIR = "/usr/local/lib/pkg/"; PKG_ENABLE_PLUGINS = true; PLUGINS [ ] DEBUG_SCRIPTS = false; PLUGINS_CONF_DIR = "/usr/local/etc/pkg/"; PERMISSIVE = false; REPO_AUTOUPDATE = true; NAMESERVER = ""; HTTP_USER_AGENT = "pkg/1.10.1"; EVENT_PIPE = ""; FETCH_TIMEOUT = 30; UNSET_TIMESTAMP = false; SSH_RESTRICT_DIR = ""; PKG_ENV { } PKG_SSH_ARGS = ""; DEBUG_LEVEL = 0; ALIAS { } CUDF_SOLVER = ""; SAT_SOLVER = ""; RUN_SCRIPTS = true; CASE_SENSITIVE_MATCH = false; LOCK_WAIT = 1; LOCK_RETRIES = 5; SQLITE_PROFILE = false; WORKERS_COUNT = 0; READ_LOCK = false; PLIST_ACCEPT_DIRECTORIES = false; IP_VERSION = 0; AUTOMERGE = true; VERSION_SOURCE = ""; CONSERVATIVE_UPGRADE = true; PKG_CREATE_VERBOSE = false; AUTOCLEAN = false; DOT_FILE = ""; REPOSITORIES { } VALID_URL_SCHEME [ "pkg+http", "pkg+https", "https", "http", "file", "ssh", "ftp", "ftps", "pkg+ssh", "pkg+ftp", "pkg+ftps", ] ALLOW_BASE_SHLIBS = false; WARN_SIZE_LIMIT = 1048576; METALOG = ""; NFS_WITH_PROPER_LOCKING = false; Repositories: FreeBSD: { url : "pkg+http://pkg.FreeBSD.org/freebsd:11:x86:32/latest", enabled : yes, priority : 0, mirror_type : "SRV", signature_type : "FINGERPRINTS", fingerprints : "/usr/share/keys/pkg" }
Update:
The 32 bit thing is obviously wrong.
The file
/usr/local/etc/pkg/repos/FreeBSD.conf
actually contains the wrong content. How can that have happened? I just did a tar -czf
from the original jail and when I inspect that .tgz file it contains the right file.Update 2:
Might my .tgz be cached somewhere? But even so, I could not imagine that the string ever could have been "32" as there are no 32 bit systems involved? What's the deal here? To me it looks like the mechanism of conserving files through to the destination system is broken, don't you think?
Last edited: