From owner-freebsd-ports@freebsd.org Wed Dec 20 19:22:32 2017 Return-Path: Delivered-To: freebsd-ports@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 3CF7AE9E9F1 for ; Wed, 20 Dec 2017 19:22:32 +0000 (UTC) (envelope-from dmytro@posteo.net) Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.posteo.de", Issuer "StartCom Class 3 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id EE9457DADB for ; Wed, 20 Dec 2017 19:22:31 +0000 (UTC) (envelope-from dmytro@posteo.net) Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id EBC8420E39 for ; Wed, 20 Dec 2017 20:22:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1513797748; bh=JP+lA9usS7nS7G6ewH7kCu+tRJIKv0CP11mFJBxITnA=; h=Date:From:To:Cc:Subject:From; b=JGy/R62xCoHiQy18jo5/VJeKoaA2JRt6LLFFEtljNj7ILjv5cBYlm/iVWuMYaZUeo 8I5xk7SukQiYt2KHOUNqx1/lklXsUk7A1Q+cEKr0r3xJb2PmchBYagZyAEWveYkiNP WJrIrlmwg8dZClj3saLQeWK0VJHDQD7a4e5HGZoc/GCemp/U6qgYEde43kmurhnJSw JFJw9wXm3vj7OCFkj+OUw5wewqlPlqofM726X0Sy4dxrG0TR575AwbLMIASWxEck+E 1a3T3m4/lmkg4NHmJ7HxXeGGDOq1PHL/qo/Hw8Kg4nsgLJVYtYQVKqadekNkVMmS0K zYApHq7cVas3A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3z24R60Tx7z9rxL; Wed, 20 Dec 2017 20:22:26 +0100 (CET) Date: Wed, 20 Dec 2017 21:22:23 +0200 From: Dmytro Bilokha To: Adam Vande More Cc: Kevin Oberman , Miroslav Lachman <000.fbsd@quip.cz>, FreeBSD Ports ML Subject: Re: Setting system user home directory Message-ID: <20171220192222.GA4690@wstan> References: <20171216094058.GA37778@wstan> <5A351515.1080805@quip.cz> <20171216135919.GA17551@wstan> <5A352BA5.9070403@quip.cz> <20171216170411.GA85559@wstan> <20171216185317.GA87289@wstan> <20171216200959.GA97697@wstan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.2 (2016-11-26) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Dec 2017 19:22:32 -0000 On Wed, Dec 20, 2017 at 08:12:52AM -0600, Adam Vande More wrote: >On Sat, Dec 16, 2017 at 2:10 PM, Dmytro Bilokha wrote: > >> Guys, thanks for your help. I've managed to adjust user's homedir >> using pkg-install script. Now I'll try to move everything writable >> from /usr/local to /var (as Miroslav suggested), test and submit the new >> port version. > > >I think you should do what makes sense for your application. The /var/db >stuff is not a hard fast rule and it doesn't work well for many >situations. Also it's mostly system related DB's that live there. It's >not only some java related ports that live mostly under /usr but also >things like postgres(at least used to). > >IMO, as long as you're not flagrantly violating hier(7), do what is best >for your port. > >-- >Adam Thanks for your response. For me both approaches are fine, application will work. As far as I understand, which layout is better depends on how the system is managed. For now having writable data in /var seems reasonable, so I'll try it. -- Dmytro Bilokha dmytro@posteo.net +38-050-607-41-43