Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 154587 - SetConfig unexpectedly asserts "AC configured for security", and ChkPass not shipped
Summary: SetConfig unexpectedly asserts "AC configured for security", and ChkPass not ...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Randy D. Smith CLA
QA Contact:
URL:
Whiteboard: closed460
Keywords:
: 156179 (view as bug list)
Depends on:
Blocks: 125103
  Show dependency tree
 
Reported: 2006-08-21 14:22 EDT by Randy D. Smith CLA
Modified: 2016-05-05 11:00 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Randy D. Smith CLA 2006-08-21 14:22:34 EDT
Just downloaded the agentctrl.linux_ia32-TPTP-4.3.0, unzipped, set LD_LIBRARY_PATH, edited agents/*/agent.xml files, and ran SetConfig. After accepting default for "Security enabled" (FALSE), at the end SetConfig asserts that:
"Agent Controller has been configured for security.", asks for the root password, then objects that chown & chmod fail: "cannot access `ChkPass': No such file or directory". I confirm that the security directory only has generateKey.bat and generateKey.sh if that is where they are supposed to go.

I've not tested this on Windows yet.

(Serviceconfig.xml does properly show "SecurityEnabled" as "false" so that it is taking the default correctly.)
Comment 1 Karla Callaghan CLA 2006-08-23 18:56:53 EDT
Need this fixed before we begin to replace 4.3 RAC with AC for Linux 32 on the download site and request wider testing.

Targetting 4.3 i2 - but need it sooner rather than later in that time frame.
Comment 2 Randy D. Smith CLA 2006-08-31 20:16:05 EDT
I need to change src-native/collection/packaging/bin/SetConfig.sh to say

RAC_SECURED=`grep -c '<Security ' ../config/serviceconfig.xml` #### NOTE THE *SPACE* after Security!!
AC_SECURED=`grep -c '<SecurityEnabled>true' ../config/serviceconfig.xml`
SECURED=`expr $RAC_SECURED + $AC_SECURED`

instead of the single check for '<Security' (without the space) that works for the RAC but not for us in "new tech AC"-land.
Comment 3 Randy D. Smith CLA 2006-09-01 14:09:19 EDT
I've tested both ways (security enabled and not) on both (AC and RAC) and this appears to work perfectly. Just waiting for Samson to confirm he sees no problem before checking in.
Comment 4 Karla Callaghan CLA 2006-09-05 20:15:23 EDT
*** Bug 156179 has been marked as a duplicate of this bug. ***
Comment 5 Randy D. Smith CLA 2006-09-06 13:56:58 EDT
Checked in change after some review by Karla.
Comment 6 Paul Slauenwhite CLA 2009-06-30 12:03:54 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.