guix/gnu
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
..
bootloader
build activation: Fix ‘mkdir-p/perms’ on the Hurd. 2025-04-23 12:25:45 +02:00
home
installer
machine machine: hetzner: Allow attaching existing public IPs. 2025-04-21 23:55:50 +02:00
packages gnu: Add megapixels. 2025-04-23 17:27:42 +09:00
services services: pounce: New service. 2025-04-22 11:35:24 +09:00
system services: account: Create /var/guix/profiles/per-user/$USER. 2025-04-20 18:50:51 +02:00
tests tests: Fix failing 'guix-system-tests' derivation during 'guix pull'. 2025-04-22 14:09:40 +09:00
artwork.scm
bootloader.scm
ci.scm
compression.scm
home.scm
image.scm
installer.scm
local.mk gnu: jamesdsp: Fix build. 2025-04-23 14:27:01 +09:00
machine.scm
packages.scm
services.scm
system.scm
tests.scm