Opened 11 years ago

Closed 9 years ago

#819 closed defect (fixed)

IZ3283: -builtin- job startup method inherits $TERM from the execd and wrong owner of tty file

Reported by: reuti Owned by:
Priority: normal Milestone:
Component: sge Version: 6.2u5
Severity: minor Keywords: clients


[Imported from gridengine issuezilla]

        Issue #:      3283             Platform:     All      Reporter: reuti (reuti)
       Component:     gridengine          OS:        All
     Subcomponent:    clients          Version:      6.2u5       CC:    None defined
        Status:       NEW              Priority:     P3
      Resolution:                     Issue type:    DEFECT
                                   Target milestone: ---
      Assigned to:    roland (roland)
      QA Contact:     roland
       * Summary:     -builtin- job startup method inherits $TERM from the execd and wrong owner of tty file
   Status whiteboard:

     Issue 3283 blocks:
   Votes for issue 3283:

   Opened: Wed Sep 29 03:11:00 -0700 2010 

Using the -builtin- job startup for an interactive login, the set $TERM inside this session is not the one from the connected terminal, but
inherited from the sgeexecd, and reflects the one which was used to start the sgeexed. This can lead to "dumb" on RedHat system, or "linux"
for openSUSE when the daemons are simply started on a node in a cluster without any monitor connected. Some of these don't allow `vi` or
`less` to work as expected (with "linux" it seems working though). It should instead reflect the type of terminal which the user is actually
using. The workaround is to hardcode a value in /etc/profile or similar file for it.

Furthermore the protection of the generated /dev/pts/1 or similar file shows that it's owned by root, but it should be owned by the starting

Change History (1)

comment:1 Changed 9 years ago by dlove

  • Resolution set to fixed
  • Severity set to minor
  • Status changed from new to closed

Fixed by [4227] and some other for TERM

Note: See TracTickets for help on using tickets.