From owner-freebsd-questions@FreeBSD.ORG Sun Jun 9 01:14:02 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 80F693B9 for ; Sun, 9 Jun 2013 01:14:02 +0000 (UTC) (envelope-from m.fujimoto@rocketmail.com) Received: from nm26-vm2.bullet.mail.sg3.yahoo.com (nm26-vm2.bullet.mail.sg3.yahoo.com [106.10.151.113]) by mx1.freebsd.org (Postfix) with ESMTP id CBB9412BF for ; Sun, 9 Jun 2013 01:14:01 +0000 (UTC) Received: from [106.10.166.119] by nm26.bullet.mail.sg3.yahoo.com with NNFMP; 09 Jun 2013 01:13:54 -0000 Received: from [106.10.167.133] by tm8.bullet.mail.sg3.yahoo.com with NNFMP; 09 Jun 2013 01:13:54 -0000 Received: from [127.0.0.1] by smtp106.mail.sg3.yahoo.com with NNFMP; 09 Jun 2013 01:13:53 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1370740433; bh=5DsRaX1SrNuu+pipoX4GVHgGIeA3u5C9UpmBgWS/Z/A=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Date:From:To:Subject:Message-Id:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; b=Tz8kokVwWdE/6WZqHs+F+g7Bysb9WF5R3vT9nMVUcKqhnushn7e6rquj+xkN7x9QnDo4wyuoMcq4Dk0mGW37uCum1vP2KN+6/3gi5z8rPmpWPBloZKt5fGBj3XPE6g9sAU7ivAxsJuUE1Sk+/3SHWrClIGN01PwRZoRBMRVtlFA= X-Yahoo-Newman-Id: 985719.47594.bm@smtp106.mail.sg3.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: A1u_iAkVM1l1_rgYTbcSIP7tIyoGrKoJLtqv3Oi18AxtDcQ nHvZYJg4GqnHDCQqnW8hD.CnQRQbWGxKTei2V3Vh_JxmeUKchpjsn4GF.xqd 07vbaLcTWzmHGbd_.pKDNJTHKgP_PUXXeft4Rs39ku6tsBlj.kflnFr4ptY7 _3vwXfP_wQRwHI2RM0thkUhAh0GeFvrcZB1eMwb.F9TsAFyWvVLhNbhvs07h sqlCgbZubpsF68ve1hIESr6IgSL94y6k3o6PD2hk27ko7X2.sq2N_RhNKBFb qOMAQ1H7ZBTKHXXJ_MFaUq887paZVGVtKg9EPiek0poR7Uj_99XA8dySawcl ur277di7zntB9HELZ2TVLXy9tAaZ14a4i_tFZKf2Fjz.G.1yLguguB7Hu5nz O9JDZujE_NcEPSXbBxM03ooazBJztioHbRAwNSzEDsCyGK9RqREcvoJwhInz ZXpZKFvlwgxuoOJDIVAz9qmusBg-- X-Yahoo-SMTP: SEC3zYiswBD9sq45lcyyeQipExkn8zEko29uJv0vlQ7fgU5pYYw- X-Rocket-Received: from freebsd.example.ne.jp (m.fujimoto@116.70.244.192 with ) by smtp106.mail.sg3.yahoo.com with SMTP; 08 Jun 2013 18:13:53 -0700 PDT Date: Sun, 9 Jun 2013 10:13:52 +0900 From: Masayoshi Fujimoto To: freebsd-questions@freebsd.org Subject: upgrade qjail Message-Id: <20130609101352.a95d7cda3d1bccfa358e2182@rocketmail.com> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.18; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 01:14:02 -0000 Hi. Could you tell me how to upgrade qjail-1.7 to qjail-3.0 ? I can not start "www". So I have to use qjail-1.7 now. >_> root@freebsd:/root # pkg_info | grep qjail qjail-1.7 Utility to quickly deploy and manage jails root@freebsd:/root # jls JID IP Address Hostname Path 1 192.168.0.20 www /usr/jails/www root@freebsd:/root # portmaster qjail root@freebsd:/root # rehash root@freebsd:/root # pkg_info | grep qjail qjail-3.0 Utility to quickly deploy and manage jails root@freebsd:/root # reboot I got the following message. jail: qjail: path : not an absolute pathname Error: /usr/sbin/jail failed to start jail www. because of errors in jail.conf file. root@freebsd:/root # cat /etc/jail.conf qjail { host.hostname = "qjail"; path = ""; mount.fstab = ""; exec.start = "/bin/sh /etc/rc"; exec.stop = "/bin/sh /etc/rc.shutdown"; exec.consolelog = "/var/log/qjail.qjail.console.log"; devfs_ruleset = "4"; allow.mount.devfs; } So I edited /etc/jail.conf : www { host.hostname = "www"; path = "/usr/jails/www"; mount.fstab = ""; exec.start = "/bin/sh /etc/rc"; exec.stop = "/bin/sh /etc/rc.shutdown"; exec.consolelog = "/var/log/qjail.qjail.console.log"; devfs_ruleset = "4"; allow.mount.devfs; ip4.addr = 192.168.0.20; interface = "alc0"; } root@freebsd:/root # /usr/local/etc/rc.d/qjail.bootime restart jail: qjail: path : not an absolute pathname Error: /usr/sbin/jail failed to start jail www. because of errors in jail.conf file. I got same massage. My /etc/jail.conf has been changed default one.