Freedom issue #2890: [octopi:]: various issues
[filesystem]: missing symlink /etc/os-release --> ../usr/lib/os-release
the 'filesystem' package no longer installs /etc/os-release; only /etc/parabola-release - parabola-release is an empty file, as is /etc/arch-release in arch - only /usr/lib/os-release contains the appropriate information; as it should, according to the manual - applications should check /usr/lib/os-release if /etc/os-release is not present, but many do not - /etc/os-release should be a relative symlink to ../usr/lib/os-release
this is causing some programs to misbehave - octopi for example, is presenting the archlinux news feed instead of parabola
$ ls -l /etc/os-release ls: cannot access '/etc/os-release': No such file or directory $ ls -l /etc/parabola-release -rw-r--r-- 1 root root 0 Sep 27 22:37 /etc/parabola-release $ cat /etc/parabola-release $ pkgfile -l nonsystemd/filesystem | grep os-release nonsystemd/filesystem /usr/lib/os-release $ pkgfile -l libre/filesystem | grep os-release libre/filesystem /usr/lib/os-release $ cat /usr/lib/os-release NAME="Parabola" PRETTY_NAME="Parabola GNU/Linux-libre" ID=parabola ID_LIKE=arch BUILD_ID=rolling ANSI_COLOR="1;35" HOME_URL="https://www.parabola.nu/" DOCUMENTATION_URL="https://wiki.parabola.nu/" SUPPORT_URL="irc://chat.freenode.net#parabola" BUG_REPORT_URL="https://labs.parabola.nu/" LOGO=parabola
Updated by oaken-source 26 days ago
there's an upstream bug report about this:
and a forum post probably by the same person:
the consensus there is
The last time the filesystem package owned /etc/os-release was in mid-2014.
The link does not belong to any package, it is created by systemd:
quoted excerpt from /usr/lib/tmpfiles.d/etc.conf:
$ cat /usr/lib/tmpfiles.d/etc.conf # [...] L /etc/os-release - - - - ../usr/lib/os-release
Is this problem maybe only occurring on openrc installations, where the tmpfiles.d handling might be defective?