Bug#1012032: fontconfig: does not respect user configuration

Santanu shbisws at gmail.com
Sun May 29 06:26:18 BST 2022


Package: fontconfig
Version: 2.13.1-4.4
Severity: important
X-Debbugs-Cc: shbisws at gmail.com

fontconfig does not read user specific configuration files,
only ever `access(2)'es them (revealed by strace(1)) but
unlike system-wide configuration never `openat(2)'s them.

  $ strace fc-match monospace 2>&1 | grep '\.fonts\.conf'
  access("/home/sb/.fonts.conf.d", R_OK)  = 0
  access("/etc/fonts/~/.fonts.conf.d", R_OK) = -1 ENOENT (No such file or directory)
  access("/home/sb/.fonts.conf.d", R_OK)  = 0
  access("/etc/fonts/~/.fonts.conf.d", R_OK) = -1 ENOENT (No such file or directory)
  access("/home/sb/.fonts.conf", R_OK)    = -1 ENOENT (No such file or directory)
  access("/etc/fonts/~/.fonts.conf", R_OK) = -1 ENOENT (No such file or directory)
  access("/home/sb/.fonts.conf", R_OK)    = -1 ENOENT (No such file or directory)
  access("/etc/fonts/~/.fonts.conf", R_OK) = -1 ENOENT (No such file or directory)

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.17.0-1-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_IN.utf8, LC_CTYPE=en_IN.utf8 (charmap=UTF-8), LANGUAGE=en_IN:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages fontconfig depends on:
ii  fontconfig-config  2.13.1-4.4
ii  libc6              2.33-7
ii  libfontconfig1     2.13.1-4.4
ii  libfreetype6       2.12.1+dfsg-2

fontconfig recommends no packages.

fontconfig suggests no packages.

-- no debconf information



More information about the Pkg-freedesktop-maintainers mailing list