guix system won't open config files in tmpfs

  • Open
  • quality assurance status badge
Details
2 participants
  • rendaw
  • Tobias Geerinckx-Rice
Owner
unassigned
Submitted by
rendaw
Severity
normal
R
R
rendaw wrote on 14 Apr 2019 10:52
(address . submit@debbugs.gnu.org)
dc6931b4-7532-04e3-32e7-3a9c15084abb@s.rendaw.me
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
T
T
Tobias Geerinckx-Rice wrote on 14 Apr 2019 23:22
(address . 35268@debbugs.gnu.org)
87h8b09taf.fsf@nckx
rendaw,

What kind of environment are you in? The Guix 0.16.0 live
installer image? Something else?

rendaw wrote:
Toggle quote (2 lines)
> I think there's two issues here:

[...]

Toggle quote (2 lines)
> 2. The error message is misleading

Too early to proclaim that. It could be a namespace issue, for
example.

Kind regards,

T G-R
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXLOkeAAKCRANsP+IT1Vt
eXMuAP90CziXNCfziIbxbsWnD2PN4//Vk7yk9eW/EzcIPQ3azAD+LJz/OCniZnh5
QJRQa5MgiaQPEI7kV8k+uxYedX/Hhwc=
=lkDe
-----END PGP SIGNATURE-----

?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 35268@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 35268
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch