Bug 7919 - tl-setup incorrectly refers to tl-setup.log for early crashes
Summary: tl-setup incorrectly refers to tl-setup.log for early crashes
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Server Installer (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: MediumPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-10 08:11 CEST by Pierre Ossman
Modified: 2022-05-10 12:43 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2022-05-10 08:11:29 CEST
(discovered on bug 7907)

When tl-setup crashes, it's supposed to write the crash to /var/log/tl-setup.log, and throw up an error message, instructing the user to look in that file.

However, this only works once tl-setup is running as root. Otherwise, it doesn't have the permissions to write to the log file. Instead, it dumps things to stderr, using the default logging settings from Python.

This is of course confusing, and not very helpful for the user. We should, at the very least, have a different error message for crashes this early.

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