gravitational / teleport

The easiest, and most secure way to access and protect all of your infrastructure.
https://goteleport.com
GNU Affero General Public License v3.0
17.41k stars 1.74k forks source link

RPM/DEB Packages incorrectly installing binaries to /usr/local/bin #42130

Closed gardar closed 3 months ago

gardar commented 4 months ago

Expected behavior:

Teleport binaries should be installed to /usr/bin as per the Linux Filesystem Hierarchy Standard (FHS).

Current behavior: Teleport binaries are currently being installed to /usr/local/bin, which is intended for manually installed software, not for package-managed software.

Bug details:

Description:

Hi.

I noticed the RPM and DEB packages for Gravitational Teleport install binaries to /usr/local/bin. According to the Linux Filesystem Hierarchy Standard (FHS), package-managed software should go to /usr/bin instead.

The FHS specifies that /usr/local is for manually installed software, not for packages managed by a package manager. Installing to /usr/local/bin can cause conflicts with manually installed software.

Suggestion: Could you update the packages to install binaries in /usr/bin? This would align with FHS and prevent potential conflicts.

zmb3 commented 3 months ago

After consideration, we've decided that we won't be addressing this issue.

While we agree that using /usr/bin for the deb/rpm packages is more correct per the FHS standard, we believe that our customers care more about not having their deployments breaking than conforming to FHS. Teleport packages have been installed to /usr/local/bin for years and the risk of breaking an existing setup is too great to justify.