unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#58640: Garbage collector ('gc') deletes valid user roots when $HOME is inaccessible
@ 2022-10-19 17:14 Felix Lechner via Bug reports for GNU Guix
  2022-10-20 11:41 ` Liliana Marie Prikler
  2022-10-21  7:30 ` Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Felix Lechner via Bug reports for GNU Guix @ 2022-10-19 17:14 UTC (permalink / raw)
  To: 58640

Hi,

The Guix garbage collector ('gc') deletes valid user roots when those
links are not resolvable via the user's home folder in places such as

    ~/.cache/guix/profiles/

which potentially leaves the user without a working profile.

Home folders are not always accessible to the root user, and may
therefore also not be accessible to the Guix daemon.  In some
networked setups, for example, home folders can be automounted.

In my particular case, the home folder was inaccessible due to my
encrypted filesystem's security policies, which are enforced by FUSE
when using gocryptfs. [1]

The FUSE feature can be turned off [2] and Gocryptfs can 'allow_other'
[3] but that is a large concession and may not solve the daemon's
alleged (mis-)behavior in the general case.

Thank you for reading!

Kind regards
Felix Lechner

[1] https://nuetzlich.net/gocryptfs/
[2] https://unix.stackexchange.com/a/17423
[3] https://manpages.debian.org/bullseye/gocryptfs/gocryptfs.1.en.html




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-10-21  8:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-19 17:14 bug#58640: Garbage collector ('gc') deletes valid user roots when $HOME is inaccessible Felix Lechner via Bug reports for GNU Guix
2022-10-20 11:41 ` Liliana Marie Prikler
2022-10-21  7:30 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).