From mboxrd@z Thu Jan 1 00:00:00 1970 From: rendaw <7e9wc56emjakcm@s.rendaw.me> Subject: bug#35268: guix system won't open config files in tmpfs Date: Sun, 14 Apr 2019 17:52:31 +0900 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:37411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFbya-0004BM-O9 for bug-guix@gnu.org; Sun, 14 Apr 2019 06:03:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hFbyZ-0003bp-QH for bug-guix@gnu.org; Sun, 14 Apr 2019 06:03:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46328) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hFbyZ-0003bb-Ig for bug-guix@gnu.org; Sun, 14 Apr 2019 06:03:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hFbyZ-0002qD-FB for bug-guix@gnu.org; Sun, 14 Apr 2019 06:03:03 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Language: en-US List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 35268@debbugs.gnu.org Package: guix Version: 0.16.0 As a workaround for the "guix system init -e" issue I'm creating a temporary file with the -e expression and passing it to guix like: ``` $ guix system init /tmp/tmpmf8u61uc.scm temp/mount ... guix system: error: failed to load '/tmp/tmpmf8u61uc.scm': No such file or directory ``` I also tried it with a relative path in case the absolute path was the issue, but no luck. The command works if I create the tmpfile in my current (ext4) directory. The permissions on the file are the same in both cases (user:rw only). /tmp is a tmpfs mount owned by user/group root and has full (ugo:rwx) access. I think there's two issues here: 1. For some reason files in tmpfs don't work 2. The error message is misleading