https://bugs.documentfoundation.org/show_bug.cgi?id=89963
Bug ID: 89963
Summary: Libreoffice deb packages install stuff in /usr/local
hierarchy violating FHS and debian/ubuntu policy
Product: LibreOffice
Version: 4.4.0.3 release
Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
This bug is specific to the linux packaging of libreoffice, as delivered by
TDF.
Since version 4.4, libreoffice deb packages have started installing a
libreoffice4.4 link in /usr/local/bin.
Up to version 4.3, such link was installed in /usr/bin.
Having packages installing stuff in /usr/local is a violation of the linux
filesystem hierarchy standard (FHS), as well as the debian and ubuntu policy
documents. It is also against the unix tradition of having a /usr/local
hierarchy where the admin has the guarantee that no system functionality (e.g.
packaging) will make any automatic modification.
>From the FHS, sec 4.9.
The /usr/local hierarchy is for use by the system administrator when installing
software locally. It needs to be safe from being overwritten when the system
software is updated.
>From debian lintian
Debian lintian (package checker) has an explicit error condition for this, with
severity "Serious":
The package installs a file in /usr/local/... which is not allowed
>From debian policy Sec. 9.1.2
As mandated by the FHS, packages must not place any files in /usr/local, either
by putting them in the file system archive to be unpacked by dpkg or by
manipulating them in their maintainer scripts.
[...]
because /usr/local and its contents are for exclusive use of the local
administrator, a package must not rely on the presence or absence of files or
directories in /usr/local for normal operation
Is there any reason why in the 4.4 branch the choice to move the libreoffice4.4
link from /usr/bin to /usr/local/bin was made?
Can this change be reverted?
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs