Dico fails with "Read-only file system" message

  • Done
  • quality assurance status badge
Details
2 participants
  • Jorge P. de Morais Neto
  • Ludovic Courtès
Owner
unassigned
Submitted by
Jorge P. de Morais Neto
Severity
normal
J
J
Jorge P. de Morais Neto wrote on 9 Dec 2020 17:34
(address . bug-guix@gnu.org)
87k0tr0wge.fsf@disroot.org
Hi. Some time ago I was able to use Guix-installed dico on my Debian
buster system, but since some days ago it fails with

$ dico -tvvv puppy
dico: Error: Invalid reply from server
dico: Error: /home/jorge/.dico:1: Cannot connect to the server
dico: Error: Invalid reply from server
dico: Error: .dico:1: Cannot connect to the server
dico: Debug: Connecting to dict://localhost:2628
dico: Debug: S:idxgcide: Error: cannot create index file `/home/jorge/.guix-profile/share/gcide/GCIDE.IDX': Read-only file system
dico: Error: Invalid reply from server

The Emacs interface (dictionary package, installed from MELPA*) also
fails with the error message:
dictionary-check-initial-reply: Server returned: idxgcide: Error: cannot create index file `/home/jorge/.guix-profile/share/gcide/GCIDE.IDX': Read-only file system

This is probably caused by the gnu-store.mount Systemd service which I
recently enabled. However, enabling this service is recommended by the
manual (see [[info:guix#Binary Installation]]), so I believe this is a
bug.

Will you find a way to make Dico work on a read-only file system? In
the meantime, is it safe and secure for me to temporarily disable
gnu-store.mount as a workaround?

Regards

--
- If an email of mine arrives at your spam box, please notify me.
- Please adopt free/libre formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
- Free/libre software for Replicant, LineageOS and Android: https://f-droid.org
L
L
Ludovic Courtès wrote on 7 Aug 2023 11:45
(address . 45139-done@debbugs.gnu.org)
87pm3zw5hl.fsf@gnu.org
Hello,

Replying to an old bug…

"Jorge P. de Morais Neto" <jorge+list@disroot.org> skribis:

Toggle quote (12 lines)
> Hi. Some time ago I was able to use Guix-installed dico on my Debian
> buster system, but since some days ago it fails with
>
> $ dico -tvvv puppy
> dico: Error: Invalid reply from server
> dico: Error: /home/jorge/.dico:1: Cannot connect to the server
> dico: Error: Invalid reply from server
> dico: Error: .dico:1: Cannot connect to the server
> dico: Debug: Connecting to dict://localhost:2628
> dico: Debug: S:idxgcide: Error: cannot create index file `/home/jorge/.guix-profile/share/gcide/GCIDE.IDX': Read-only file system
> dico: Error: Invalid reply from server

On Guix System this does not happen because dicod is currently started
to write the index file to /var/run/dicod, which is writable for itself.

I guess the solution is to start dicod using the Guix System service or
the upcoming Guix Home service: https://issues.guix.gnu.org/65119.

Ludo’.
Closed
?