Project

General

Profile

Bug #2916

Freedom issue #2890: [octopi:]: various issues

[filesystem]: missing symlink /etc/os-release --> ../usr/lib/os-release

bill-auger - about 1 month ago - . Updated 26 days ago.

Status:
confirmed
Priority:
bug
Assignee:
-
% Done:

0%


Description

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

https://www.freedesktop.org/software/systemd/man/os-release.html

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

History

#1

Updated by bill-auger about 1 month ago

  • Parent task set to #2890
#2

Updated by oaken-source 26 days ago

there's an upstream bug report about this:
https://bugs.archlinux.org/task/64974

and a forum post probably by the same person:
https://bbs.archlinux.org/viewtopic.php?id=251724

the consensus there is

The last time the filesystem package owned /etc/os-release was in mid-2014.

and

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?

Also available in: Atom PDF