Tempo

something is changing permissions into /var/lib/openhab2 befween reboots

openhabian@openhab:~ $ openhab-cli info

Version:     2.4.0 (Build)

User:        openhab (Active Process 589)
User Groups: openhab tty dialout audio bluetooth gpio

Directories: Folder Name      | Path                        | User:Group
             -----------      | ----                        | ----------
             OPENHAB_HOME     | /usr/share/openhab2         | openhab:openhab
             OPENHAB_RUNTIME  | /usr/share/openhab2/runtime | openhab:openhab
             OPENHAB_USERDATA | /var/lib/openhab2           | openhab:openhab
             OPENHAB_CONF     | /etc/openhab2               | openhab:openhab
             OPENHAB_LOGDIR   | /var/log/openhab2           | openhab:openhab

URLs:        http://10.10.1.5:8080
             https://10.10.1.5:8443

openhabian@openhab:~ $ hostnamectl
   Static hostname: openhab
         Icon name: computer
        Machine ID: 97be99ca7d444a6e947e00caf4b3e3f9
           Boot ID: 2c5f9cea647740869b96d7715c2ec676
  Operating System: Raspbian GNU/Linux 10 (buster)
            Kernel: Linux 4.19.58-v7+
      Architecture: arm
openhabian@openhab:~ $ sudo reboot
Connection to 10.10.1.5 closed by remote host.
Connection to 10.10.1.5 closed.
kriznik@GMNG:~$ tv
Linux openhab 4.19.58-v7+ #1245 SMP Fri Jul 12 17:25:51 BST 2019 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Aug  9 20:39:40 2019 from 10.10.1.100
openhabian@openhab:~ $ openhab-cli info

Version:     2.4.0 (Build)

User:        openhab (Active Process 590)
User Groups: openhab tty dialout audio bluetooth gpio

Directories: Folder Name      | Path                        | User:Group
             -----------      | ----                        | ----------
             OPENHAB_HOME     | /usr/share/openhab2         | openhab:openhab
             OPENHAB_RUNTIME  | /usr/share/openhab2/runtime | openhab:openhab
             OPENHAB_USERDATA | /var/lib/openhab2           | root:root
             OPENHAB_CONF     | /etc/openhab2               | openhab:openhab
             OPENHAB_LOGDIR   | /var/log/openhab2           | openhab:openhab

URLs:        http://10.10.1.5:8080
             https://10.10.1.5:8443

openhabian@openhab:~ $

edit: hmm it just looks like whole /var/lib/openhab2 is whiped out when reboot, so new folder is created empty by root after restart
because my test backup I’ve made on 2.5M2 after force reinstall is gone

11 posts were merged into an existing topic: /var/lib/openhab2 gone