Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
Any
-
3
-
17397
Description
If the --dry-run option is used, the syntax checking allows --hsm-root to be omitted, which implies that the HSM root won't been dereferenced if doing a dry run. This does not appear to be the case.
In particular, the command:
$ lhsmtool_posix --max-sequence --dry-run /lustre
will segfault. Other instances look like they will have the same problem.
The check in ct_parseopts() that reads:
if (!opt.o_dry_run && opt.o_hsm_root == NULL)
should simply remove the "!opt.dry_run &&" clause. All valid operations require that the hsm root be specified.
Attachments
Activity
Remote Link | Original: This issue links to "Page (HPDD Community Wiki)" [ 14721 ] |
Remote Link | Original: This issue links to "Page (HPDD Community Wiki)" [ 14622 ] |
Remote Link | Original: This issue links to "Page (HPDD Community Wiki)" [ 14622 ] | New: This issue links to "Page (HPDD Community Wiki)" [ 14622 ] |
Remote Link | New: This issue links to "Page (HPDD Community Wiki)" [ 14721 ] |
Remote Link | New: This issue links to "Page (HPDD Community Wiki)" [ 14622 ] |
Link | Original: This issue is related to LDEV-36 [ LDEV-36 ] |
Link | Original: This issue is related to LDEV-18 [ LDEV-18 ] |
Link | New: This issue is related to LDEV-19 [ LDEV-19 ] |
Link | Original: This issue is related to LDEV-14 [ LDEV-14 ] |
Link | New: This issue is related to LDEV-13 [ LDEV-13 ] |