GNU bug report logs -
#39551
Cannot declare an NFS mount using the <file-system> record
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#39551: Cannot declare an NFS mount using the <file-system> record
which was filed against the guix package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 39551 <at> debbugs.gnu.org.
--
39551: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=39551
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Giovanni Biscuolo <g <at> xelera.eu> writes:
> Hello,
>
> Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:
>
>> The attached patch fixes this issue
>
> [...]
>
>> diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm
>> index b0386a1392..26a1599a93 100644
>> --- a/guix/scripts/system.scm
>> +++ b/guix/scripts/system.scm
>> @@ -566,6 +566,8 @@ any, are available. Raise an error if they're not."
>> (and (file-system-mount? fs)
>> (not (member (file-system-type fs)
>> %pseudo-file-system-types))
>> + ;; Fixes issue #39551 (see: https://bugs.gnu.org/39551).
>> + (not (string-prefix? "nfs" (file-system-type fs)))
>> (not (memq 'bind-mount (file-system-flags fs)))))
>> file-systems))
>
> Please is it possible to also add nfs4 to this fix?
>
> Thanks! Gio'
Done with commit adbdf188c28c503a9c875b793bc88548d3cd702f. Please not
that booting with NFS still seems to be problematic, at least in my
experience. I had to use set mount? to #f and check? to #f as well in
the <file-system> record. I'll try to address these issues separately.
Maxim
[Message part 3 (message/rfc822, inline)]
When I try adding an NFS mount point to my Guix System, like:
--8<---------------cut here---------------start------------->8---
[...]
(file-system
(device "192.168.1.10:/mnt/scratch/")
(mount-point "/mnt/scratch/")
(type "nfs")
(options "rw,async,soft,noexec"))
[...]
--8<---------------cut here---------------end--------------->8---
Reconfiguring fails with the message:
error: device '192.168.1.10' not found: No such file or directory
hint: If '192.168.1.10' is a file system label, write
`(file-system-label "192.168.1.10")' in your `device' field.
So it doesn't appear to be possible to declare an NFS mount currently,
despite commit 0c85db79f7a8abc3bcdbf8931d959fe94306a5a1 that'd suggest
it should be possible.
Maxim
This bug report was last modified 5 years and 93 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.