GNU bug report logs - #73547
Unable to run `guix pull` on Fedora (Asahi) due to SELinux violations

Previous Next

Package: guix;

Reported by: Pasta Pasta <pasta <at> dash.org>

Date: Sun, 29 Sep 2024 07:02:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Jitendra Nair <nair.jitendra <at> gmail.com>
To: 73547 <at> debbugs.gnu.org
Subject: bug#73547: error: remounting /gnu/store writable: Permission denied
Date: Sat, 22 Mar 2025 13:14:42 +0530
[Message part 1 (text/plain, inline)]
Hello,

This SO answer https://unix.stackexchange.com/a/788716/567807 helped me fix
the error!

# set /gnu/store to rewrite
mount -o remount,rw /gnu/store

# Modify the file 'guix-daemon.cil' to include the additions mentioned at
the SO page https://unix.stackexchange.com/a/788716/567807

# Next snippet gotten from 'guix-install.sh'
var_guix=/var/guix/profiles/per-user/root/current-guix
semodule -i "${var_guix}/share/selinux/guix-daemon.cil"
restorecon -R /gnu /var/guix

# After rebooting the system I was able to run the guix commands without
the error!

Thanks!
[Message part 2 (text/html, inline)]

This bug report was last modified 85 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.