Subject: bug#68627: Guix on Fedora overwrites dir file in /usr/local/share/info

From: Zachary D'Anthony <[email-masked]>
Date: Sat, 20 Jan 2024 15:39:35 -0700

Greetings,

I installed Guix on top of Fedora via binary installation with the
`guix-install.sh' shell script. I set SELinux to permissive mode,
rebooted, ran `guix pull', `guix package -u`, and installed three
packages:

- hello
- glibc-locales
- guile

Before installing Guix I compiled Emacs and installed various packages
via melpa as well as separate programs with dnf (Fedora's package
manager) that inlcude many info manuals in /usr/local/share/info. Before
the Guix installation, every manual in /usr/local/share/info was being
picked up and included in the `dir' file as expected. However, after
installing Guix it has placed several info manuals in various languages
in /usr/local/share/info and overwrote the dir file to include only Guix
info manuals, all symlinked to

/var/guix/profiles/per-user/root/current-guix/share/info.

I now have significantly less manuals inside emacs when I browse for
documentation via `M-x info'. Though I can open them with dired by
pressing `I' this is significantly less convenient.

I suspect this is either a bug or at the least undesired behavior from
my perspective.

Below is relevant information and attached is the directory listing of
/usr/local/share/info. If anything else is needed please let me know,
thank you.

========================================================================

Fedora version: 39
Guix version/commit: 4532eb6389e0602c1aac2e452bbc085f251658a3
Emacs version: 29.1

  /usr/local/share/info:
  drwxr-xr-x. 1 root root 4.1K Jan 17 23:15 .
  drwxr-xr-x. 1 root root  124 Jan  5 22:20 ..
  lrwxrwxrwx. 1 root root   63 Jan 17 23:15 images -> /var/guix/profiles/per-user/root/current-guix/share/info/images
  -rw-r--r--. 1 root root 284K Jan  2 02:31 asdf.info
  -rw-r--r--. 1 root root  54K Jan  2 01:42 auth.info
  -rw-r--r--. 1 root root  56K Jan  2 01:42 autotype.info
  -rw-r--r--. 1 root root  39K Jan  2 01:42 bovine.info
  -rw-r--r--. 1 root root 1.7M Jan  2 01:42 calc.info
  -rw-r--r--. 1 root root 341K Jan  2 01:42 ccmode.info
  -rw-r--r--. 1 root root 250K Jan  2 01:42 cl.info
  -rw-r--r--. 1 root root 113K Jan  2 01:42 dbus.info
  lrwxrwxrwx. 1 root root   60 Jan 17 23:15 dir -> /var/guix/profiles/per-user/root/current-guix/share/info/dir
  lrwxrwxrwx. 1 root root   63 Jan 17 23:15 dir.de -> /var/guix/profiles/per-user/root/current-guix/share/info/dir.de
  lrwxrwxrwx. 1 root root   63 Jan 17 23:15 dir.es -> /var/guix/profiles/per-user/root/current-guix/share/info/dir.es
  lrwxrwxrwx. 1 root root   63 Jan 17 23:15 dir.fr -> /var/guix/profiles/per-user/root/current-guix/share/info/dir.fr
  lrwxrwxrwx. 1 root root   63 Jan 17 23:15 dir.ko -> /var/guix/profiles/per-user/root/current-guix/share/info/dir.ko
  lrwxrwxrwx. 1 root root   63 Jan 17 23:15 dir.ru -> /var/guix/profiles/per-user/root/current-guix/share/info/dir.ru
  lrwxrwxrwx. 1 root root   63 Jan 17 23:15 dir.sk -> /var/guix/profiles/per-user/root/current-guix/share/info/dir.sk
  -rw-r--r--. 1 root root  60K Jan  2 01:42 dired-x.info
  lrwxrwxrwx. 1 root root   66 Jan 17 23:15 dir.pt_BR -> /var/guix/profiles/per-user/root/current-guix/share/info/dir.pt_BR
  lrwxrwxrwx. 1 root root   66 Jan 17 23:15 dir.zh_CN -> /var/guix/profiles/per-user/root/current-guix/share/info/dir.zh_CN
  -rw-r--r--. 1 root root  78K Jan  2 01:42 ebrowse.info
  -rw-r--r--. 1 root root 158K Jan  2 01:42 ede.info
  -rw-r--r--. 1 root root 153K Jan  2 01:42 ediff.info
  -rw-r--r--. 1 root root  63K Jan  2 01:42 edt.info
  -rw-r--r--. 1 root root 230K Jan  2 01:42 efaq.info
  -rw-r--r--. 1 root root  91K Jan  2 01:42 eglot.info
  -rw-r--r--. 1 root root 100K Jan  2 01:42 eieio.info
  -rw-r--r--. 1 root root 750K Jan  2 01:42 eintr.info
  -rw-r--r--. 1 root root 4.7M Jan  2 01:42 elisp.info
  -rw-r--r--. 1 root root 2.8M Jan  2 01:42 emacs.info
  -rw-r--r--. 1 root root  36K Jan  2 01:42 emacs-gnutls.info
  -rw-r--r--. 1 root root  99K Jan  2 01:42 emacs-mime.info
  -rw-r--r--. 1 root root  61K Jan  2 01:42 epa.info
  -rw-r--r--. 1 root root  84K Jan  2 01:42 erc.info
  -rw-r--r--. 1 root root  79K Jan  2 01:42 ert.info
  -rw-r--r--. 1 root root 125K Jan  2 01:42 eshell.info
  -rw-r--r--. 1 root root  87K Jan  2 01:42 eudc.info
  -rw-r--r--. 1 root root  48K Jan  2 01:42 eww.info
  -rw-r--r--. 1 root root  87K Jan  2 01:42 flymake.info
  -rw-r--r--. 1 root root  62K Jan  2 01:42 forms.info
  -rw-r--r--. 1 root root 1.5M Jan  2 01:42 gnus.info
  lrwxrwxrwx. 1 root root   77 Jan 17 23:15 gnutls-guile.info.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/gnutls-guile.info.gz
  lrwxrwxrwx. 1 root root   76 Jan 17 23:15 guile-avahi.info.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guile-avahi.info.gz
  lrwxrwxrwx. 1 root root   77 Jan 17 23:15 guile-gcrypt.info.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guile-gcrypt.info.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guile-git.info.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guile-git.info.gz
  lrwxrwxrwx. 1 root root   78 Jan 17 23:15 guile-library.info.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guile-library.info.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guile-ssh.info.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guile-ssh.info.gz
  lrwxrwxrwx. 1 root root   72 Jan 17 23:15 guix.de.info.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.de.info.gz
  lrwxrwxrwx. 1 root root   72 Jan 17 23:15 guix.es.info.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.es.info.gz
  lrwxrwxrwx. 1 root root   72 Jan 17 23:15 guix.fr.info.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.fr.info.gz
  lrwxrwxrwx. 1 root root   69 Jan 17 23:15 guix.info.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.info.gz
  lrwxrwxrwx. 1 root root   72 Jan 17 23:15 guix.ru.info.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.ru.info.gz
  lrwxrwxrwx. 1 root root   81 Jan 17 23:15 guix-cookbook.de.info.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix-cookbook.de.info.gz
  lrwxrwxrwx. 1 root root   81 Jan 17 23:15 guix-cookbook.fr.info.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix-cookbook.fr.info.gz
  lrwxrwxrwx. 1 root root   78 Jan 17 23:15 guix-cookbook.info.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix-cookbook.info.gz
  lrwxrwxrwx. 1 root root   81 Jan 17 23:15 guix-cookbook.ko.info.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix-cookbook.ko.info.gz
  lrwxrwxrwx. 1 root root   81 Jan 17 23:15 guix-cookbook.sk.info.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix-cookbook.sk.info.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guix.de.info-1.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.de.info-1.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guix.de.info-2.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.de.info-2.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guix.de.info-3.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.de.info-3.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guix.de.info-4.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.de.info-4.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guix.de.info-5.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.de.info-5.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guix.de.info-6.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.de.info-6.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guix.de.info-7.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.de.info-7.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guix.de.info-8.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.de.info-8.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guix.es.info-1.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.es.info-1.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guix.es.info-2.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.es.info-2.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guix.es.info-3.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.es.info-3.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guix.es.info-4.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.es.info-4.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guix.es.info-5.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.es.info-5.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guix.es.info-6.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.es.info-6.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guix.es.info-7.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.es.info-7.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guix.es.info-8.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.es.info-8.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guix.fr.info-1.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.fr.info-1.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guix.fr.info-2.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.fr.info-2.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guix.fr.info-3.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.fr.info-3.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guix.fr.info-4.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.fr.info-4.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guix.fr.info-5.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.fr.info-5.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guix.fr.info-6.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.fr.info-6.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guix.fr.info-7.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.fr.info-7.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guix.fr.info-8.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.fr.info-8.gz
  lrwxrwxrwx. 1 root root   71 Jan 17 23:15 guix.info-1.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.info-1.gz
  lrwxrwxrwx. 1 root root   71 Jan 17 23:15 guix.info-2.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.info-2.gz
  lrwxrwxrwx. 1 root root   71 Jan 17 23:15 guix.info-3.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.info-3.gz
  lrwxrwxrwx. 1 root root   71 Jan 17 23:15 guix.info-4.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.info-4.gz
  lrwxrwxrwx. 1 root root   71 Jan 17 23:15 guix.info-5.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.info-5.gz
  lrwxrwxrwx. 1 root root   71 Jan 17 23:15 guix.info-6.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.info-6.gz
  lrwxrwxrwx. 1 root root   71 Jan 17 23:15 guix.info-7.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.info-7.gz
  lrwxrwxrwx. 1 root root   75 Jan 17 23:15 guix.pt_BR.info.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.pt_BR.info.gz
  lrwxrwxrwx. 1 root root   77 Jan 17 23:15 guix.pt_BR.info-1.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.pt_BR.info-1.gz
  lrwxrwxrwx. 1 root root   77 Jan 17 23:15 guix.pt_BR.info-2.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.pt_BR.info-2.gz
  lrwxrwxrwx. 1 root root   77 Jan 17 23:15 guix.pt_BR.info-3.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.pt_BR.info-3.gz
  lrwxrwxrwx. 1 root root   77 Jan 17 23:15 guix.pt_BR.info-4.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.pt_BR.info-4.gz
  lrwxrwxrwx. 1 root root   77 Jan 17 23:15 guix.pt_BR.info-5.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.pt_BR.info-5.gz
  lrwxrwxrwx. 1 root root   77 Jan 17 23:15 guix.pt_BR.info-6.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.pt_BR.info-6.gz
  lrwxrwxrwx. 1 root root   77 Jan 17 23:15 guix.pt_BR.info-7.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.pt_BR.info-7.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guix.ru.info-1.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.ru.info-1.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guix.ru.info-2.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.ru.info-2.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guix.ru.info-3.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.ru.info-3.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guix.ru.info-4.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.ru.info-4.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guix.ru.info-5.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.ru.info-5.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guix.ru.info-6.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.ru.info-6.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guix.ru.info-7.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.ru.info-7.gz
  lrwxrwxrwx. 1 root root   74 Jan 17 23:15 guix.ru.info-8.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.ru.info-8.gz
  lrwxrwxrwx. 1 root root   75 Jan 17 23:15 guix.zh_CN.info.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.zh_CN.info.gz
  lrwxrwxrwx. 1 root root   77 Jan 17 23:15 guix.zh_CN.info-1.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.zh_CN.info-1.gz
  lrwxrwxrwx. 1 root root   77 Jan 17 23:15 guix.zh_CN.info-2.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.zh_CN.info-2.gz
  lrwxrwxrwx. 1 root root   77 Jan 17 23:15 guix.zh_CN.info-3.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.zh_CN.info-3.gz
  lrwxrwxrwx. 1 root root   77 Jan 17 23:15 guix.zh_CN.info-4.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.zh_CN.info-4.gz
  lrwxrwxrwx. 1 root root   77 Jan 17 23:15 guix.zh_CN.info-5.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.zh_CN.info-5.gz
  lrwxrwxrwx. 1 root root   77 Jan 17 23:15 guix.zh_CN.info-6.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.zh_CN.info-6.gz
  lrwxrwxrwx. 1 root root   77 Jan 17 23:15 guix.zh_CN.info-7.gz -> /var/guix/profiles/per-user/root/current-guix/share/info/guix.zh_CN.info-7.gz
  -rw-r--r--. 1 root root  72K Jan  2 01:42 htmlfontify.info
  -rw-r--r--. 1 root root 227K Jan  2 01:42 idlwave.info
  -rw-r--r--. 1 root root  52K Jan  2 01:42 ido.info
  -rw-r--r--. 1 root root  85K Jan  2 01:42 info.info
  -rw-r--r--. 1 root root  41K Jan  2 01:42 mairix-el.info
  -rw-r--r--. 1 root root 146K Jan  2 01:42 message.info
  -rw-r--r--. 1 root root 477K Jan  2 01:42 mh-e.info
  -rw-r--r--. 1 root root 296K Jan  2 01:42 modus-themes.info
  -rw-r--r--. 1 root root  49K Jan  2 01:42 newsticker.info
  -rw-r--r--. 1 root root  60K Jan  2 01:42 nxml-mode.info
  -rw-r--r--. 1 root root  45K Jan  2 01:42 octave-mode.info
  -rw-r--r--. 1 root root 1.1M Jan  2 01:42 org.info
  -rw-r--r--. 1 root root  90K Jan  2 01:42 pcl-cvs.info
  -rw-r--r--. 1 root root  48K Jan  2 01:42 pgg.info
  -rw-r--r--. 1 root root  76K Jan  2 01:42 rcirc.info
  -rw-r--r--. 1 root root 289K Jan  2 01:42 reftex.info
  -rw-r--r--. 1 root root  42K Jan  2 01:42 remember.info
  -rw-r--r--. 1 root root  35K Jan  2 01:42 sasl.info
  -rw-r--r--. 1 root root  28K Jan  2 02:31 sbcl.info
  -rw-r--r--. 1 root root 294K Jan  2 02:31 sbcl.info-1
  -rw-r--r--. 1 root root 287K Jan  2 02:31 sbcl.info-2
  -rw-r--r--. 1 root root 127K Jan  2 01:42 sc.info
  -rw-r--r--. 1 root root 105K Jan  2 01:42 semantic.info
  -rw-r--r--. 1 root root  81K Jan  2 01:42 ses.info
  -rw-r--r--. 1 root root  37K Jan  2 01:42 sieve.info
  -rw-r--r--. 1 root root  46K Jan  2 01:42 smtpmail.info
  -rw-r--r--. 1 root root  77K Jan  2 01:42 speedbar.info
  -rw-r--r--. 1 root root  88K Jan  2 01:42 srecode.info
  -rw-r--r--. 1 root root 267K Jan 13 21:37 stumpwm.info
  -rw-r--r--. 1 root root 110K Jan  2 01:42 todo-mode.info
  -rw-r--r--. 1 root root 250K Jan  2 01:42 tramp.info
  -rw-r--r--. 1 root root 156K Jan  2 01:42 transient.info
  -rw-r--r--. 1 root root  81K Jan  2 01:42 url.info
  -rw-r--r--. 1 root root 105K Jan  2 01:42 use-package.info
  -rw-r--r--. 1 root root  69K Jan  2 01:42 vhdl-mode.info
  -rw-r--r--. 1 root root 113K Jan  2 01:42 vip.info
  -rw-r--r--. 1 root root 246K Jan  2 01:42 viper.info
  -rw-r--r--. 1 root root  48K Jan  2 01:42 vtable.info
  -rw-r--r--. 1 root root  97K Jan  2 01:42 widget.info
  -rw-r--r--. 1 root root  92K Jan  2 01:42 wisent.info
  -rw-r--r--. 1 root root  86K Jan  2 01:42 woman.info