Opened 9 years ago

Closed 8 years ago

#1267 closed defect (invalid)

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
Cc:

Description (last modified by admin)

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=3283]

        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
          URL:
       * Summary:     -builtin- job startup method inherits $TERM from the execd and wrong owner of tty file
   Status whiteboard:
      Attachments:

     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
user:

http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=284334

Change History (1)

comment:1 Changed 8 years ago by admin

  • Description modified (diff)
  • Resolution set to invalid
  • Severity set to minor
  • Status changed from new to closed

Duplicate import

Note: See TracTickets for help on using tickets.