Btrfs snapper line in journald log

I noticed this line in my journald log. Not sure if I should be concerned about something

16/05/2023 15:34	systemd	/usr/lib/systemd/system/grub-btrfs-snapper.service:11: Ignoring unknown escape sequences: "if [[ -z $(/usr/bin/findmnt -n / | /usr/bin/grep "\.snapshots") ]]; then if [ -s "${GRUB_BTRFS_GRUB_DIRNAME:-/boot/grub}/grub-btrfs.cfg" ]; then /etc/grub.d/41_snapshots-btrfs; else ${GRUB_BTRFS_MKCONFIG:-grub-mkconfig} -o ${GRUB_BTRFS_GRUB_DIRNAME:-/boot/grub}/grub.cfg; fi; fi"
garuda-inxi:
System:
Kernel: 6.3.2-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.1.1
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=f421b3e9-feb7-49ce-885d-088d8fed2dde rw rootflags=subvol=@
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
loglevel=3 module_blacklist=hid_sensor_hub nvme.noacpi=1 ibt=off
Desktop: KDE Plasma v: 5.27.5 tk: Qt v: 5.15.9 wm: kwin_wayland vt: 2
dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: Framework product: Laptop (12th Gen Intel Core) v: A4
serial: <superuser required>
Mobo: Framework model: FRANMACP04 v: A4 serial: <superuser required>
UEFI: INSYDE v: 03.05 date: 08/23/2022
Battery:
ID-1: BAT1 charge: 47.6 Wh (90.8%) condition: 52.4/55.0 Wh (95.2%)
volts: 17.1 min: 15.4 model: NVT Framewo type: Li-ion serial: <filter>
status: charging cycles: 12
Device-1: hidpp_battery_0 model: Logitech Wireless Mouse MX Master
serial: <filter> charge: 100% (should be ignored) rechargeable: yes
status: discharging
CPU:
Info: model: 12th Gen Intel Core i5-1240P bits: 64 type: MST AMCP
arch: Alder Lake level: v3 note: check built: 2021+
process: Intel 7 (10nm ESF) family: 6 model-id: 0x9A (154) stepping: 3
microcode: 0x42A
Topology: cpus: 1x cores: 12 mt: 4 tpc: 2 st: 8 threads: 16 smt: enabled
cache: L1: 1.1 MiB desc: d-8x32 KiB, 4x48 KiB; i-4x32 KiB, 8x64 KiB
L2: 9 MiB desc: 4x1.2 MiB, 2x2 MiB L3: 12 MiB desc: 1x12 MiB
Speed (MHz): avg: 2492 high: 4400 min/max: 400/4400:3300 scaling:
driver: intel_pstate governor: powersave cores: 1: 2100 2: 1463 3: 4174
4: 2100 5: 4400 6: 2100 7: 3771 8: 4066 9: 2100 10: 399 11: 2746 12: 2100
13: 2100 14: 2058 15: 2100 16: 2100 bogomips: 67584
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: Intel Alder Lake-P Integrated Graphics driver: i915 v: kernel
arch: Gen-12.2 process: Intel 10nm built: 2021-22+ ports:
active: DP-5,DP-6,eDP-1 empty: DP-1, DP-2, DP-3, DP-4 bus-ID: 00:02.0
chip-ID: 8086:46a6 class-ID: 0300
Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.1
compositor: kwin_wayland driver: X: loaded: modesetting
alternate: fbdev,intel,vesa dri: iris gpu: i915 d-rect: 5896x2944
display-ID: 0
Monitor-1: DP-5 pos: top-right res: 2560x1440 size: N/A modes: N/A
Monitor-2: DP-6 pos: top-center res: 1080x1920 size: N/A modes: N/A
Monitor-3: eDP-1 pos: bottom-l res: 2256x1504 size: N/A modes: N/A
API: OpenGL v: 4.6 Mesa 23.0.3 renderer: Mesa Intel Graphics (ADL GT2)
direct-render: Yes
Audio:
Device-1: Intel Alder Lake PCH-P High Definition Audio driver: snd_hda_intel
v: kernel alternate: snd_sof_pci_intel_tgl bus-ID: 00:1f.3
chip-ID: 8086:51c8 class-ID: 0403
API: ALSA v: k6.3.2-zen1-1-zen status: kernel-api tools: N/A
Server-1: PipeWire v: 0.3.70 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Wi-Fi 6 AX210/AX211/AX411 160MHz driver: iwlwifi v: kernel
pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: a6:00.0 chip-ID: 8086:2725
class-ID: 0280
IF: wlp166s0 state: up mac: <filter>
Device-2: ASIX AX88179 Gigabit Ethernet driver: ax88179_178a type: USB
rev: 2.1 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-2.4.4:9
chip-ID: 0b95:1790 class-ID: ff00 serial: <filter>
IF: enp0s20f0u2u4u4 state: up speed: 1000 Mbps duplex: full mac: <filter>
IF-ID-1: docker0 state: down mac: <filter>
IF-ID-2: tailscale0 state: unknown speed: -1 duplex: full mac: N/A
Bluetooth:
Device-1: Intel AX210 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-10:5 chip-ID: 8087:0032
class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 1 state: up address: <filter>
Drives:
Local Storage: total: 1.82 TiB used: 146.81 GiB (7.9%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 980 PRO 2TB
size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: 5B2QGXA7 temp: 43.9 C
scheme: GPT
Partition:
ID-1: / raw-size: 177.08 GiB size: 177.08 GiB (100.00%)
used: 146.81 GiB (82.9%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
ID-2: /boot/efi raw-size: 2 GiB size: 2 GiB (99.80%) used: 576 KiB (0.0%)
fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 177.08 GiB size: 177.08 GiB (100.00%)
used: 146.81 GiB (82.9%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
ID-4: /var/log raw-size: 177.08 GiB size: 177.08 GiB (100.00%)
used: 146.81 GiB (82.9%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
ID-5: /var/tmp raw-size: 177.08 GiB size: 177.08 GiB (100.00%)
used: 146.81 GiB (82.9%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 31.06 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 57.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 397 Uptime: 7m wakeups: 3 Memory: available: 31.06 GiB
used: 8.45 GiB (27.2%) Init: systemd v: 253 default: graphical
tool: systemctl Compilers: gcc: 13.1.1 Packages: 1978 pm: pacman pkgs: 1972
libs: 430 tools: gnome-software,octopi,pamac,paru pm: rpm pkgs: 0
pm: flatpak pkgs: 6 Shell: fish v: 3.6.1 default: Bash v: 5.1.16
running-in: konsole inxi: 3.3.27
Garuda (2.6.16-1):
System install date:     2023-05-04
Last full system update: 2023-05-16 ↻
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut
Windows dual boot:       No/Undetected
Failed units:

Just check the file

[Unit]
Description=Regenerate grub-btrfs.cfg

[Service]
Type=oneshot
# Set the possible paths for `grub-mkconfig`
Environment="PATH=/sbin:/bin:/usr/sbin:/usr/bin"
# Load environment variables from the configuration
EnvironmentFile=/etc/default/grub-btrfs/config
# If we aren't booted off a snapshot, regenerate just '/boot/grub/grub-btrfs.cfg' if it exists and is not empty, else regenerate the whole grub menu
ExecStart=bash -c 'if [[ -z $(/usr/bin/findmnt -n / | /usr/bin/grep "\.snapshots") ]]; then if [ -s "${GRUB_BTRFS_GRUB_DIRNAME:-/boot/grub}/grub-btrfs.cfg" ]; then /etc/grub.d/41_snapshots-btrfs; else ${GRUB_BTRFS_MKCONFIG:-grub-mkconfig} -o ${GRUB_BTRFS_GRUB_DIRNAME:-/boot/grub}/grub.cfg; fi; fi'

If we aren’t booted off a snapshot, regenerate just ‘/boot/grub/grub-btrfs.cfg’ if it exists and is not empty, else regenerate the whole grub menu

I Checked the file, it's all there.

hmm, did i maybe install Garuda incorrectly (wrong btrfs subvolumes or something) causing these problems?

I don't think it is an issue with your system.

That warning most likely indicates that either there is a typo with a extra escape somewhere or that systemd thinks there is.

Either way, if the command works, it is harmless.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.