Bug 6105 - Impossible to login after removing /var/opt/thinlinc/sessions
Summary: Impossible to login after removing /var/opt/thinlinc/sessions
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: VSM Agent (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: MediumPrio
Assignee: Pierre Ossman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-06 12:20 CET by Peter Åstrand
Modified: 2016-12-13 10:22 CET (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Peter Åstrand cendio 2016-12-06 12:20:43 CET
If you are out of disk, say due to many big xinit.logs, you might want to clean out session directories below /var/opt/thinlinc/sessions. However, if you remove this entire tree, it will no longer be possible to login since the directory is not automatically created:

2016-12-06 12:17:14 WARNING tl-session: mkdir: No such file or directory

(One could also argue that this should be an ERROR rather than a WARNING)

Perhaps /var/opt/thinlinc/sessions should be created if it does not exist?
Comment 2 Peter Åstrand cendio 2016-12-13 10:22:38 CET
At minimum, we should enhance the error message.

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