Bug 803267

Summary: setup_pam_fs_limits.sh path is incorrect in libra service
Product: OKD Reporter: bzhao
Component: ContainersAssignee: Rob Millner <rmillner>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: abhgupta, mfisher, mpatel, rmillner
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-19 18:22:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description bzhao 2012-03-14 10:56:54 UTC
Description of problem:
It'll prompt error message "/usr/bin/setup_pam_fs_limits.sh: No such file or directory" when you execute /etc/init.d/libra restart

Version-Release number of selected component (if applicable):
rhc-0.88.4-1.el6_2.noarch

How reproducible:
Always

Steps to Reproduce:
Setup:
Have root access to instance
	
Actions:
1- check /var/lib/libra/.httpd.d/ via ssh as root
2- check if files in /etc/security/limits.d/ can be recreated
# rm 84-$uuid.conf
3- restart libra service
# /etc/init.d/libra restart
  
Actual results:
Terminal will output error message "/usr/bin/setup_pam_fs_limits.sh: No such file or directory"

Expected results:
service is completed without any error

Additional info:
workaround:
modify /etc/init.d/libra, about 138 line
remove /usr/bin/setup_pam_fs_limits.sh $uuid and add  /usr/libexec/stickshift/lib/express/setup_pam_fs_limits.sh $uuid

Comment 1 Rob Millner 2012-03-14 17:31:49 UTC
Fixed in commit a4c3071.

Comment 2 bzhao 2012-03-15 05:28:43 UTC
Passed verification on dev 1662