Bug 8490 - tl-setup crashes when dltest helper cannot run
Summary: tl-setup crashes when dltest helper cannot run
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Server Installer (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-15 10:45 CET by Pierre Ossman
Modified: 2025-01-28 13:39 CET (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2025-01-15 10:45:55 CET
ThinLinc is currently only supported on x86_64. If you try to run tl-setup on something else, you get a crash as it fails to run its support binaries:

> 2025-01-15 12:20:03,524: Checking for required libraries...
> 2025-01-15 12:20:03,530: Traceback (most recent call last):
> 2025-01-15 12:20:03,530:   File "/opt/thinlinc/modules/thinlinc/tlsetup/system_check.py", line 30, in Iii11iiiiI
> 2025-01-15 12:20:03,530:     ii1iI1I ( )
> 2025-01-15 12:20:03,530:   File "/opt/thinlinc/modules/thinlinc/tlsetup/system_check.py", line 22, in ii1iI1I
> 2025-01-15 12:20:03,530:     i11IiIIiii1II ( )
> 2025-01-15 12:20:03,530:   File "/opt/thinlinc/modules/thinlinc/tlsetup/requirements.py", line 176, in I1i1i
> 2025-01-15 12:20:03,531:     if not i1I11i11 ( oOo00O ) :
> 2025-01-15 12:20:03,531:   File "/opt/thinlinc/modules/thinlinc/tlsetup/requirements.py", line 123, in i1I11i11
> 2025-01-15 12:20:03,531:     OoOOoO000O = subprocess . call ( [ prefix . get_tl_prefix ( ) + "/libexec/dltest" , library ] )
> 2025-01-15 12:20:03,531:   File "/usr/lib/python3.7/subprocess.py", line 323, in call
> 2025-01-15 12:20:03,531:     with Popen(*popenargs, **kwargs) as p:
> 2025-01-15 12:20:03,531:   File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
> 2025-01-15 12:20:03,531:     restore_signals, start_new_session)
> 2025-01-15 12:20:03,531:   File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
> 2025-01-15 12:20:03,531:     raise child_exception_type(errno_num, err_msg, err_filename)
> 2025-01-15 12:20:03,531: FileNotFoundError: [Errno 2] No such file or directory: '/opt/thinlinc/libexec/dltest': '/opt/thinlinc/libexec/dltest'

It should be very difficult to get to this situation, though, as we only ship RPM and deb packages. In both cases, the package manager should be blocking you from installing those incompatible packages. But it might be possible if you really force things.
Comment 2 Pierre Ossman cendio 2025-01-28 13:39:41 CET
The initial diagnosis was not correct. The system is Raspberry Pi OS, but it is on x86. So it is currently unknown why the crash happens.

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