Bug 7877 - Session store not always written to disk after verification
Summary: Session store not always written to disk after verification
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
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-31 14:31 CEST by William Sjöblom
Modified: 2022-04-05 12:47 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description William Sjöblom cendio 2022-03-31 14:31:13 CEST
`SessionStore.update_session_state' and `failed_to_verify_session' don't mark the session store as dirty, meaning that the changes made by these methods may not be written to disk. 

Both of these methods are called part of session verification, so assuming the consumer of the session information fields that are changed by these methods verifies the session(s) first this bug will go unnoticed. The only consumer of these fields that do not verify them beforehand I could find is `tlctl session list'.

We should also probably take a closer look around for other places which may make the session store dirty but don't mark it as such.

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