Red Hat Bugzilla – Bug 462662
SetAttribute does not check validity of attribute's name
Last modified: 2008-10-07 14:42:27 EDT
$ condor_qedit 1.0 A ABC
Set attribute "A".
$ condor_qedit 1.0 A.B ABC
Set attribute "A.B".
$ condor_qedit 1.0 A-B ABC
Set attribute "A-B".
$ condor_q -l | grep ABC
A = ABC
A.B = ABC
$ grep "ABC" spool/job_queue.log
103 1.0 A ABC
103 1.0 A.B ABC
103 1.0 A-B ABC
$ condor_qedit 1.0 A@B CBA
Set attribute "A@B".
$ condor_q -l | grep CBA
$ grep "CBA" spool/job_queue.log
103 1.0 A@B CBA
The functions used to set attributes do not check the validity of an attribute's name, but the functions to lookup, effectively, do.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.