From owner-freebsd-questions@freebsd.org Tue Mar 14 19:06:11 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 960ECD0BC9F for ; Tue, 14 Mar 2017 19:06:11 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from inet08.hamilton.harte-lyne.ca (inet08.hamilton.harte-lyne.ca [216.185.71.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "inet08.hamilton.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6E55CE10 for ; Tue, 14 Mar 2017 19:06:11 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from localhost (localhost [127.0.0.1]) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTP id 827DC61F0E for ; Tue, 14 Mar 2017 15:06:04 -0400 (EDT) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from inet08.hamilton.harte-lyne.ca ([127.0.0.1]) by localhost (inet08.hamilton.harte-lyne.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Th3dquoaKTO9 for ; Tue, 14 Mar 2017 15:06:03 -0400 (EDT) Received: from webmail.harte-lyne.ca (inet04.hamilton.harte-lyne.ca [216.185.71.24]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTPSA id E6C5561ED8 for ; Tue, 14 Mar 2017 15:06:02 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=harte-lyne.ca; s=dkim_hll; t=1489518362; bh=/0CWhdKezcC+RjyUQhiglwaqTlVUgbRyxELuPaOGi+I=; h=Date:Subject:From:To:Reply-To; b=AI66s0ghx9amnXzT/jPVJ+yvr5Rh9ynBX9nJPwcgLJ5ueo4fl6IkVlMXNFMXMWbcx HItqYRRR/G2J1hcxDDCh8JMvIf9EZMDyE2umxt5g7SsM9wrEhYE9f1qWCI1peEdWWy nLoTN+aOyUkSnV5boqLwQUyaVYUtuJWQC5vj40XmRHDv/TbqaTo5NRstVPayP+sXfs jDXWcLNghxIzazNRcx3B+kJVXzej1YtG9wIauorFfZ4U8HFJrIpxihoLQiPc5vaQNq eq/Eu7wNTJ5N/P9EMxFKNO2rvOKNGAbGQS8RSmzBnO8QuVypt27YB25CTYAqAQ5Xvu iFXZrUl1TpNtQ== Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Tue, 14 Mar 2017 15:06:02 -0400 Message-ID: <752326cf454b5045b8759e7a4a163a23.squirrel@webmail.harte-lyne.ca> Date: Tue, 14 Mar 2017 15:06:02 -0400 Subject: FreeBSD-11 - /etc/fstab From: "James B. Byrne" To: freebsd-questions@freebsd.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.22-4.el6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Mar 2017 19:06:11 -0000 I am experimenting with installing iDempiere on a jail called hllidempiere created with ezjail. As part of the prerequisites OpenJDK is required. When installed in the jail the OpenJDK pkg says this: This OpenJDK implementation requires fdescfs(5) mounted on /dev/fd and procfs(5) mounted on /proc. If you have not done it yet, please do the following: mount -t fdescfs fdesc /dev/fd mount -t procfs proc /proc To make it permanent, you need the following lines in /etc/fstab: fdesc /dev/fd fdescfs rw 0 0 proc /proc procfs rw 0 0 Now, there is no /etc/fstab in the jail itself. However on the host system there exists: /etc/fstab.hllidempiere. Checking /usr/local/etc/ezjail/hllidempiere I see that these flags are set: export jail_hllidempiere_mount_enable="YES" export jail_hllidempiere_devfs_enable="YES" export jail_hllidempiere_devfs_ruleset="devfsrules_jail" export jail_hllidempiere_procfs_enable="YES" export jail_hllidempiere_fdescfs_enable="YES" So, I believe that I should be able to perform the requisite file system mounts. What I am not clear on is how to add these file systems to the jail's fstab so that they are automatically mounted whenever the jail starts. I attempted to add these commands to /etc/fstab.hllidempiere but this had no evident effect. How is this done? -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3