Comments (2)
IRT the known hosts changing:
I think this can be checked before the uninstall completes, although because the file isn't generated by apt or by openHAB the uninstaller shouldn't touch it. Only advise that it exists and that it it's advisable to remove when reinstalling. So:
- On uninstall check if a known host exists at [localhost]:8443
- If it does send a message to the user mentioning this.
I also agree that a mention of this problem should be in the docs, it will affect manual users as well as automatic users as soon as Karaf is changed and ssh is used to connect to console. @ThomDietrich, do you have any thoughts on this?
from openhab-linuxpkg.
Hi @Josar, after some trials I came to the conclusion that it would not be viable to do anything during uninstallation about this because:
- The known-hosts file is produced by
ssh
tools, not by openHAB. And implementations of this change between versions. - The ssh command wouldn't have necessarily been sent from the localhost.
- openHAB is installed as a program but the known-hosts file belongs to the user, it would be difficult to go through any user who may have used ssh and find a known-hosts file.
- Perhaps the most appropriate way of connecting to the console is by using the openhab-cli console command that makes it's way to openHAB 2.2.0 soon.
I will be sure to set expectations by updating the docs about what may happen though, and hope that this resolves the issue for you.
Kind Regards,
Ben
from openhab-linuxpkg.
Related Issues (20)
- upgrading the package doesn't restart running openHAB instance HOT 2
- .deb packages incompatible with DPKG >1.20
- Support DEFAULT, DELETE and DELETEDIR update commands from update.lst
- openHAB3 Post installation process fails HOT 14
- files (re-)installation HOT 1
- Upgrade to OH3 doesn't work on Ubuntu Server 20.04.1 LTS HOT 7
- OpenHab3 breaks openhab-cli HOT 2
- PackageKit error: downloadSubjectPublicKey?username=openhab is not a public key HOT 1
- org.apache.karaf.shell.cfg HOT 3
- Config patching (new feature) HOT 2
- Gentoo and OpenRC support
- support apt-listchanges HOT 2
- Upgrade ops4j pax-logging-* libraries to 2.0.11 HOT 5
- SHA-1 GPG Keys not supported by all distros any longer
- Suggest Java 17 package installation for openHAB 4 HOT 3
- openhab-3.4.4-2.noarch.rpm - Error: GPG check FAILED HOT 8
- Cannot install older openhab versions from repository HOT 5
- Upgrade to bookworm may break openhab HOT 1
- debian postinst script removes config file /etc/init.d/openhab HOT 3
- dnf gpg check fails on version 4.0.4-1 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openhab-linuxpkg.