Bug 3711 - vsmserver tracebacks on error from tl-initgroups
Summary: vsmserver tracebacks on error from tl-initgroups
Status: CLOSED FIXED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: VSM Server (show other bugs)
Version: 3.1.2
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.16.0
Assignee: Alexander Zeijlon
URL:
Keywords: prosaic
Depends on:
Blocks:
 
Reported: 2011-01-11 11:02 CET by Aaron Sowry
Modified: 2023-11-21 09:03 CET (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

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
Comment 1 Alexander Zeijlon cendio 2023-11-21 09:03:56 CET
This issue has been addressed and fixed in Bug 8232 comment 11.

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