Bug 1830797 - frr uses /usr/lib/frr/ rather using /usr/libexec/frr/ or /usr/(s)bin/
Summary: frr uses /usr/lib/frr/ rather using /usr/libexec/frr/ or /usr/(s)bin/
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: frr
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Michal Ruprich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-03 22:37 UTC by Robert Scheck
Modified: 2020-06-18 07:38 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-18 07:38:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Robert Scheck 2020-05-03 22:37:20 UTC
Description of problem:
frr uses /usr/lib/frr/ rather using /usr/libexec/frr/ or /usr/(s)bin/, thus executable daemon binaries are ending up in /usr/lib/frr/ actually.

Version-Release number of selected component (if applicable):
frr-7.3-4.fc33

How reproducible:
See above.

Actual results:
Usage of /usr/lib/frr/ for daemon executables rather libraries.

Expected results:
Usage of /usr/libexec/frr/ for daemon executables (or /usr/(s)bin/).

Comment 1 Michal Ruprich 2020-06-16 13:01:53 UTC
Hi Robert,

I was sort-of following the upstream's idea about this location. When frr was still quagga, my previous maintainer packaged it so that each daemon would have its own unit file and could be started via systemd. Since then, frr developers reverted all of this and created a new initscript that would start up all of the daemons at once. I tried to argue with them that this was not a good idea but it led nowhere. Since all of the frr's processes are started via frrinit.sh, I don't see a problem with it being located in /usr/lib/frr together with all the other scripts and binaries. 

As for the libexec vs. lib directories, I don't really see much of an effective difference here.

Regards,
Michal

Comment 2 Michal Ruprich 2020-06-18 07:38:20 UTC
I am closing this as WONTFIX. If you feel that this should be addressed, feel free to re-open this bug and we can discuss this.


Note You need to log in before you can comment on or make changes to this bug.