Project

General

Profile

Feature #14707

Tell HTCondor not to use UTMP by making STARTD_HAS_BAD_UTMP true by default

Added by Marco Mambelli about 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
11/29/2016
Due date:
% Done:

0%

Estimated time:
Stakeholders:
Duration:

Description

Tell HTCondor not to use UTMP by making STARTD_HAS_BAD_UTMP true by default not to use the unreliable /var/run/utmp

This request comes form Edgar (and is supported by Brian B.)
He found that is difficult to have /var/run/utmp (or the who command) to produce something coherent inside containers or other OS like Suse. So the condor_startup fails badly with this error:

1/18/16 22:03:58 (pid:7548) dirscat: subdir = /scratch/sciteam/fajardoh/5772721.bw/5772721.bw.nid10492/glide_WzR6Oy/execute
11/18/16 22:03:58 (pid:7548) Looking at /scratch/sciteam/fajardoh/5772721.bw/5772721.bw.nid10492/glide_WzR6Oy/execute/
11/18/16 22:03:58 (pid:7548) Initializing Directory: curr_dir = /scratch/sciteam/fajardoh/5772721.bw/5772721.bw.nid10492/glide_WzR6Oy/execute/
11/18/16 22:03:58 (pid:7548) UidDomain = "nid10492" 
11/18/16 22:03:58 (pid:7548) FileSystemDomain = "nid10492" 
11/18/16 22:03:58 (pid:7548) Swap space: 66177660
11/18/16 22:03:58 (pid:7548) ERROR “fopen of "/var/run/utmp"" at line 273 in file /slots/01/dir_49270/userdir/src/condor_sysapi/idle_time.cpp

It looks like the use of the UTMP goes back then when condor was to be run on desktops which were also utilized with keyboards and mouses. And for real it does not bring anything to the table.
So Edgar proposes to make in the condor_config of the glideins by default:

STARTD_HAS_BAD_UTMP=True

http://research.cs.wisc.edu/htcondor/manual/v8.4/3_3Configuration.html#23031

History

#1 Updated by Marco Mambelli about 4 years ago

  • Status changed from New to Feedback
  • Assignee changed from Marco Mambelli to Parag Mhashilkar
  • Target version set to v3_2_17

Change in v3/14707
Checked with G. Thain (HTCondor team), this change would not add significant increase in the load.

#2 Updated by Parag Mhashilkar almost 4 years ago

  • Status changed from Feedback to Resolved
  • Assignee changed from Parag Mhashilkar to Marco Mambelli

Looks ok. Merged

#3 Updated by Parag Mhashilkar almost 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF