Put linux distro info in the startd's classad
Use lsb_release if available
Possible classad attributes
LSB_DISTRIBUTOR = `lsb_release -ds`
LSB_RELEASE = `lsb_release -rs`
If lsb_release is not available try to find it the hard way or default to UNKNOWN
#2 Updated by Parag Mhashilkar over 8 years ago
Agreed, it is better if it comes from Condor if they agree to it. Playing Devil's advocate, Condor release tarballs that are generic enough to run on different distros. This came from Burt as one of the requests from CMS. I think the idea is to give users as much information as possible related to the distro glidein is running on before matching it to jobs.
#6 Updated by Parag Mhashilkar over 8 years ago
- Status changed from Assigned to Reviewed
- Assignee changed from Parag Mhashilkar to Douglas Strain
lsb_release -ds should be LSB_DESCRIPTION it's not the distributor. As such LSB_DESCRIPTION has everything by itself but if we are adding LSB_RELEASE, we may also want to add LSB_DISTRIBUTOR_ID=`lsb_release -is`
Also, I connect recollect, but don't we need to make the changes to some other condor_config as well?
#8 Updated by Igor Sfiligoi over 8 years ago
I think we should drop this.
Condor now natively supports this.
See page 22 of Todd presentation at CondorWeek: