Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
D
darshan
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 72
    • Issues 72
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 6
    • Merge Requests 6
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • darshan
  • darshan
  • Issues
  • #221

Closed
Open
Opened Jan 23, 2017 by Shane Snyder@ssnyder
  • Report abuse
  • New issue
Report abuse New issue

darshan randomly fails to detect username on mira/cetus

This ticket was split off from issue #201 (closed) so that we could troubleshoot and track the issue separately for Mira/Cetus at the ALCF. See the original ticket for more details.

In summary, Darshan is randomly failing to detect the username associated with a job on these systems and instead generates a log file with the user's EUID for certain jobs. This issue occurs with both 2.x and 3.x versions of Darshan. Darshan has attempted to determine what the username is using the following 3 methods, in order:

1.) cuserid()

2.) getenv("LOGNAME")

3.) geteuid() (which returns the numeric euid of a user rather than the string user name)

We have confirmed that getenv("LOGNAME") never succeeds on Mira/Cetus, so if cuserid() fails sporadically, it will fall back to using EUIDs causing the issue. We need to determine what is causing cuserid() to fail and if there is any workaround. If not, we should look into whether or not there is another environment variable we can query for the user's username.

Assignee
Assign to
triage-bugs
Milestone
triage-bugs
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: darshan/darshan#221