From owner-freebsd-hackers@FreeBSD.ORG Sat Sep 6 03:12:02 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C18A21065675 for ; Sat, 6 Sep 2008 03:12:02 +0000 (UTC) (envelope-from rtfm.xx@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by mx1.freebsd.org (Postfix) with ESMTP id 917148FC1B for ; Sat, 6 Sep 2008 03:12:02 +0000 (UTC) (envelope-from rtfm.xx@gmail.com) Received: by wa-out-1112.google.com with SMTP id j4so494020wah.3 for ; Fri, 05 Sep 2008 20:12:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:mime-version:content-type:x-google-sender-auth; bh=b6y/8JIzLdIO6zWwfYM+/KD2j9xseeFS3OIJdZ2Wsq0=; b=HEVMqZ/Fw5o1ij9FPDtdeO9dO+Jr1AfUrsy+r2bzZpQlPZMdVvxHO2jP9R4rBY38rt CS0gQGiz/ZUapRWVtq8LxPltKz6hk2HORfdZ4yQRNe71OkpuMKQg8VCcxr9ZU6pS9Nvw pUqFmkooDgwlA6fZCKrpoj6B0/kdrfu/4wdL0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type :x-google-sender-auth; b=iZdwjVJxOEtNQp/JApdGRAH8w5btCE+HDnU3dNREpvMO5ce7CldKytx1lGMn+CsSwU 0X9x124+KcvwgMZtAWDjyMDve+yBLwjDBUv1MuuJL9DIn2PKWFet9IlUPOXqE/LwRy2H of5aAbl4bv2VWntqh10NEXINkYnxrNyyq3A4w= Received: by 10.114.181.1 with SMTP id d1mr10656343waf.185.1220668813220; Fri, 05 Sep 2008 19:40:13 -0700 (PDT) Received: by 10.114.157.5 with HTTP; Fri, 5 Sep 2008 19:40:13 -0700 (PDT) Message-ID: <15d3bc360809051940t70f0b884mb9a80132acc50b45@mail.gmail.com> Date: Fri, 5 Sep 2008 19:40:13 -0700 From: "Joshua Piccari" Sender: rtfm.xx@gmail.com To: freebsd-hackers@freebsd.org MIME-Version: 1.0 X-Google-Sender-Auth: 3fc79288fd884922 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Temp files in /etc X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Sep 2008 03:12:02 -0000 Hi all, I am setting up a few jails and I want them all to use the same /etc files (with the exception of the files related to the password files and databases), so I mounted a shared /etc folder as a nullfs with read-only permissions. The problem is that using utilities like pw or chpass create temporary files in /etc and that file system is mounted read-only. So is there a way to force any utilities that create temp files in /etc to use another location, something like /usr/local/etc for example? ~Joshua