Bug 1314389

Summary: "Init Processes" doesn't list symlinked services
Product: Red Hat CloudForms Management Engine Reporter: John Prause <jprause>
Component: SmartState AnalysisAssignee: Rich Oliveri <roliveri>
Status: CLOSED ERRATA QA Contact: Ramesh A <rananda>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.5.0CC: cpelland, dajohnso, hsong, jhardy, mfeifer, obarenbo, vrutkovs
Target Milestone: GAKeywords: ZStream
Target Release: 5.5.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:smartstate
Fixed In Version: 5.5.3.2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1312971 Environment:
Last Closed: 2016-04-13 18:45:31 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:
Bug Depends On: 1312971    
Bug Blocks:    

Description John Prause 2016-03-03 13:40:19 UTC
+++ This bug was initially created as a clone of Bug #1312971 +++

Description of problem:
"Init processes" doesn't list some services after SSA is performed on the instance

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

How reproducible:
Always

Steps to Reproduce:
1. Prepare the appliance for fleecing (smartstate role, vddk etc.)
2. Spin up any fedora-based VM (I used F22)
3. Compare 'Init Processes' list with systemctl output on the VM

Actual results:
Init Processes doesn't list services which are put in /usr/lib/systemd/system via symlinking, e.g. dracut-* and dbus-* services are not listed, while those are present in 'systemctl list-unit-files --type service' output:

# ls -la /usr/lib/systemd/system/dracut-cmdline.service 
lrwxrwxrwx. 1 root root 55 Jun 16  2015 /usr/lib/systemd/system/dracut-cmdline.service -> ../../dracut/modules.d/98systemd/dracut-cmdline.service

Expected results:
All services which can be started are listed

Additional info:

Comment 3 Ramesh A 2016-04-01 09:26:39 UTC
Good to go.  Verified and working fine in 5.5.3.2.20160318152106_92d2d67

Now CFME displays all the services listed in 'systemctl list-unit-files --type service' output.

Comment 5 errata-xmlrpc 2016-04-13 18:45:31 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, 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/RHBA-2016:0616