Bug 5750 - Difficult to find default values for configuration
Summary: Difficult to find default values for configuration
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Other (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: MediumPrio
Assignee: Peter Åstrand
URL:
Keywords:
Depends on:
Blocks: 4650
  Show dependency treegraph
 
Reported: 2015-12-14 10:39 CET by Peter Åstrand
Modified: 2023-06-09 14:46 CEST (History)
2 users (show)

See Also:
Acceptance Criteria:


Attachments

Description Peter Åstrand cendio 2015-12-14 10:39:49 CET
When you have changed anything in the configuration, the product default is no longer visible. This means that you cannot easily revert to the default value. It also means that it is not possible to do a real 3-way merge during upgrade.
Comment 1 Peter Åstrand cendio 2015-12-14 10:48:21 CET
One idea is to install a copy of conf.d as conf.default. Then, thinlinc.hconf could be changed to:

%mount conf.d/*.hconf

[/default]
%mount conf.default/*.hconf

This means that all default values will be available below "/default". So for example, you could do this:

tl-config /vsmagent/xserver_args=`tl-config /default/vsmagent/xserver_args`

This feature could also be built in to tl-config; bug 4650. 

One problem might be that there's really nothing that prevents you from changing the default values. We could consider extending Hiveconf so that it can mount "readonly" (or refuse to write to files with a read only mode; this is currently not the case).

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