Re-running .postinstall keeps prepending currentDir indefinitely. Patch that fixes the issue: --- jboss-ews-2.1/httpd/.postinstall 2014-06-04 03:09:09.000000000 -0400 +++ jboss-ews-2.1/httpd/.postinstall 2014-06-09 10:12:20.574001111 -0400 @@ -45,7 +45,7 @@ #JBPAPP-9746 if [ -f 'conf.d/mod_snmp.conf' ]; then mkdir -p $currentDir/var/cache/mod_snmp - sed -i -e "s:/var/cache/mod_snmp:$currentDir/var/cache/mod_snmp:" conf.d/mod_snmp.conf + sed -i -e "s:SNMPVar /var/cache/mod_snmp:SNMPVar $currentDir/var/cache/mod_snmp:" conf.d/mod_snmp.conf fi #for mod_nss
Commited and pushed fix to rpm repo jboss-ews for branch jb-eap-6-rhel-6, jb-eap-6-rhel-7, and ep-6-rhel-5. Rebuild required for fix to apply.
(In reply to Dustin Kut Moy Cheung from comment #1) > Commited and pushed fix to rpm repo jboss-ews for branch jb-eap-6-rhel-6, > jb-eap-6-rhel-7, and ep-6-rhel-5. > > Rebuild required for fix to apply. Thanks for help Dustin! btw, jboss-ews el5 and el6 branches are merged, no need to work on ep-6-rhel-5 in the future :-)
Verified, THX.