GNU bug report logs -
#73494
[PATCH 0/2] tmpfs /run.
Previous Next
Full log
View this message in rfc822 format
Hi Ludovic,
Ludovic Courtès <ludo <at> gnu.org> writes:
[...]
>> @@ -662,17 +667,17 @@ (define (cleanup-gexp _)
>> "/lib/locale"))
>> (setlocale LC_CTYPE "en_US.utf8")
>> (delete-file-recursively "/tmp")
>> - (delete-file-recursively "/var/run")
>> - (delete-file-recursively "/run")
>>
>> ;; Note: The second argument to 'mkdir' is and'ed with umask,
>> ;; hence the 'chmod' calls.
>> (mkdir "/tmp" #o1777)
>> (chmod "/tmp" #o1777)
>> - (mkdir "/var/run" #o755)
>> - (chmod "/var/run" #o755)
>> - (mkdir "/run" #o755)
>> - (chmod "/var/run" #o755))))))
>> +
>> + ;; XXX: It'd be cleaner if we could simply register
>> + ;; %runtime-variable-data/bind-mount in %base-file-systems, that
>> + ;; fails with: 'statfs-raw: No such file or directory' when
>> + ;; checking for "/run".
>> + (mount-file-system %runtime-variable-data/bind-mount #:root "/"))))))
>
> Could you try to get a backtrace or something?
>
> ‘statfs-raw’ is the C primitive used by the statically-linked Guile in
> the initrd, so before shepherd is spawned. Normally, upon error, you
> get a Guile prompt where you can type “,bt” for a backtrace.
I think perhaps it could be because the file-system 'dependencies' field
is not honored in the early boot? /run mount be mounted as tmpfs before
we can bind mount /var/run to it.
I'm not sure though, so I'll have to try what you suggest.
--
Thanks,
Maxim
This bug report was last modified 34 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.