From: "Ludovic Courtès" <ludo@gnu.org>
To: Matt Wette <matt.wette@gmail.com>
Cc: 66612@debbugs.gnu.org
Subject: bug#66612: guix locate guild results in sqlite3 attempt to write readonly database
Date: Wed, 18 Oct 2023 17:54:54 +0200 [thread overview]
Message-ID: <87wmvk53jl.fsf@gnu.org> (raw)
In-Reply-To: <e9e5c99b-6d81-4243-af18-8765d97b2155@gmail.com> (Matt Wette's message of "Wed, 18 Oct 2023 08:47:01 -0700")
Hi,
Matt Wette <matt.wette@gmail.com> skribis:
> `guix locate guild' fails with attempt to write a readonly sqlite3 database
>
> mwette@bluefin$ strace -o logx guix locate guild
> guix locate: indexing files from /gnu/store...
> guix locate: traversing local profile manifests...
The bug here is that it picked the system-wide database:
openat(AT_FDCWD, "/var/cache/guix/locate/db.sqlite", O_RDONLY|O_NOFOLLOW|O_CLOEXEC) = 14
but later decided that it was too old and that it needed to be
refreshed. But of course, that file is read-only for unprivileged
users.
There’s a bug in the file-choosing logic.
To be continued…
Ludo’.
next prev parent reply other threads:[~2023-10-18 16:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <19e4ed14-520c-4eec-9584-8a178733527c@gmail.com>
2023-10-18 15:47 ` bug#66612: guix locate guild results in sqlite3 attempt to write readonly database Matt Wette
2023-10-18 15:54 ` Ludovic Courtès [this message]
2023-10-18 21:13 ` Ludovic Courtès
2023-10-19 15:33 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wmvk53jl.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=66612@debbugs.gnu.org \
--cc=matt.wette@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.