Bug 7646 - sessionstartup.d/sessionreconnect.d scripts are not run in order
Summary: sessionstartup.d/sessionreconnect.d scripts are not run in order
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: VSM Server (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
Depends on:
Reported: 2021-02-15 13:16 CET by Pierre Ossman
Modified: 2021-06-08 12:43 CEST (History)
0 users

See Also:
Acceptance Criteria:


Description Pierre Ossman cendio 2021-02-15 13:16:21 CET
vsmserver will run scripts in sessionstartup.d/sessionreconnect.d whenever a users (re)connects. We find those scripts using Python's glob.glob(). It, however, has this note:

> Whether or not the results are sorted depends on the file system. 

The order of files in .d directories are normally respected, so this lack of ordering here could confuse a sysadmin. We really should sort this list of files.

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