You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NAME="kairos-opensuse"
VERSION="v1.4.0-k3sv1.26.0+k3s1"
ID="kairos"
ID_LIKE="kairos-opensuse"
VERSION_ID="v1.4.0-k3sv1.26.0+k3s1"
PRETTY_NAME="kairos-opensuse v1.4.0-k3sv1.26.0+k3s1"
ANSI_COLOR="0;32"
BUG_REPORT_URL="https://github.com/kairos-io/kairos/issues/new/choose"
HOME_URL="https://github.com/kairos-io/provider-kairos"
IMAGE_REPO="quay.io/kairos/kairos-opensuse"
IMAGE_LABEL="latest"
GITHUB_REPO="kairos-io/provider-kairos"
VARIANT="core"
FLAVOR="opensuse" CPU architecture, OS, and Version:
Linux lp3dnode 5.14.21-150400.24.38-default #1 SMP PREEMPT_DYNAMIC Fri Dec 9 09:29:22 UTC 2022 (e9c5676) x86_64 x86_64 x86_64 GNU/Linux Describe the bug
system logs should persist reboot To Reproduce
use journalctl --since=yesterday to see entries from when you booted the machine
sudo reboot and journalctl --since=yesterday and you see only the newest entries, the previous ones where lost
Expected behavior
preserve logs so that if hardware events happen we have some info in the logs Logs
Some info I found shows this is controlled by journald configuraiton. We may need to force the persistence of logs and also make sure the /var/log/journal directory exists and survives between reboots.
Some info I found shows this is controlled by journald configuraiton. We may need to force the persistence of logs and also make sure the /var/log/journal directory exists and survives between reboots.
This is valid due to the nature of systemd journalctl. Journal database is set to auto, which means that if there is no /var/log/journal dir then it will be stored under /run which is volatile.
This needs a small change to our default config files to assure that we create that dir explicitely if we are on systemd system!
Kairos version:
NAME="kairos-opensuse"
VERSION="v1.4.0-k3sv1.26.0+k3s1"
ID="kairos"
ID_LIKE="kairos-opensuse"
VERSION_ID="v1.4.0-k3sv1.26.0+k3s1"
PRETTY_NAME="kairos-opensuse v1.4.0-k3sv1.26.0+k3s1"
ANSI_COLOR="0;32"
BUG_REPORT_URL="https://github.com/kairos-io/kairos/issues/new/choose"
HOME_URL="https://github.com/kairos-io/provider-kairos"
IMAGE_REPO="quay.io/kairos/kairos-opensuse"
IMAGE_LABEL="latest"
GITHUB_REPO="kairos-io/provider-kairos"
VARIANT="core"
FLAVOR="opensuse"
CPU architecture, OS, and Version:
Linux lp3dnode 5.14.21-150400.24.38-default #1 SMP PREEMPT_DYNAMIC Fri Dec 9 09:29:22 UTC 2022 (e9c5676) x86_64 x86_64 x86_64 GNU/Linux
Describe the bug
system logs should persist reboot
To Reproduce
use
journalctl --since=yesterday
to see entries from when you booted the machinesudo reboot
andjournalctl --since=yesterday
and you see only the newest entries, the previous ones where lostExpected behavior
preserve logs so that if hardware events happen we have some info in the logs
Logs
Additional context
discussion
The text was updated successfully, but these errors were encountered: