Suspect my pluginjail template is wrong from 9.3 -> 9.10? Correct URL?

Status
Not open for further replies.

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
What is the output of uname -a in the jail.
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Qbittorrent-nox is the webui version.
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
Oh that makes sense, thank you.

uname -a =

Code:
root@qBittorrent_2:/ # uname -a												 
FreeBSD qBittorrent_2 10.3-STABLE FreeBSD 10.3-STABLE #0 41eb257(9.10.2-STABLE):
Mon Mar  6 17:03:14 UTC 2017	 root@gauntlet:/freenas-9.10-releng/_BE/objs/fr
eenas-9.10-releng/_BE/os/sys/FreeNAS.amd64  amd64   
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
(and yeah it's still broken with the mtree fixed, the tutorial will not work for me if I install with the pluginjail template, the tutorial gets much further with the standard template)

Code:
root@qBittorrent_2:/ # pkg install nano										
Updating FreeBSD repository catalogue...										
FreeBSD repository is up-to-date.											  
All repositories are up-to-date.												
pkg: No packages available to install matching 'nano' have been found in the rep
ositories																	  
root@qBittorrent_2:/ #


/\/\/\/\/\/\
That works fine, in the standard jail template
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Create a standard jail and run pkg upgrade before you do anything. It should install just fine. I did my install without adding the user and all the extra steps involved with that and it just works.

the tutorial gets much further with the standard template)

Specific errors you are encountering would be useful here.
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
STANDARD JAIL:


Code:
root@qBittorrent_2:/ # uname -a												 
FreeBSD qBittorrent_2 10.3-STABLE FreeBSD 10.3-STABLE #0 41eb257(9.10.2-STABLE):
Mon Mar  6 17:03:14 UTC 2017	 root@gauntlet:/freenas-9.10-releng/_BE/objs/fr
eenas-9.10-releng/_BE/os/sys/FreeNAS.amd64  amd64							   
root@qBittorrent_2:/ # pkg install nano										 
Updating FreeBSD repository catalogue...										
FreeBSD repository is up-to-date.											   
All repositories are up-to-date.												
New version of pkg detected; it needs to be installed first.					
The following 1 package(s) will be affected (of 0 checked):					 
																				
Installed packages to be UPGRADED:											 
		pkg: 1.6.4_1 -> 1.10.1												 
																				
The process will require 553 KiB more space.									
3 MiB to be downloaded.														 
																				
Proceed with this action? [y/N]:	 
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
PluginJail Template.

Code:
root@qBittorrent_2:/ # pkg update											   
Updating FreeBSD repository catalogue...										
pkg: Repository FreeBSD has a wrong packagesite, need to re-create database	 
[qBittorrent_2] Fetching meta.txz: 100%	944 B   0.9kB/s	00:01			 
[qBittorrent_2] Fetching packagesite.txz: 100%	5 MiB 175.2kB/s	00:34	 
Processing entries:   0%														
pkg: Skipping unknown key 'messages'											
pkg: wrong architecture: freebsd:10:x86:64 instead of FreeBSD:9:amd64		   
pkg: repository FreeBSD contains packages with wrong ABI: freebsd:10:x86:64	 
Processing entries: 100%														
pkg: Unable to update repository FreeBSD										
root@qBittorrent_2:/ # uname -a												 
FreeBSD qBittorrent_2 10.3-STABLE FreeBSD 10.3-STABLE #0 41eb257(9.10.2-STABLE):
Mon Mar  6 17:03:14 UTC 2017	 root@gauntlet:/freenas-9.10-releng/_BE/objs/fr
eenas-9.10-releng/_BE/os/sys/FreeNAS.amd64  amd64							   
root@qBittorrent_2:/ # pkg install nano										 
Updating FreeBSD repository catalogue...										
FreeBSD repository is up-to-date.											   
All repositories are up-to-date.												
pkg: No packages available to install matching 'nano' have been found in the rep
ositories																	   
root@qBittorrent_2:/ #	
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
Thanks for your reply, so the tutorial is incorrect or my pluginjail settings are wrong?
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
Well I finally got it working, non pluginjail though.
Total waste of time though, nasty bug in the new version, man their WebUI is bad.
http://imgur.com/a/wj3kN
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
I don't know how you're even getting a plugin jail option, it was removed some time ago. Just use the standard jail template. Are you still on 9.3?

Try another browser, it works fine for me.
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
Whenn you add a jail, if you click advanced - there's a drop down box? Was it specifically removed?
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
(Anyhow I've tried Chrome and Firefox, it's unusable without those tickboxes, I'll wait until it's patched)
 

diedrichg

Wizard
Joined
Dec 4, 2012
Messages
1,319

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
Thanks for your help (again)
Also kind of frustrating that none of the 9.3 -> 9.10 patches and subsequent updates ever pushed out the fix, I recall many a sad forum thread about it.

I see they fixed the bug I found, so eventually it'll be compiled into a version I can download, right? I'll try running the tutorial again.
Once I do, should I use pluginjail or standard? Considering you likely just fixed, my pluginjail configuration?
 

diedrichg

Wizard
Joined
Dec 4, 2012
Messages
1,319
I see they fixed the bug I found, so eventually it'll be compiled into a version I can download, right? I'll try running the tutorial again.
Once I do, should I use pluginjail or standard? Considering you likely just fixed, my pluginjail configuration?

You can compile it yourself if you don't want to wait. It'll take several hours though.

There is only one type of jail now for 9.10 and that's the one you'll use. My tutorial will use that 'type'.
 
Status
Not open for further replies.
Top