guix/gnu/build
Ludovic Courtès 27e62d4481
activation: Fix ‘mkdir-p/perms’ on the Hurd.
Fixes <https://issues.guix.gnu.org/77992>.

Fixes a bug whereby ‘mkdir-p/perms’ would throw an exception on the
Hurd:

  In gnu/build/activation.scm:
      97:20  1 (mkdir-p/perms _ #("ludo" "x" 1000 998 "Ludovic…" …) …)
  In unknown file:
	     0 (open "." 7340032 #<undefined>)

  ERROR: In procedure open:
  In procedure scm_fdes_to_port: requested file mode not available on fdes

This, in turn, would cause ‘user-homes’ to fail to start on the Hurd
since commit da741d8931.

* gnu/build/activation.scm (mkdir-p/perms): Add O_RDONLY to ‘open-flags’.

Reported-by: Yelninei <yelninei@tutamail.com>
Change-Id: I74f90599338772ba4341067215b864273aa30b3e
2025-04-23 12:25:45 +02:00
..
accounts.scm accounts: Add /etc/subid and /etc/subgid allocation logic. 2024-12-18 18:32:40 +01:00
activation.scm activation: Fix ‘mkdir-p/perms’ on the Hurd. 2025-04-23 12:25:45 +02:00
bootloader.scm build: bootloader: Add riscv64 case. 2025-04-08 14:58:19 +08:00
chromium-extension.scm
cross-toolchain.scm
dbus-service.scm build: dbus-service: Quote body argument in 'with-retries' syntax. 2025-04-14 10:34:52 +09:00
file-systems.scm bootloader: grub: Remove hardcoded partition number for the Hurd. 2024-11-11 07:28:33 +01:00
hurd-boot.scm hurd-boot: Support second boot. 2024-11-11 07:28:33 +01:00
icecat-extension.scm
image.scm image: Add support for btrfs. 2024-10-14 14:08:43 +02:00
install.scm
jami-service.scm
linux-boot.scm
linux-container.scm linux-container: ‘unprivileged-user-namespace-supported?’ returns #f on non-Linux. 2025-03-26 17:57:44 +01:00
linux-initrd.scm
linux-modules.scm
locale.scm
marionette.scm build: marionette: Make it possible to reboot VM during tests. 2025-02-13 00:07:21 +09:00
secret-service.scm
shepherd.scm
svg.scm