Ticket 13272

Summary: seff enhancements
Product: Slurm Reporter: Ghepardo <ed.eyles>
Component: OtherAssignee: Jacob Jenson <jacob>
Status: RESOLVED INVALID QA Contact:
Severity: 6 - No support contract    
Priority: ---    
Version: 20.11.8   
Hardware: Linux   
OS: Linux   
Site: -Other- Alineos Sites: ---
Atos/Eviden Sites: --- Confidential Site: ---
Coreweave sites: --- Cray Sites: ---
DS9 clusters: --- HPCnow Sites: ---
HPE Sites: --- IBM Sites: ---
NOAA SIte: --- OCF Sites: ---
Recursion Pharma Sites: --- SFW Sites: ---
SNIC sites: --- Linux Distro: ---
Machine Name: CLE Version:
Version Fixed: Target Release: ---
DevPrio: --- Emory-Cloud Sites: ---
Attachments: Revised copy of script

Description Ghepardo 2022-01-27 04:50:46 MST
Created attachment 23165 [details]
Revised copy of script

Revised copy of script attached.  

1.  Commented out 'use lib' line: this will not work for many installations, where the Perl library path is different to the one assumed; and it is unnecessary for installations where the Slurmdb and Slurm Perl modules are installed in one of the default library paths (i.e. @INC).  

2.  Incremented version to 2.2.  

3.  Amended code that sets $group to cater for occasions where getgrgid returns nothing: this can happen, for example, in LDAP environments, where some GIDs might not relate to a known group name.  

(I tried to create a pull request for this on the GitHub site, but this does not seem to be allowed.)