Bug 1819319

Summary: frr fails to start start if the initscripts package is missing
Product: Red Hat Enterprise Linux 8 Reporter: James Oakley <james.oakley>
Component: frrAssignee: Michal Ruprich <mruprich>
Status: CLOSED ERRATA QA Contact: Daniel Rusek <drusek>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.1CC: drusek, psklenar, thozza
Target Milestone: rcKeywords: EasyFix, Triaged
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: frr-7.0-8.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-04 02:28:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description James Oakley 2020-03-31 16:59:26 UTC
Description of problem:

frr fails to start if the initscripts package is missing::

# systemctl status frr
● frr.service - FRRouting (FRR)
   Loaded: loaded (/usr/lib/systemd/system/frr.service; enabled; vendor preset: disabled)
   Active: inactive (dead) since Tue 2020-03-31 16:34:28 UTC; 17min ago
  Process: 46 ExecStop=/usr/lib/frr/frr stop (code=exited, status=0/SUCCESS)
  Process: 28 ExecStart=/usr/lib/frr/frr start (code=exited, status=0/SUCCESS)

Mar 31 16:34:28 1c8581785726 systemd[1]: Starting FRRouting (FRR)...
Mar 31 16:34:28 1c8581785726 frr[28]: /usr/lib/frr/frr: line 40: /etc/init.d/functions: No such file or directory
Mar 31 16:34:28 1c8581785726 frr[28]: Starting FRRouting daemons (prio:10):
Mar 31 16:34:28 1c8581785726 frr[46]: /usr/lib/frr/frr: line 40: /etc/init.d/functions: No such file or directory
Mar 31 16:34:28 1c8581785726 frr[46]: Stopping FRRouting monitor daemon:
Mar 31 16:34:28 1c8581785726 frr[46]: Stopping FRRouting daemons (prio:0):
Mar 31 16:34:28 1c8581785726 frr[46]: Stopping other FRRouting daemons
Mar 31 16:34:28 1c8581785726 frr[46]: Removing remaining .vty files
Mar 31 16:34:28 1c8581785726 frr[46]: Removing all routes made by zebra.
Mar 31 16:34:28 1c8581785726 systemd[1]: Started FRRouting (FRR).

Version-Release number of selected component (if applicable):

frr-7.0-5.el8

How reproducible:

Always

Steps to Reproduce:
1. Install frr in RHEL8 instance without the initscripts package installed. In this case it was a docker container based on registry.redhat.io/ubi8-init
2. Ensure "zebra=yes" in /etc/frr/daemons
3. systemctl enable --now frr 
4. systemctl status frr

Actual results:

FRR fails to start due to error:

/usr/lib/frr/frr: line 40: /etc/init.d/functions: No such file or directory

Expected results:

FRR starts

Comment 8 errata-xmlrpc 2020-11-04 02:28:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: frr security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:4619