From mboxrd@z Thu Jan 1 00:00:00 1970 From: N Subject: Re: Wiping /tmp? Date: Sat, 20 Jul 2019 14:48:08 +0000 Message-ID: <20190720144808.eifws2m6hkqas7rw@uptimegirl> References: <878sst1zxe.fsf@dustycloud.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:33703) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hoqew-0000AF-U5 for help-guix@gnu.org; Sat, 20 Jul 2019 10:48:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hoqev-0007kv-0m for help-guix@gnu.org; Sat, 20 Jul 2019 10:48:26 -0400 Received: from aibo.runbox.com ([91.220.196.211]:54832) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hoqes-0007YD-UP for help-guix@gnu.org; Sat, 20 Jul 2019 10:48:24 -0400 Content-Disposition: inline In-Reply-To: <878sst1zxe.fsf@dustycloud.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Christopher Lemmer Webber Cc: "help-guix@gnu.org" Christopher Lemmer Webber transcribed 124 bytes: > I'm sure there's something obvious, but what does one put in one's guix > config so that /tmp is wiped by default on reboot? There used to be a bug where it doesn't get wiped. Or was the workaround/fix for this to simply not do it anymore? You could try and see how much of /etc/rc.d/cleartmp of NetBSD is applicable for you in a small shepherd service: http://cvsweb.netbsd.org/bsdweb.cgi/src/etc/rc.d/cleartmp?rev=1.13&content-type=text/x-cvsweb-markup&only_with_tag=MAIN By which I mean, see how early or how late you could run an equivalent chain of commands. This is what I would try when I'd setup GuixSD again somewhere. Hope it helps to some extent. N.