Project

General

Profile

Bug #3799

Bug #3793: Better argument parsing in glidein scritps

glidecondor_upgrade attempts to perform an upgrade even with invalid arguments

Added by Anthony Tiradani over 6 years ago. Updated over 6 years ago.

Status:
New
Priority:
Normal
Category:
-
Target version:
Start date:
05/01/2013
Due date:
% Done:

0%

Estimated time:
First Occurred:
Occurs In:
Stakeholders:
Duration:

Description

running glidecondor_upgrade --help attempts an upgrade

History

#1 Updated by Igor Sfiligoi over 6 years ago

Hi Tony.

What exactly do you mean by "attempt to upgrade"?

That it temporarily moves the bin dirs somewhere else (but then recovers)?
Or something else?

And, is it only a problem in v3 or also in v2plus?

#2 Updated by Anthony Tiradani over 6 years ago

Hi Igor,

I mean that it treats "--help" as the condor path and attempts to perform the upgrade. I was saved from having to fix any problems only because I use privilege separation and I was not running as root. (Yes, I knew I wasn't root and that if I attempted to upgrade as any other user than root it would fail. I was merely trying to get the usage statement without having to dive into code.)

This is a problem for all versions.

#3 Updated by Igor Sfiligoi over 6 years ago

I looked at the code, and it should fail with an error message before touching anything on disk.

So, not sure what problem we are trying to solve here (just better error messages???)



Also available in: Atom PDF