From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nils Gillmann Subject: Redefining the maximum path length [Fwd: Re: [GNUnet-developers] using $TMPDIR instead of /tmp] Date: Sun, 6 May 2018 18:59:23 +0000 Message-ID: <20180506185923.rbzaa3jmck5k5iss@abyayala> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFOs5-0003Gn-M5 for guix-devel@gnu.org; Sun, 06 May 2018 14:58:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fFOs4-0001M4-VW for guix-devel@gnu.org; Sun, 06 May 2018 14:58:57 -0400 Received: from conspiracy.of.n0.is ([2a01:4f8:1c0c:7ad0::1]:38538) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fFOs4-0001Jf-Lx for guix-devel@gnu.org; Sun, 06 May 2018 14:58:56 -0400 Received: by conspiracy.of.n0.is (OpenSMTPD) with ESMTPSA id fcb357c0 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Sun, 6 May 2018 18:58:54 +0000 (UTC) Content-Disposition: inline List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Hi folks, we did some changes in GNUnet where my part of the job reminded me again of the path length Linux has as default. I know there's at least (only?) 1 file in the Linux kernel which defines the path length. Where else would we need to apply changes as a distro? I think if there are really no serious implications of extending the length, we should make the path longer. Not just for GNUnet. To avoid future annoyance. What do you think? And if you are against it, what should I look into that supports keeping the arbitrary short number we have now? ----- Forwarded message from Christian Grothoff ----- > On 05/06/2018 08:34 PM, Nils Gillmann wrote: > > Christian Grothoff transcribed 2.9K bytes: > >> On 05/05/2018 09:58 PM, Nils Gillmann wrote: [snip] > > I've changed the config files, now the problem for us in Nix and Guix > > will be that the silly maximum unix path length will be hit quiet often... > > at least for the Guix build chroot when the chroot is in /tmp/guix-build-gnunet-git1.drv-0/ > > > > The $GNUNET_TMP then gives you diretories like /tmp/guix-build-gnunet-git1.drv-0/gnunet/WAHTEVER-HERE/GOES/NOTHING > > where previously they just landed in /tmp iirc. > > > > We should make it possible to set the value of GNUNET_TMP before make check, > > for example via the equivalent of export GNUNET_TMP="/tmp"; make check. > > > > It's quiet unfortunate with the length.. > > Have you considered re-defining the maximum path length? Given that you > are a distro, you should be able to recompile everything necessary > (kernel, libc) with simply a larger value, right? ----- End forwarded message -----