GRID-MAPFILE-CHECK(8)
π GRID-MAPFILE-CHECK(8) π
okay bestie, gather round, because we're talking about grid-mapfile-check-consistency β a lil program from the Grid Community Toolkit Manual that is literally the vibe-check bouncer for your gridmap file. it does not play. π«Ά
β¨ NAME β¨
grid-mapfile-check-consistency β Add an entry to a grid map file
ok so yes, the official one-liner says "add an entry," and no, it does not add an entry, it checks things. the manpage said it, so I'm saying it. we keep the lore. π
π SYNOPSIS π
grid-mapfile-check-consistency [ -h | -help | -usage | -version |
-versions ]
grid-mapfile-check-consistency [ -mapfile MAPFILE | -f MAPFILE ]
likeβ¦ it's giving "either you want the help/version tea, or you want to point me at a file." pick a lane, queen. π
πΈ DESCRIPTION πΈ
so what does this icon actually do? grid-mapfile-check-consistency runs the basic checks for validity of a gridmap file. and when I say basic checks, I mean:
- checks for existence (does the file even exist, bestie?)
- checks for duplication of entries (we do not do repeats in this house)
- checks for valid local user names (if your user isn't real, that's a problem)
if the gridmap file is valid, grid-mapfile-check-consistency exits with a zero exit code. if it's not valid, it exits with a non-zero exit code. either way β valid or messy β it displays information about its progress as it parses and validates the gridmap file. so you always get the play-by-play, never a silent treatment. π
now, the default file it picks? it goes down a lil priority list, and it's very main character about it:
- by default,
grid-mapfile-check-consistencywill check the gridmap file named by theGRIDMAPenvironment variable, if present. - if that variable is not set, it will check the file
$HOME/.gridmapfor non-root users, if present. - if that doesn't exist, or
grid-mapfile-check-consistencyis run as root, it will then check/etc/grid-security/grid-mapfile.
and yes, you can override all of that with the -mapfile or -f command-line options. your file, your rules. π¦
the full set of command-line options to grid-mapfile-check-consistency are:
-h,-help,-usageβ Display the command-line options togrid-mapfile-check-consistency. (the "help me help you" trio π₯Ί)-version,-versionsβ Display the version number of thegrid-mapfile-check-consistencycommand. (for when you gotta know which era we're in β)-mapfile MAPFILE,-f MAPFILEβ Check the gridmap file named by MAPFILE instead of the default. (the glow-up option β¨)
π EXAMPLES π
example one: check that the gridmap file in /etc/grid-security is valid:
% grid-mapfile-check-consistency* -f /etc/grid-security/grid-mapfile
Checking /etc/grid-security/grid-mapfile
Verifying grid mapfile existence...OK
Checking for duplicate entries...OK
Checking for valid user names...OK
look at all those OKs. immaculate. no notes. π₯
example two: check a gridmap file that has an invalid local user name:
grid-mapfile-check-consistency -f /etc/grid-security/grid-mapfile
Checking /etc/grid-security/grid-mapfile
Verifying grid mapfile existence...OK
Checking for duplicate entries...OK
ERROR: baduser is not a valid local username
ERROR: Found 1 invalid username(s)
and there it is. baduser got caught lacking. the ERROR: lines are right there, loud and proud, and it still tells you exactly how many invalid usernames it found. transparency queen. π
π§ ENVIRONMENT π§
the following environment variables affect the execution of grid-mapfile-check-consistency:
GRIDMAPβ Path to the gridmap to check.
π FILES π
the following files affect the execution of grid-mapfile-check-consistency:
$HOME/.gridmapβ Path to the default gridmap to check if theGRIDMAPenvironment variable is not set for non-root users./etc/grid-security/grid-mapfileβ Path to the default gridmap to check ifGRIDMAPenvironment variable is not set and the above file does not exist.
π SEE ALSO π
your homework, bestie, go read these too:
π AUTHOR π
Copyright Β© 1999-2016 University of Chicago
no cap, if the gridmap file is invalid, you're getting a non-zero exit code. that's not a vibe, that's a warning. handle it. π
okay that's the whole page, mwah π β this was Grid Community Toolkit 6, dated 03/31/2018, and it's been an absolute pleasure doing business with you. slay, stay validated, and may all your checks print OK. periodt. ππβ¨
π¦ where this page comes from
- debian bookworm: globus-gss-assist-progs 12.7-2 Β· Apache-2.0
- debian trixie: globus-gss-assist-progs 12.7-3 Β· Apache-2.0
- epel 10: globus-gss-assist-progs 12.7-4.el10_0 Β· Apache-2.0
- epel 9: globus-gss-assist-progs 12.7-1.el9 Β· ASL 2.0
- fedora 43: globus-gss-assist-progs 12.7-9.fc43 Β· Apache-2.0
- fedora 44: globus-gss-assist-progs 12.7-10.fc44 Β· Apache-2.0
- ubuntu jammy: globus-gss-assist-progs 12.6-1 Β· Apache-2.0
- ubuntu noble: globus-gss-assist-progs 12.7-3build1 Β· Apache-2.0
- ubuntu questing: globus-gss-assist-progs 12.7-3build1
- ubuntu resolute: globus-gss-assist-progs 12.7-3build2 Β· Apache-2.0
- ubuntu stonking: globus-gss-assist-progs 12.7-4 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms