[Libreoffice-bugs] [Bug 125718] New: Regression in debian packaging: from 6.2, libreoffice executable has been moved to /usr/local
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Jun 5 16:08:08 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=125718
Bug ID: 125718
Summary: Regression in debian packaging: from 6.2, libreoffice
executable has been moved to /usr/local
Product: LibreOffice
Version: 6.2.0.3 release
Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: sergio.callegari at gmail.com
Description:
Since LibO 6.2, LibO deb packages install the main libreoffice executable in
/usr/local/bin rather than in /usr/bin as LibO 6.1.x deb packages were doing.
This is a regression and a reopening of bug 89963 that had first been
introduced with the packaging of LibO 4.4 and then fixed (notwithstanding the
closing of that bug as invalid).
Packages to be installed by means of the OS package manager (either provided as
part of the OS distribution or externally) should not touch the local
hierarchy. That is for the system administrator to deal with autonomously with
no risk that any software installation/upgrade/removal done by system tools
touches it at all, changing what the administrator had done in unexpected ways.
Furthermore, on some systems /usr/local will be mounted read only or mounted
from the network (being shared with other hosts).
This is clarified in the debian and ubuntu policy documents. Section 9.1.2.
says:
"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"
and
"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"
The filesystem hierarchy standard Section 4.9 says:
"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. It may be used for programs and data that are
shareable amongst a group of hosts".
Please, build policy compliant deb files, to avoid breaking systems where:
- /usr/local is readonly
- /usr/local is shared among multiple hosts and local root cannot write it
- /usr/local/bin is used to contain custom wrappers to libreoffice because of
some local needs.
There should be no negative consequence of putting libreoffice6.2 in /usr/bin
given that the document foundation provided LibO debs will anyway need not to
be installed side-to-side or mixed-with the debian/ubununtu provided LibO debs.
The issue is also present with LibO 6.3.0 beta 1.
Steps to Reproduce:
See description
Actual Results:
See description
Expected Results:
See description
Reproducible: Always
User Profile Reset: No
Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: StartModule
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190605/b18f9ce9/attachment.html>
More information about the Libreoffice-bugs
mailing list