From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Wilms Subject: Re: XWayland, /tmp/.X11-unix Date: Thu, 22 Mar 2018 14:04:10 +0100 Message-ID: References: <87po3xava2.fsf@elephly.net> Reply-To: t_w_@freenet.de Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35131) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyzvF-000222-DE for guix-devel@gnu.org; Thu, 22 Mar 2018 09:06:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eyzvB-0002JJ-E8 for guix-devel@gnu.org; Thu, 22 Mar 2018 09:06:25 -0400 Received: from mout1.freenet.de ([2001:748:100:40::2:3]:44548) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eyzvB-0002GZ-7u for guix-devel@gnu.org; Thu, 22 Mar 2018 09:06:21 -0400 In-Reply-To: <87po3xava2.fsf@elephly.net> Content-Language: en-GB 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: Ricardo Wurmus Cc: Guix-devel On 22.03.2018 00:00, Ricardo Wurmus wrote: > > Thorsten Wilms writes: > >> Initially I thought creation of /tmp/.X11-unix should be tied to the >> xorg-server-xwayland package, but since it is more generic: which >> component should create that dir on Guix SD (based on what)? > > It is needed at run-time (because packages cannot create files outside > of their store prefix at build time), so it should be created by a > system service. A service is not the same as a shepherd service; we > also have activation services that run once and only create a file or a > directory. After 2 to 3 hours of research, going through documentation and various .scm, I still don't even manage to write a service for my system configuration that just does a (mkdir-p "/tmp/.X11-uni"), so figuring out how to make that dependent on the actual need is way outside my capabilities. Should I file a bug, and if so, against what? -- Thorsten Wilms thorwil's design for free software: http://thorwil.wordpress.com/