summary refs log tree commit diff
path: root/gnu/system
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-02-25 10:58:20 +0100
committerLudovic Courtès <ludo@gnu.org>2021-02-25 11:29:35 +0100
commit412e4f081e9cdf38db9859e1548ef2362cde678e (patch)
tree5ee802f8aeaf611020697b67ee3229a19022a684 /gnu/system
parent120051e1b9358f75b228e97670843095d5fcdf49 (diff)
downloadguix-412e4f081e9cdf38db9859e1548ef2362cde678e.tar.gz
services: shepherd: Make /run/booted-system a symlink to the store item.
Fixes <https://bugs.gnu.org/46767>.

Previously /run/booted-system would end up referring to
/var/guix/profiles/system-NNN-link; consequently, the booted system
would not be GC-protected.

* gnu/services/shepherd.scm (shepherd-boot-gexp): Call
'canonicalize-path' instead of 'readlink'.
Diffstat (limited to 'gnu/system')
0 files changed, 0 insertions, 0 deletions