GNU bug report logs -
#77637
[PATCH] services: qemu-binfmt: Add requirement.
Previous Next
To reply to this bug, email your comments to 77637 AT debbugs.gnu.org.
There is no need to reopen the bug first.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#77637
; Package
guix-patches
.
(Tue, 08 Apr 2025 12:13:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Nigko Yerden <nigko.yerden <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Tue, 08 Apr 2025 12:13:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/services/virtualization.scm (qemu-binfmt-shepherd-services)
[requirement]: Add file-system-/gnu/store.
qemu-binfmt service write references to the store to
/proc/sys/fs/binfmt_misc/qemu-[architecture] files, therefore
/gnu/store needs to be mounted during the lifetime of the service
instance. If /gnu/store does not remain mounted, the issues
discussed by nigko and Rutherther on IRC are arisen:
https://logs.guix.gnu.org/guix/2025-04-05.log
https://logs.guix.gnu.org/guix/2025-04-08.log
Change-Id: I7e7a42a5ba0e39aa58c997739898f3457dd793a9
---
gnu/services/virtualization.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/services/virtualization.scm b/gnu/services/virtualization.scm
index 45f3876675..0836fe7d45 100644
--- a/gnu/services/virtualization.scm
+++ b/gnu/services/virtualization.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2023 Efraim Flashner <efraim <at> flashner.co.il>
;;; Copyright © 2024 Raven Hallsby <karl <at> hallsby.com>
;;; Copyright © 2025 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
+;;; Copyright © 2025 Nigko Yerden <nigko.yerden <at> gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -999,7 +1000,8 @@ (define qemu-binfmt-shepherd-services
(list (shepherd-service
(provision '(qemu-binfmt))
(documentation "Install binfmt_misc handlers for QEMU.")
- (requirement '(file-system-/proc/sys/fs/binfmt_misc))
+ (requirement '(file-system-/proc/sys/fs/binfmt_misc
+ file-system-/gnu/store))
(start #~(lambda ()
;; Register the handlers for all of PLATFORMS.
(for-each (lambda (str)
base-commit: c9524b5841a057b5e64abf0dca75261e741949c5
--
2.49.0
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Tue, 08 Apr 2025 15:30:09 GMT)
Full text and
rfc822 format available.
Notification sent
to
Nigko Yerden <nigko.yerden <at> gmail.com>
:
bug acknowledged by developer.
(Tue, 08 Apr 2025 15:30:10 GMT)
Full text and
rfc822 format available.
Message #10 received at 77637-done <at> debbugs.gnu.org (full text, mbox):
Nigko Yerden <nigko.yerden <at> gmail.com> skribis:
> * gnu/services/virtualization.scm (qemu-binfmt-shepherd-services)
> [requirement]: Add file-system-/gnu/store.
>
> qemu-binfmt service write references to the store to
> /proc/sys/fs/binfmt_misc/qemu-[architecture] files, therefore
> /gnu/store needs to be mounted during the lifetime of the service
> instance. If /gnu/store does not remain mounted, the issues
> discussed by nigko and Rutherther on IRC are arisen:
>
> https://logs.guix.gnu.org/guix/2025-04-05.log
> https://logs.guix.gnu.org/guix/2025-04-08.log
>
> Change-Id: I7e7a42a5ba0e39aa58c997739898f3457dd793a9
Applied, thanks!
This bug report was last modified 4 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.