Hi,

Fredrik Salomonsson <platt...@posteo.net> writes:

[...]

> ---✂----------------------------------------------------------------------------
> …
> shepherd: Evaluating user expression (and (defined? (quote transient?)) (map 
> (# ?) ?)).
> guix system: warning: exception caught while executing 'start' on service 
> 'file-system-/media/Valhalla':
> In procedure mount: mount "fafner:/srv/nfs4/Valhalla" on "///media/Valhalla": 
> Invalid argument
> guix system: warning: some services could not be upgraded
> …
> --------------------------------------------------------------------------------
>
> So that's probably what's happening during boot.
>
> I have no idea how it transforms the mount-point from "/media/Valhalla"
> to "///media/Valhalla" and if that's a red herring.
>
> Any ideas what I'm doing wrong?

Nothing; mounting an NFS file system at boot is not supported currently
with Guix System; see the related issue #47706.

My current ugly workaround is to define the mount points with "(mount?
#f)" and mount them via a script post boot, e.g.:

--8<---------------cut here---------------start------------->8---
(file-system
  (device "jami-buildmachine-04:/srv/nfs/jami")
  (mount-point "/var/cache/jami")
  (create-mount-point? #t)
  (type "nfs")
  (mount? #f)
  (options "soft,user"))
--8<---------------cut here---------------end--------------->8---

-- 
Thanks,
Maxim

Reply via email to