Bug 7677 - Traceback in vsmagent when it cannot run tl-session
Summary: Traceback in vsmagent when it cannot run tl-session
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: VSM Agent (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-08 13:53 CEST by Frida Flodin
Modified: 2024-04-16 13:23 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Frida Flodin cendio 2021-04-08 13:53:37 CEST
Did not manage to reproduce this, something might have been broken on my test machine. Nevertheless, we don't want tracebacks in the logs.

Got this on SUSE 12 with build 1995 when trying to create a new session session:

> 2021-04-08 13:23:03 INFO vsmagent: VSM Agent version 4.12.1post build 1995 started
> 2021-04-08 13:23:03 INFO vsmagent: My public hostname is 10.48.2.253
> 2021-04-08 13:23:24 ERROR vsmagent: Unhandled XMLRPC exception: <class 'OSError'> [Errno 8] Exec format error Traceback (most recent call last):
>   File "/opt/thinlinc/modules/thinlinc/vsm/asyncbase.py", line 105, in ooOOOoOO0
>     obj . handle_read_event ( )
>   File "/usr/lib64/python3.4/asyncore.py", line 442, in handle_read_event
>     self.handle_read()
>   File "/usr/lib64/python3.4/asynchat.py", line 151, in handle_read
>     self.found_terminator()
>   File "/opt/thinlinc/modules/thinlinc/vsm/xmlrpc.py", line 559, in found_terminator
>     self . handle_request ( )
>   File "/opt/thinlinc/modules/thinlinc/vsm/xmlrpc.py", line 573, in handle_request
>     self . handle_method ( )
>   File "/opt/thinlinc/modules/thinlinc/vsm/vsmagentchannel.py", line 120, in handle_method
>     self . params )
>   File "/opt/thinlinc/modules/thinlinc/vsm/handler_reqsession.py", line 50, in handle
>     self . check_old_client ( )
>   File "/opt/thinlinc/modules/thinlinc/vsm/handler_reqsession.py", line 62, in check_old_client
>     self . check_valid_user ( )
>   File "/opt/thinlinc/modules/thinlinc/vsm/handler_reqsession.py", line 69, in check_valid_user
>     self . setup_session_info ( )
>   File "/opt/thinlinc/modules/thinlinc/vsm/handler_reqsession.py", line 95, in setup_session_info
>     self . find_free_display ( )
>   File "/opt/thinlinc/modules/thinlinc/vsm/handler_reqsession.py", line 177, in find_free_display
>     self . find_free_display ( socket_status = SOCKET_NOT_INUSE )
>   File "/opt/thinlinc/modules/thinlinc/vsm/handler_reqsession.py", line 138, in find_free_display
>     self . set_sessionkey ( )
>   File "/opt/thinlinc/modules/thinlinc/vsm/handler_reqsession.py", line 201, in set_sessionkey
>     self . set_vncpassword ( )
>   File "/opt/thinlinc/modules/thinlinc/vsm/handler_reqsession.py", line 243, in set_vncpassword
>     self . correct_system_sockets ( )
>   File "/opt/thinlinc/modules/thinlinc/vsm/handler_reqsession.py", line 306, in correct_system_sockets
>     self . check_homedir ( )
>   File "/opt/thinlinc/modules/thinlinc/vsm/handler_reqsession.py", line 347, in check_homedir
>     self . start_session ( )
>   File "/opt/thinlinc/modules/thinlinc/vsm/handler_reqsession.py", line 352, in start_session
>     II1 = oO00 . start ( )
>   File "/opt/thinlinc/modules/thinlinc/vsm/sessionstart.py", line 42, in start
>     i1Ii1i = subprocess . Popen ( iiii11iiiiI , env = self . session_env , close_fds = 1 )
>   File "/usr/lib64/python3.4/subprocess.py", line 856, in __init__
>     restore_signals, start_new_session)
>   File "/usr/lib64/python3.4/subprocess.py", line 1464, in _execute_child
>     raise child_exception_type(errno_num, err_msg)
> OSError: [Errno 8] Exec format error
Comment 1 Pierre Ossman cendio 2023-12-22 14:26:34 CET
You can easily reproduce this by simply moving tl-session out of the way.

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