Bug 7434 - It's easy to miss the need to migrate non-Hiveconf files after upgrade
Summary: It's easy to miss the need to migrate non-Hiveconf files after upgrade
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Server Installer (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-06 10:04 CET by Samuel Mannehed
Modified: 2019-11-12 12:37 CET (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Samuel Mannehed cendio 2019-11-06 10:04:09 CET
As of bug 7410 we only offer to migrate .hconf files in tl-setup. The following non-Hiveconf files are marked as configuration in the spec files:

> /opt/thinlinc/etc/tlclient.conf
> /opt/thinlinc/etc/ssh_known_hosts
> /etc/profile.d/tlclient.sh
> /etc/profile.d/tlclient.csh
> /opt/thinlinc/etc/tlwebadm/server.crt
> /opt/thinlinc/etc/tlwebadm/server.key
> /etc/passwdaliases
> /opt/thinlinc/etc/xstartup.default
> /opt/thinlinc/etc/homecreatefilter.conf
> /opt/thinlinc/desktops/xdg_data_dir/applications/thinlinc/*.desktop
> /opt/thinlinc/desktops/xdg_data_dir/directories/thinlinc/*.directory
> /opt/thinlinc/etc/xsession
> /opt/thinlinc/etc/tlwebaccess/server.crt
> /opt/thinlinc/etc/tlwebaccess/server.key

A few of these, like tlclient.conf might need migration if the admin modified it and the defaults were changed in the new version when upgrading. In the cases where migration would be needed it's easy for the admin to miss this.

As of bug 5773 we no longer move away and rename an existing configuration file in favor for the new file when a conflict arises. In some cases this can lead to a broken system if old configuration values aren't valid anymore. And the issue gets worse since it's easy to miss the need for migration here.
Comment 1 Samuel Mannehed cendio 2019-11-06 10:05:29 CET
When fixing this bug we need to remember to update our documentation for configuration migration.
Comment 2 Samuel Mannehed cendio 2019-11-06 10:06:40 CET
One improvement in this area could be to list these files in a separate list in tl-setup, highlighting that they might need to be migrated.

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