Bug 3711 - vsmserver tracebacks on error from tl-initgroups
Summary: vsmserver tracebacks on error from tl-initgroups
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: VSM Server (show other bugs)
Version: 3.1.2
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Peter Åstrand
Depends on:
Reported: 2011-01-11 11:02 CET by Aaron Sowry
Modified: 2017-06-07 10:51 CEST (History)
0 users

See Also:
Acceptance Criteria:


Description Aaron Sowry cendio 2011-01-11 11:02:47 CET
If tl-initgroups can't find the requested user, it outputs an error message. vsmserver expects a list of GIDs from this process, and tracebacks if it doesn't get one:

2011-01-10 17:23:51 ERROR vsmserver.extcmd: Unhandled exception getting list of groups for cendio: <type 'exceptions.ValueError'> invalid literal for int() with base 10: '' Traceback (most recent call last):
  File "/opt/thinlinc/modules/thinlinc/vsm/async.py", line 110, in oo0
    obj . handle_read_event ( fd )
  File "/opt/thinlinc/modules/thinlinc/vsm/extproc.py", line 312, in handle_read_event
    self . handle_close ( fd )
  File "/opt/thinlinc/modules/thinlinc/vsm/extproc.py", line 285, in handle_close
    self . handle_exit ( )
  File "/opt/thinlinc/modules/thinlinc/vsm/extproc.py", line 443, in handle_exit
    gidnumbers = [ int ( gidNumber ) for gidNumber in self . stdout_data . strip ( ) . split ( " " ) ]
ValueError: invalid literal for int() with base 10: ''
2011-01-10 17:23:51 WARNING vsmserver.extproc: ['/opt/thinlinc/libexec/tl-initgroups', u'cendio'] wrote to stderr: no such user: cendio

Note You need to log in before you can comment on or make changes to this bug.