Bug 6076 - applications hang when trying to access unreachable thindrives
Summary: applications hang when trying to access unreachable thindrives
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Local drive redirection (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: MediumPrio
Assignee: Peter Åstrand
URL:
Keywords:
: 1271 (view as bug list)
Depends on: 4900 1271
Blocks:
  Show dependency treegraph
 
Reported: 2016-10-25 15:48 CEST by Samuel Mannehed
Modified: 2022-04-05 13:30 CEST (History)
2 users (show)

See Also:
Acceptance Criteria:


Attachments

Description Samuel Mannehed cendio 2016-10-25 15:48:32 CEST
Steps to reproduce:

1. Open a native ThinLinc client and export two local directories that start with the same letter(s), for example 'Documents' and 'Downloads'.
2. Login
3. Disconnect
4. Reconnect using the HTML5 client
5. Open a terminal and write: ls ~/thindrives/Do
6. Press TAB
Comment 2 Pierre Ossman cendio 2017-10-16 12:04:59 CEST
One such application is tl-setup. restorecon (part of the SELinux step) will take forever to complete if there are a bunch of disconnected drives.
Comment 3 Samuel Mannehed cendio 2017-11-02 12:36:09 CET
(In reply to comment #2)
> One such application is tl-setup. restorecon (part of the SELinux step) will
> take forever to complete if there are a bunch of disconnected drives.

Split off to bug #7075.
Comment 4 Pierre Ossman cendio 2018-11-22 08:24:06 CET
This also affects other users, not just the user with the unreachable drive. E.g. doing df on such a system hangs. This can be very annoying for the system administrator.
Comment 7 Pierre Ossman cendio 2020-09-21 11:20:58 CEST
systemd also gets upset about this and has problem starting certain services. E.g. localectl stops working because the underlying service fails to start in time.
Comment 8 Pierre Ossman cendio 2020-10-29 10:25:01 CET
More details about systemd:

https://bugzilla.redhat.com/show_bug.cgi?id=1885143
Comment 9 Pierre Ossman cendio 2020-11-11 11:13:13 CET
This can also cause a session to take some time to terminate if there are previous sessions that didn't get unmounted properly:

> tl-xinit: X server has terminated
> tl-xinit: deleting ../10.1604999466.ended
> tl-xinit: cannot stat ../10.1604999466.ended/drives/notes: Input/output error
> tl-xinit: Could not remove ../10.1604999466.ended. Stray files may remain.
> tl-xinit: deleting ../10.1605087058.ended
> tl-xinit: Session terminated. Exiting.

The delay can cause issues if users try to reconnect too quickly as they'll be reconnected to this terminating session instead, which won't actually work.

Unfortunately we don't know what caused these mounts to remain and trigger the issue.
Comment 11 Pierre Ossman cendio 2022-04-05 13:30:44 CEST
*** Bug 1271 has been marked as a duplicate of this bug. ***

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