eb10
![]() |
|
|
|
|
|||||||
| Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software). |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
I am having problems with sysutils/qjail. I've installed qjail then done qjail install to get the basejail installed. After this when I am running qjail update -p to get the /usr/jail/basejail/usr/ports I am getting following error:Code:
[root@do ~]# qjail update -p Wed May 2 10:29:56 CEST 2012 The elapse download time of the portsnap compressed ports file is estimated at 25 minutes for the initial fetch. Subsequent fetches will generally take less than a minute. Looking up portsnap.FreeBSD.org mirrors... 4 mirrors found. Fetching snapshot tag from portsnap5.FreeBSD.org... done. Fetching snapshot metadata... done. Updating from Tue May 1 03:13:01 CEST 2012 to Wed May 2 09:50:27 CEST 2012. Fetching 4 metadata patches... done. Applying metadata patches... done. Fetching 0 metadata files... done. Fetching 257 patches.....10....20....30....40....50....60....70....80....90....100....110.... 120....130....140....150....160....170....180....190....200....210....220....230.... 240....250... done. Applying patches... done. Fetching 6 new ports or files... done. Portsnap fetch completed successfully Wed May 2 10:30:14 CEST 2012 The ports basejail/usr/ports directory tree is being updated. The elapse time for this to complete is estimated at 1 minute to 10 minutes depending on how current your ports system is. Error: Portsnap extract/update failed. Code:
[root@do ~]# ls -al /usr/jails/basejail/usr/ports/ total 4 drwxr-xr-x 2 root wheel 512 Apr 30 18:09 . drwxr-xr-x 12 root wheel 512 Apr 30 18:10 .. -folivora
__________________
"Thousands of candles can be lighted from a single candle, and the life of the candle will not be shortened. Happiness never decreases by being shared" -- Buddha -- Last edited by DutchDaemon; May 2nd, 2012 at 16:19. |
|
#2
|
||||
|
||||
|
Does qmail retain a log?
__________________
I don't work here.... either. SHUT UP AND HACK! dev=null=->( awk, *sh, &vi){ lambda{ |ruby, *bsd| ruby+bsd }.curry }.(/:(){ :|:& };:/).([' 3< r0x4h'.reverse!, `echo $(ruby -v) $(uname -s) | awk '{print $7"+"$1}'`.upcase]); printf "\n"*(2*3*6); 42.times {|null| printf( dev[ null[ null[ null]]]) } http://lists.freebsd.org/pipermail/freebsd-stable/2011-January/061078.html Last edited by DutchDaemon; May 2nd, 2012 at 16:52. |
|
#3
|
|||
|
|||
|
I don't know about qmail but it seems that there are no logs for qjail.
-folivora
__________________
"Thousands of candles can be lighted from a single candle, and the life of the candle will not be shortened. Happiness never decreases by being shared" -- Buddha -- Last edited by DutchDaemon; May 2nd, 2012 at 23:55. |
|
#4
|
|||
|
|||
|
I have this problem also:
Code:
> qjail update -p среда, 18 июля 2012 г. 13:37:37 (SAMT) The elapse download time of the portsnap compressed ports file is estimated at 25 minutes for the initial fetch. Subsequent fetches will generally take less than a minute. Looking up portsnap.FreeBSD.org mirrors... 9 mirrors found. Fetching snapshot tag from geodns-1.portsnap.freebsd.org... done. Latest snapshot on server matches what we already have. No updates needed. Portsnap fetch completed successfully среда, 18 июля 2012 г. 13:37:38 (SAMT) The ports basejail/usr/ports directory tree is being updated. The elapse time for this to complete is estimated at 1 minute to 10 minutes depending on how current your ports system is. Error: Portsnap extract/update failed. |
|
#5
|
|||
|
|||
|
This is a know problem that will be fixed in qjail version 1.5
The work around is to execute this command sequence from the host console. portsnap fetch If /usr/jails/basejail/usr/ports is empty then portsnap –p /usr/jails/basejail/usr/ports extract If /usr/jails/basejail/usr/usr/ports/.portsnap.INDEX is present then portsnap –p /usr/jails/basejail/usr/ports update And qjail does have a log in the hosts /var/log for each jail, just as the qjail man page states. |
|
#6
|
|||
|
|||
|
Thank you for answer. I updated qjail today and now it works good.
Code:
> qjail -v
qjail v1.5
Usage: qjail [install|create|list|start|stop|restart|console|archive|
delete|restore|config|update|help] {parameters}
Code:
> qjail update -p пятница, 20 июля 2012 г. 08:43:58 (SAMT) The elapse download time of the portsnap compressed ports file is estimated at 25 minutes for the initial fetch. Subsequent fetches will generally take less than a minute. Looking up portsnap.FreeBSD.org mirrors... 9 mirrors found. Fetching snapshot tag from geodns-1.portsnap.freebsd.org... done. Latest snapshot on server matches what we already have. No updates needed. Portsnap fetch completed successfully пятница, 20 июля 2012 г. 08:43:59 (SAMT) The ports are being extracted to basejail/usr/ports directory tree. The elapse time for this to complete is estimated at 20 minutes for the initial extract. Portsnap extract completed successfully |
![]() |
| Tags |
| jail, qjail |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| qjail port now available on port system | fbsd1 | Porting New Software | 4 | January 10th, 2012 11:02 |
| qjail and devfs rules | folivora | Installation and Maintenance of FreeBSD Ports or Packages | 2 | December 7th, 2011 03:11 |
| [Solved] New jail utility "qjail" published for public usage | fbsd1 | General | 12 | December 27th, 2010 16:51 |
| [Solved] 8.1 system install hang on error: read error: 0x20 | lockfile | Installing & Upgrading | 9 | November 24th, 2010 01:59 |
| freebsd 7.0- Error Mounting /dev/acd0 on /dist: Input/output error (5) | Lego | Installing & Upgrading | 52 | November 30th, 2008 16:31 |