| Summary: | grid_ca_sign error: "test: unknown operator ==" | ||
|---|---|---|---|
| Product: | Simple CA | Reporter: | Joel Schneider <jschneid@nmdp.org> |
| Component: | Simple CA | Assignee: | Raj Kettimuthu <kettimut@mcs.anl.gov> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bacon@mcs.anl.gov, blau@mcs.anl.gov, meder@mcs.anl.gov |
| Priority: | P3 | ||
| Version: | 4.0.3 | ||
| Target Milestone: | --- | ||
| Hardware: | Sun | ||
| OS: | Solaris | ||
Reassigning to SimpleCA, which is where grid_ca_sign lives.
Fix committed to trunk and 4_0 branch
Using the grid_ca_sign command from Globus Toolkit 4.0.3, under Solaris 9, when attempting to sign a certificate request that was previously signed by the CA, the attempt fails and grid_ca_sign outputs an error message saying "test: unknown operator ==". Here's a diff illustrating a one-character modification to grid_ca_sign that fixes the problem: 352c352 < if test -n "${force_sign}" || test "${expired}" == "0"; then --- > if test -n "${force_sign}" || test "${expired}" = "0"; then Please modify the grid_ca_sign script as shown above (change "==" to "=" on line 352), to fix this problem.