From owner-freebsd-questions@freebsd.org Thu Oct 29 07:15:23 2015 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 E7CDFA20600 for ; Thu, 29 Oct 2015 07:15:23 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 60AD01DAF for ; Thu, 29 Oct 2015 07:15:22 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.15.2/8.15.2) with ESMTPS id t9T7FFUL041013 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 29 Oct 2015 08:15:15 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.15.2/8.15.2/Submit) with ESMTP id t9T7FEeE041010 for ; Thu, 29 Oct 2015 08:15:15 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Thu, 29 Oct 2015 08:15:14 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: FreeBSD questions Subject: Inconsistent timestamps shown by svnweb.freebsd.org Message-ID: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.fig.ol.no Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Oct 2015 07:15:24 -0000 Hi, Am I the only who notice the inconsistent timestamps shown by svnweb.freebsd.org? I've checked with two browsers, and they agree on the following: http://svnweb.freebsd.org/base/ shows the directory head with revision 290134 and claims the commit happened 8 minutes ago. http://svnweb.freebsd.org/base/head/?view=log show the revision 290134 happened 114 minutes, 22 seconds ago. http://svnweb.freebsd.org/base/head/ shows the revision 290134 happened 44 minutes for the sys directory. Could this be due to caching load balancers or caching within the web server? -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-questions@freebsd.org Thu Oct 29 08:50:34 2015 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 0B4B4A207E6 for ; Thu, 29 Oct 2015 08:50:34 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from bede.qeng-ho.org (bede.qeng-ho.org [217.155.128.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "fileserver.home.qeng-ho.org", Issuer "fileserver.home.qeng-ho.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8C08D11A4 for ; Thu, 29 Oct 2015 08:50:33 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from arthur.home.qeng-ho.org (arthur.home.qeng-ho.org [172.23.1.2]) by bede.home.qeng-ho.org (8.15.2/8.15.2) with ESMTP id t9T8oOmj011343; Thu, 29 Oct 2015 08:50:24 GMT (envelope-from freebsd@qeng-ho.org) Subject: Re: /etc/jail.conf documentation? To: galtsev@kicp.uchicago.edu References: <49230.128.135.52.6.1446047977.squirrel@cosmo.uchicago.edu> <1446064085.1148620.422968569.0E47599D@webmail.messagingengine.com> <20953.128.135.52.6.1446065026.squirrel@cosmo.uchicago.edu> Cc: freebsd-questions@freebsd.org From: Arthur Chance Message-ID: <5631DDD0.4010303@qeng-ho.org> Date: Thu, 29 Oct 2015 08:50:24 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20953.128.135.52.6.1446065026.squirrel@cosmo.uchicago.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Oct 2015 08:50:34 -0000 On 28/10/2015 20:43, Valeri Galtsev wrote: > > On Wed, October 28, 2015 3:28 pm, Mark Felder wrote: >> >> >> On Wed, Oct 28, 2015, at 10:59, Valeri Galtsev wrote: >>> Dear All, >>> >>> Can someone recommend something similar to FreeBSD handbook that >>> describes >>> building jails for newer systems meaning /etc/jail.conf as opposed to >>> /etc/rc.conf which handbook currently has in its jails chapter. I still >>> have all jail configurations on 9.3 boxes in /etc/rc.conf, but it is >>> time >>> to build 10.x production boxes, and do things modern way (implying >>> /etc/jail.conf). I still intend to keep building jails "old fashion way" >>> as described in handbook, as opposed to using tools "ezjail" or similar. >>> >>> Thanks for all your advises! >>> >>> Valeri >>> >>> PS I know I can always use UNIX way of getting information, like >>> >>> man jail.conf >>> >>> , still... >>> >> >> Hi Valeri, >> >> It's simpler than you think. Your /etc/jail.conf can be as simple as: >> >> exec.start = "/bin/sh /etc/rc"; >> exec.stop = "/bin/sh /etc/rc.shutdown"; >> exec.clean; >> mount.devfs; >> >> path = /zroot/jails/$name; >> >> myjail{ >> host.hostname = "myjail.local"; >> ip4.addr = 192.168.1.5; >> } >> > > Mark, thanks a lot! I already have it running; I have a couple more I'm > sure I need to have: > > allow.set_hostname = 0; > allow.sysvipc = 0; > > but I definitely didn't have > > exec.stop = "/bin/sh /etc/rc.shutdown"; > > which seems to be really beneficial for jail "clean shutdown" akin we do > when we shut down real system. > If you use nullfs or unionfs in creating your jails, be aware of this bug https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=186360 There's a work around in the later comments that works fine. -- Moore's Law of Mad Science: Every eighteen months, the minimum IQ necessary to destroy the world drops by one point.