Something got screwed up seemingly randomly. all configs got reset

Hey there folks,
i had something really wierd happen today. I logged in, and my system was using all of the default configs. Meaning the latte bars looked different or didnt start, the dock got reset, every shortcut i had got reset etc etc. Even the autotiling script (bismuth) got turned off. I fixed the issue by just copying a backup of all of my dotfiles into my homefolder and fixed the permissions, and everything worked as normal again. Now that was a hassle and annoying, and i would love to know what could've caused something like that? I know that updates dont touch the home folder so im kinda dumbfounded to be perfectly honest. Also would be interested if anyone else had something like that happen to them.

 [email protected] in ~
 λ garuda-inxi
System:
  Kernel: 5.16.4-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=c62e35b2-c344-4a40-bff0-abcde7e3ec22 rw [email protected]
    quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3
  Desktop: KDE Plasma 5.23.5 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11
    vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: Micro-Star model: MAG B550 TOMAHAWK (MS-7C91) v: 2.0
    serial: <superuser required> UEFI: American Megatrends LLC. v: A.64
    date: 04/08/2021
CPU:
  Info: model: AMD Ryzen 5 5600X bits: 64 type: MT MCP arch: Zen 3
    family: 0x19 (25) model-id: 0x21 (33) stepping: 0 microcode: 0xA201009
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB
    L3: 32 MiB desc: 1x32 MiB
  Speed (MHz): avg: 3087 high: 3597 min/max: 2200/4650 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 3253 2: 2877
    3: 3595 4: 2879 5: 2879 6: 2879 7: 3597 8: 2875 9: 3595 10: 2874 11: 2877
    12: 2872 bogomips: 88798
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional,
    IBRS_FW, STIBP: always-on, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
    vendor: ASUSTeK driver: amdgpu v: kernel bus-ID: 2b:00.0 chip-ID: 1002:67df
    class-ID: 0300
  Device-2: Logitech Webcam C270 type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 5-1.2:5 chip-ID: 046d:0825 class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org 1.21.1.3 compositor: kwin_x11 driver:
    loaded: amdgpu,ati unloaded: modesetting alternate: fbdev,vesa
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 6399x1440 s-dpi: 96 s-size: 1693x381mm (66.7x15.0")
    s-diag: 1735mm (68.3")
  Monitor-1: DisplayPort-0 res: 2560x1440 hz: 144 dpi: 109
    size: 597x336mm (23.5x13.2") diag: 685mm (27")
  Monitor-2: HDMI-A-0 res: 1920x1080 dpi: 141 size: 345x195mm (13.6x7.7")
    diag: 396mm (15.6")
  Monitor-3: DVI-D-0 res: 1920x1080 dpi: 94 size: 521x293mm (20.5x11.5")
    diag: 598mm (23.5")
  OpenGL: renderer: AMD Radeon RX 570 Series (POLARIS10 DRM 3.44.0
    5.16.4-zen1-1-zen LLVM 13.0.0)
    v: 4.6 Mesa 21.3.5 direct render: Yes
Audio:
  Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
    vendor: ASUSTeK driver: snd_hda_intel v: kernel bus-ID: 2b:00.1
    chip-ID: 1002:aaf0 class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel bus-ID: 2d:00.4 chip-ID: 1022:1487
    class-ID: 0403
  Device-3: Logitech Webcam C270 type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 5-1.2:5 chip-ID: 046d:0825 class-ID: 0102 serial: <filter>
  Sound Server-1: ALSA v: k5.16.4-zen1-1-zen running: yes
  Sound Server-2: PulseAudio v: 15.0 running: no
  Sound Server-3: PipeWire v: 0.3.44 running: yes
Network:
  Device-1: Qualcomm Atheros AR9462 Wireless Network Adapter vendor: Lite-On
    driver: ath9k v: kernel bus-ID: 04:00.0 chip-ID: 168c:0034 class-ID: 0280
  IF: wlp4s0 state: down mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Micro-Star MSI driver: r8169 v: kernel port: e000 bus-ID: 06:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: enp6s0 state: up speed: 100 Mbps duplex: full mac: <filter>
  Device-3: Realtek RTL8125 2.5GbE vendor: Micro-Star MSI driver: r8169
    v: kernel port: d000 bus-ID: 2a:00.0 chip-ID: 10ec:8125 class-ID: 0200
  IF: enp42s0 state: down mac: <filter>
Bluetooth:
  Device-1: Lite-On Atheros AR3012 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 1-2.3:4 chip-ID: 04ca:300d class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
  Local Storage: total: 2.82 TiB used: 167.69 GiB (5.8%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Crucial model: CT500P1SSD8
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B
    speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: P3CR021
    temp: 34.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WD20EZRZ-00Z5HB0 size: 1.82 TiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
    rev: 0A80 scheme: GPT
  ID-3: /dev/sdb maj-min: 8:16 vendor: SanDisk model: SSD PLUS 480GB
    size: 447.13 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 04RL scheme: GPT
  ID-4: /dev/sdc maj-min: 8:32 vendor: Intenso model: SSD Sata III
    size: 111.79 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 1D scheme: GPT
Partition:
  ID-1: / raw-size: 50 GiB size: 50 GiB (100.00%) used: 17.07 GiB (34.1%)
    fs: btrfs dev: /dev/nvme0n1p3 maj-min: 259:3
  ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
    used: 576 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 399.26 GiB size: 399.26 GiB (100.00%)
    used: 150.62 GiB (37.7%) fs: btrfs dev: /dev/nvme0n1p4 maj-min: 259:4
  ID-4: /var/log raw-size: 50 GiB size: 50 GiB (100.00%)
    used: 17.07 GiB (34.1%) fs: btrfs dev: /dev/nvme0n1p3 maj-min: 259:3
  ID-5: /var/tmp raw-size: 50 GiB size: 50 GiB (100.00%)
    used: 17.07 GiB (34.1%) fs: btrfs dev: /dev/nvme0n1p3 maj-min: 259:3
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 15.61 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 53.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 1188
Info:
  Processes: 369 Uptime: 4h 44m wakeups: 0 Memory: 15.61 GiB
  used: 4.7 GiB (30.1%) Init: systemd v: 250 tool: systemctl Compilers:
  gcc: 11.1.0 clang: 13.0.0 Packages: pacman: 1257 lib: 336 Shell: fish
  v: 3.3.1 default: Bash v: 5.1.16 running-in: alacritty inxi: 3.3.12
Garuda (2.5.3-1):
  System install date:     2022-01-21
  Last full system update: 2022-01-31
  Is partially upgraded:   No
  Relevant software:       NetworkManager
  Windows dual boot:       Probably (Run as root to verify)
  Snapshots:               Snapper
  Failed units:

Please use forum search.

3 Likes

I did, and the stuff that sounds similar didnt have reason for that happening? I mean, it didnt even happen after an update?

I think all that are KDE features (they don't call it bugs :wink: ) so you must send issues to KDE.

Happened once with me. i had to do everything manually again. if you have timeshift backup it may help. and yeah try sending issues to KDE

I figured-out early that the only way to recover from such issue is having a rotating process of imaging my entire system to a separate external drive.

Timeshift/Snapper can only do much, it does not touch the home directory. While by customizing it can cover your home folder, it bloats the system as the backup becomes very huge.

I still continue to use my Acronis True Image 2020 to image my system twice a month. (It's good that I have a Frankenstein Garuda on ext4, since ATI2020 do not support BTRFS, and I stay-out of BTRFS due to past horrible experience with it.)

You can avoid this by symlinking your large media directories into your home folder. As long as you don't have the snapshots set to follow the symlinks the space used should be minimal. This method has big drawbacks though. If you store important projects in your home directory they will be rolled back as well if you resort to rolling your system back because of a borked update.

I use imaging as well, as it is almost foolproof (unlike other methods).

2 Likes