Actions
Bug #23637
closedbackup does not backup /var/lib/foreman-proxy/ssh dir for proxy
Difficulty:
Triaged:
Description
Backup is missing `/var/lib/foreman-proxy/ssh` which contains the actual keys. We backup just the symlink /usr/share/foreman-proxy/.ssh.
Another related issue is that due to bug in the installer [1] the symlink can be replaced with the actual content and restore fails with
I, [2018-05-17 09:10:18+0000 #27076] INFO -- : --- Execution step 'Restore configs from backup' started --- D, [2018-05-17 09:10:18+0000 #27076] DEBUG -- : Running command tar --selinux --extract --file=/tmo/katello-backup-2018-05-17-08-53-41/config_files.tar.gz --overwrite --gzip --listed-incremental=/dev/null --directory=/ with stdin nil D, [2018-05-17 09:10:23+0000 #27076] DEBUG -- : output of the command: tar: usr/share/foreman-proxy/.ssh: Cannot open: File exists E, [2018-05-17 09:10:23+0000 #27076] ERROR -- : Failed executing tar --selinux --extract --file=/tmo/katello-backup-2018-05-17-08-53-41/config_files.tar.gz --overwrite --gzip --listed-incremental=/dev/null --directory=/, exit status 2:
Updated by Martin Bacovsky almost 7 years ago
- Related to Bug #23592: foreman-installer --reset changes /usr/share/foreman-proxy/.ssh symlink to directory added
Updated by The Foreman Bot almost 7 years ago
- Pull request https://github.com/theforeman/foreman_maintain/pull/181 added
Updated by Ivan Necas almost 7 years ago
- Status changed from Assigned to Closed
Merged and released in 0.2.2
Actions