Dolphin forgets all mimetypes a couple times per day

Since a couple of days it happens that Dolphin “simply forgets” all mimetimes a couple times a day. I searched around the internet and found kbuildsycoca6 but that didn’t work until i instead did XDG_MENU_PREFIX=arch- kbuildsycoca6 wich restores functionality for a couple of hours.

I already removed the mimesapp.list in ~/.config and found one aswell in ~/.local/share/applications but that one was 0kb big…regardless of a new and fresh mimesapp.list file or my original one, it doesn’t hold the functional state for long and i have to rerun XDG_MENU_PREFIX=arch- kbuildsycoca6 again to make it work again.

Interestingly enough, running Nautilus works just fine… (but i hate nautilus and would much rather continue to use dolphin lol)

I cleared the ~/.cache of dolphin to no avail… Does anyone here have an idea?

Thanks!

garuda-inxi
System:
  Kernel: 6.8.8-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=70298202-3941-4097-b3f6-9e9ab18d10bf rw rootflags=subvol=@
    quiet resume=UUID=2a710883-dad9-4c61-a48e-9712c540943e loglevel=3 ibt=off
  Desktop: Hyprland v: 0.39.1-121-g47b08795 with: waybar tools:
    avail: swayidle,swaylock vt: 1 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: ROG STRIX X570-I GAMING v: Rev X.0x
    serial: <superuser required> part-nu: SKU uuid: <superuser required>
    UEFI: American Megatrends v: 4601 date: 02/02/2023
CPU:
  Info: model: AMD Ryzen 7 5800X3D bits: 64 type: MT MCP arch: Zen 3+ gen: 4
    level: v3 note: check built: 2022 process: TSMC n6 (7nm) family: 0x19 (25)
    model-id: 0x21 (33) stepping: 2 microcode: 0xA20120A
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
    L3: 96 MiB desc: 1x96 MiB
  Speed (MHz): avg: 3610 high: 4450 min/max: 2200/4549 boost: enabled
    scaling: driver: acpi-cpufreq governor: performance cores: 1: 3560 2: 3559
    3: 3559 4: 3560 5: 3560 6: 4449 7: 3559 8: 3400 9: 3400 10: 3400 11: 3400
    12: 3558 13: 3400 14: 4450 15: 3400 16: 3555 bogomips: 108790
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M]
    vendor: Sapphire PULSE driver: amdgpu v: kernel arch: RDNA-3 code: Navi-3x
    process: TSMC n5 (5nm) built: 2022+ pcie: gen: 4 speed: 16 GT/s lanes: 16
    ports: active: DP-1,HDMI-A-1 off: HDMI-A-2 empty: DP-2,Writeback-1
    bus-ID: 0c:00.0 chip-ID: 1002:744c class-ID: 0300
  Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 23.2.6
    compositor: Hyprland v: 0.39.1-121-g47b08795 driver: X: loaded: amdgpu
    unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi
    gpu: amdgpu display-ID: 1
  Monitor-1: DP-1 model: AOC U34G2G4R3 serial: <filter> built: 2020
    res: 3440x1440 hz: 144 dpi: 110 gamma: 1.2 scale: 1
    size: 797x334mm (31.38x13.15") diag: 864mm (34") modes: max: 3440x1440
    min: 720x400
  Monitor-2: HDMI-A-1 model: AOC 2460G5 serial: <filter> built: 2018
    res: 1920x1080 hz: 60 dpi: 92 gamma: 1.2 scale: 1
    size: 531x299mm (20.91x11.77") diag: 609mm (24") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  Monitor-3: HDMI-A-2 model: Samsung QBQ90S serial: <filter> built: 2022
    res: 3840x2160 dpi: 81 gamma: 1.2 size: 1872x1053mm (73.7x41.46")
    diag: 1388mm (54.6") ratio: 16:9 modes: max: 3840x2160 min: 720x400
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast surfaceless: drv: radeonsi wayland: drv: radeonsi x11:
    drv: radeonsi inactive: gbm
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.0.6-arch1.2
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 7900 XT (radeonsi
    navi31 LLVM 17.0.6 DRM 3.57 6.8.8-zen1-1-zen) device-ID: 1002:744c
    memory: 19.53 GiB unified: no
  API: Vulkan v: 1.3.279 layers: 10 device: 0 type: discrete-gpu name: AMD
    Radeon RX 7900 XT (RADV NAVI31) driver: mesa radv v: 24.0.6-arch1.2
    device-ID: 1002:744c surfaces: xcb,xlib,wayland device: 1
    type: discrete-gpu name: AMD Radeon RX 7900 XT driver: amd v: (LLPC)
    device-ID: 1002:744c surfaces: xcb,xlib,wayland device: 2 type: cpu
    name: llvmpipe (LLVM 17.0.6 256 bits) driver: mesa llvmpipe
    v: 24.0.6-arch1.2 (LLVM 17.0.6) device-ID: 10005:0000
    surfaces: xcb,xlib,wayland
Audio:
  Device-1: AMD Navi 31 HDMI/DP Audio driver: snd_hda_intel v: kernel pcie:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 0c:00.1 chip-ID: 1002:ab30
    class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 0e:00.4 chip-ID: 1022:1487 class-ID: 0403
  Device-3: SteelSeries ApS GameDAC driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-3.2:12
    chip-ID: 1038:1283 class-ID: 0300 serial: <filter>
  API: ALSA v: k6.8.8-zen1-1-zen status: kernel-api with: aoss
    type: oss-emulator tools: N/A
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 1.0.5 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 AX200 driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 05:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlp5s0 state: down mac: <filter>
  Device-2: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: kernel
    pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 06:00.0
    chip-ID: 8086:1539 class-ID: 0200
  IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: virbr0 state: down mac: <filter>
  Info: services: NetworkManager, smbd, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: SINO WEALTH RK Bluetooth Keyboar driver: hid-generic,usbhid
    type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-1.4:23
    chip-ID: 258a:0059 class-ID: 0300
  Device-2: ASUSTek Broadcom BCM20702A0 Bluetooth driver: btusb v: 0.8
    type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-2.1.1:9
    chip-ID: 0b05:17cb class-ID: fe01 serial: <filter>
  Report: ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 4.0 lmp-v: 6
    status: discoverable: yes pairing: yes class-ID: 6c0104
Drives:
  Local Storage: total: 3.87 TiB used: 2.53 TiB (65.4%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:2 vendor: Samsung
    model: SSD 970 EVO Plus 1TB size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 2B2QEXM7 temp: 41.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: SK Hynix
    model: HFM256GDHTNG-8310A size: 238.47 GiB block-size: physical: 512 B
    logical: 512 B speed: 15.8 Gb/s lanes: 2 tech: SSD serial: <filter>
    fw-rev: 80070C00 temp: 50.9 C scheme: MBR
  ID-3: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 870 EVO 2TB
    size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 2B6Q scheme: GPT
  ID-4: /dev/sdb maj-min: 8:16 vendor: Crucial model: CT1000MX500SSD1
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 033 scheme: GPT
Partition:
  ID-1: / raw-size: 862.24 GiB size: 862.24 GiB (100.00%)
    used: 408.19 GiB (47.3%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:4
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 584 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:3
  ID-3: /home raw-size: 862.24 GiB size: 862.24 GiB (100.00%)
    used: 408.19 GiB (47.3%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:4
  ID-4: /var/log raw-size: 862.24 GiB size: 862.24 GiB (100.00%)
    used: 408.19 GiB (47.3%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:4
  ID-5: /var/tmp raw-size: 862.24 GiB size: 862.24 GiB (100.00%)
    used: 408.19 GiB (47.3%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:4
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 62.7 GiB used: 190.6 MiB (0.3%)
    priority: 100 comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 16
    dev: /dev/zram0
  ID-2: swap-2 type: partition size: 68.97 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:5
Sensors:
  System Temperatures: cpu: 44.0 C mobo: 43.0 C gpu: amdgpu temp: 61.0 C
    mem: 70.0 C
  Fan Speeds (rpm): fan-1: 1000 fan-2: 1839 fan-5: 978 fan-7: 0 gpu: amdgpu
    fan: 0
Info:
  Memory: total: 64 GiB note: est. available: 62.7 GiB used: 16.86 GiB (26.9%)
  Processes: 500 Power: uptime: 2d 2h 42m states: freeze,mem,disk
    suspend: deep avail: s2idle wakeups: 6 hibernate: platform avail: shutdown,
    reboot, suspend, test_resume image: 25.07 GiB services: upowerd
    Init: systemd v: 255 default: graphical tool: systemctl
  Packages: 2403 pm: pacman pkgs: 2376 libs: 576 tools: pacseek,paru
    pm: appimage pkgs: 0 pm: flatpak pkgs: 27 Compilers: clang: 17.0.6
    gcc: 13.2.1 alt: 12 Shell: garuda-inxi default: fish v: 3.7.1
    running-in: alacritty inxi: 3.3.34
Garuda (2.6.26-1):
  System install date:     2024-03-08
  Last full system update: 2024-05-05 ↻
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       No/Undetected
  Failed units:

What say the KDE debug page about?

Don’t exactly know what you mean. Do you mean some debug application? Or some website?

In terms of websites i didn’t find anything specifically related to dolphin besides this: The Dolphin Handbook but i didn’t find anything there that striked me as being helpful in this situation…

wild idea: you could try monitoring the mimeapps.list file with a tool like auditctl and then get the accessing PID to obtain the process name. This would help you and us a ton in finding the root cause

Can do that but i have never used that tool

any recommendations for how the command should look like?

You firstly need to enable auditctl via sudo audictl -e 1 (this will only enable it for the duration of your current session)
And use it accordingly - auditctl -h sais sudo auditctl -w /path/to/file

Afaik it then starts dumping logs into /var/log/audit.

Yeah i tried the sudo auditctl -w /path command but didn’t do the -e 1 before.

now it says:

sudo auditctl -e 1
enabled 1
failure 1
pid 0
rate_limit 0
backlog_limit 64
lost 0
backlog 0
backlog_wait_time 60000
backlog_wait_time_actual 0

  franky  ~  sudo auditctl -w ~/.config/mimeapps.list
Old style watch rules are slower
Error sending add rule data request (Rule exists)
There was an error while processing parameters

And /var/logs/audit is empty

you seemingly also need to start the auditd service for this to work. The log is then /var/log/audit/audit.log and it logs literally everything. I just tried it.

You could just keep the file open and look out for changes via e.g. sudo tail +1f /var/log/audit/audit.log

  franky  ~  sudo auditctl -w ~/.config/mimeapps.list
Old style watch rules are slower

  franky  ~  sudo tail +1f /var/log/audit/audit.log
tail: cannot open '/var/log/audit/audit.log' for reading: No such file or directory
tail: no files remaining

  franky  ~  sudo auditctl -l
-w /home/frank-garuda/.config/mimeapps.list -p rwxa

and i just tried to provoke it by manually editing ~/.config/mimeapps.list a little bit… nothing there :thinking:

did you start the systemd service?

my bad… just enabled them and forgot to start.

yeah now i get a bunch of logs

sudo tail +1f /var/log/audit/audit.log
type=DAEMON_START msg=audit(1715090050.262:1207): op=start ver=4.0.1 format=enriched kernel=6.8.8-zen1-1-zen auid=4294967295 pid=1327448 uid=0 ses=4294967295 res=successAUID="unset" UID="root"
type=SYSCALL msg=audit(1715090050.262:449): arch=c000003e syscall=44 success=yes exit=60 a0=3 a1=7ffffd448b30 a2=3c a3=0 items=0 ppid=1327447 pid=1327448 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="auditd" exe="/usr/bin/auditd" key=(null)ARCH=x86_64 SYSCALL=sendto AUID="unset" UID="root" GID="root" EUID="root" SUID="root" FSUID="root" EGID="root" SGID="root" FSGID="root"
type=SOCKADDR msg=audit(1715090050.262:449): saddr=100000000000000000000000SADDR={ saddr_fam=netlink nlnk-fam=16 nlnk-pid=0 }
type=PROCTITLE msg=audit(1715090050.262:449): proctitle="/usr/bin/auditd"
type=SERVICE_START msg=audit(1715090050.263:450): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=auditd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'UID="root" AUID="unset"
type=USER_END msg=audit(1715090050.264:451): pid=1327423 uid=1000 auid=1000 ses=3 msg='op=PAM:session_close grantors=pam_systemd_home,pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'UID="frank-garuda" AUID="frank-garuda"
type=CRED_DISP msg=audit(1715090050.264:452): pid=1327423 uid=1000 auid=1000 ses=3 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'UID="frank-garuda" AUID="frank-garuda"
type=USER_ACCT msg=audit(1715090063.916:453): pid=1327596 uid=1000 auid=1000 ses=3 msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="frank-garuda" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'UID="frank-garuda" AUID="frank-garuda"
type=CRED_REFR msg=audit(1715090063.917:454): pid=1327596 uid=1000 auid=1000 ses=3 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'UID="frank-garuda" AUID="frank-garuda"
type=USER_START msg=audit(1715090063.919:455): pid=1327596 uid=1000 auid=1000 ses=3 msg='op=PAM:session_open grantors=pam_systemd_home,pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'UID="frank-garuda" AUID="frank-garuda"
type=SERVICE_START msg=audit(1715090063.947:456): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=audit-rules comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'UID="root" AUID="unset"
type=SERVICE_STOP msg=audit(1715090063.947:457): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=audit-rules comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'UID="root" AUID="unset"
type=USER_END msg=audit(1715090063.951:458): pid=1327596 uid=1000 auid=1000 ses=3 msg='op=PAM:session_close grantors=pam_systemd_home,pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'UID="frank-garuda" AUID="frank-garuda"
type=CRED_DISP msg=audit(1715090063.951:459): pid=1327596 uid=1000 auid=1000 ses=3 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'UID="frank-garuda" AUID="frank-garuda"
type=SERVICE_STOP msg=audit(1715090070.623:460): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'UID="root" AUID="unset"
type=BPF msg=audit(1715090070.686:461): prog-id=7318 op=UNLOAD
type=BPF msg=audit(1715090070.686:462): prog-id=7317 op=UNLOAD
type=BPF msg=audit(1715090070.686:463): prog-id=7316 op=UNLOAD
type=USER_ACCT msg=audit(1715090070.764:464): pid=1331748 uid=1000 auid=1000 ses=3 msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="frank-garuda" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'UID="frank-garuda" AUID="frank-garuda"
type=CRED_REFR msg=audit(1715090070.765:465): pid=1331748 uid=1000 auid=1000 ses=3 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'UID="frank-garuda" AUID="frank-garuda"
type=USER_START msg=audit(1715090070.767:466): pid=1331748 uid=1000 auid=1000 ses=3 msg='op=PAM:session_open grantors=pam_systemd_home,pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'UID="frank-garuda" AUID="frank-garuda"
type=SYSCALL msg=audit(1715090090.465:467): arch=c000003e syscall=89 success=no exit=-22 a0=7ffd4f7de8c0 a1=7ffd4f7df0e0 a2=3ff a3=58185fd25600 items=1 ppid=1 pid=1200247 auid=1000 uid=1000 gid=1001 euid=1000 suid=1000 fsuid=1000 egid=1001 sgid=1001 fsgid=1001 tty=tty1 ses=3 comm="dolphin" exe="/usr/bin/dolphin" key=(null)ARCH=x86_64 SYSCALL=readlink AUID="frank-garuda" UID="frank-garuda" GID="frank-garuda" EUID="frank-garuda" SUID="frank-garuda" FSUID="frank-garuda" EGID="frank-garuda" SGID="frank-garuda" FSGID="frank-garuda"
type=CWD msg=audit(1715090090.465:467): cwd="/home/frank-garuda"
type=PATH msg=audit(1715090090.465:467): item=0 name="/home/frank-garuda/.config/mimeapps.list" inode=15241369 dev=00:1f mode=0100644 ouid=1000 ogid=1001 rdev=00:00 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0OUID="frank-garuda" OGID="frank-garuda"
type=PROCTITLE msg=audit(1715090090.465:467): proctitle="dolphin"
type=SYSCALL msg=audit(1715090090.465:468): arch=c000003e syscall=89 success=no exit=-22 a0=7ffd4f7de7f0 a1=7ffd4f7df010 a2=3ff a3=58185fd25600 items=1 ppid=1 pid=1200247 auid=1000 uid=1000 gid=1001 euid=1000 suid=1000 fsuid=1000 egid=1001 sgid=1001 fsgid=1001 tty=tty1 ses=3 comm="dolphin" exe="/usr/bin/dolphin" key=(null)ARCH=x86_64 SYSCALL=readlink AUID="frank-garuda" UID="frank-garuda" GID="frank-garuda" EUID="frank-garuda" SUID="frank-garuda" FSUID="frank-garuda" EGID="frank-garuda" SGID="frank-garuda" FSGID="frank-garuda"
type=CWD msg=audit(1715090090.465:468): cwd="/home/frank-garuda"
type=PATH msg=audit(1715090090.465:468): item=0 name="/home/frank-garuda/.config/mimeapps.list" inode=15241369 dev=00:1f mode=0100644 ouid=1000 ogid=1001 rdev=00:00 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0OUID="frank-garuda" OGID="frank-garuda"
type=PROCTITLE msg=audit(1715090090.465:468): proctitle="dolphin"
type=SYSCALL msg=audit(1715090090.465:469): arch=c000003e syscall=257 success=yes exit=58 a0=ffffff9c a1=58185fbe3750 a2=80000 a3=0 items=1 ppid=1 pid=1200247 auid=1000 uid=1000 gid=1001 euid=1000 suid=1000 fsuid=1000 egid=1001 sgid=1001 fsgid=1001 tty=tty1 ses=3 comm="dolphin" exe="/usr/bin/dolphin" key=(null)ARCH=x86_64 SYSCALL=openat AUID="frank-garuda" UID="frank-garuda" GID="frank-garuda" EUID="frank-garuda" SUID="frank-garuda" FSUID="frank-garuda" EGID="frank-garuda" SGID="frank-garuda" FSGID="frank-garuda"
type=CWD msg=audit(1715090090.465:469): cwd="/home/frank-garuda"
type=PATH msg=audit(1715090090.465:469): item=0 name="/home/frank-garuda/.config/mimeapps.list" inode=15241369 dev=00:1f mode=0100644 ouid=1000 ogid=1001 rdev=00:00 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0OUID="frank-garuda" OGID="frank-garuda"
type=PROCTITLE msg=audit(1715090090.465:469): proctitle="dolphin"
type=USER_ACCT msg=audit(1715090100.177:470): pid=1336111 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_permit,pam_time acct="frank-garuda" exe="/usr/bin/crond" hostname=? addr=? terminal=cron res=success'UID="root" AUID="unset"
type=CRED_ACQ msg=audit(1715090100.177:471): pid=1336111 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="frank-garuda" exe="/usr/bin/crond" hostname=? addr=? terminal=cron res=success'UID="root" AUID="unset"
type=LOGIN msg=audit(1715090100.177:472): pid=1336111 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=1180 res=1UID="root" OLD-AUID="unset" AUID="frank-garuda"
type=SYSCALL msg=audit(1715090100.177:472): arch=c000003e syscall=1 success=yes exit=4 a0=6 a1=7ffe56c9e800 a2=4 a3=0 items=0 ppid=1811459 pid=1336111 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1180 comm="crond" exe="/usr/bin/crond" key=(null)ARCH=x86_64 SYSCALL=write AUID="frank-garuda" UID="root" GID="root" EUID="root" SUID="root" FSUID="root" EGID="root" SGID="root" FSGID="root"
type=PROCTITLE msg=audit(1715090100.177:472): proctitle=2F7573722F7362696E2F63726F6E64002D6E
type=USER_START msg=audit(1715090100.179:473): pid=1336111 uid=0 auid=1000 ses=1180 msg='op=PAM:session_open grantors=pam_loginuid,pam_systemd_home,pam_limits,pam_unix,pam_permit acct="frank-garuda" exe="/usr/bin/crond" hostname=? addr=? terminal=cron res=success'UID="root" AUID="frank-garuda"
type=CRED_REFR msg=audit(1715090100.179:474): pid=1336111 uid=0 auid=1000 ses=1180 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="frank-garuda" exe="/usr/bin/crond" hostname=? addr=? terminal=cron res=success'UID="root" AUID="frank-garuda"
type=ANOM_ABEND msg=audit(1715090100.376:475): auid=1000 uid=1000 gid=1001 ses=1180 pid=1336872 comm="dunst" exe="/usr/bin/dunst" sig=5 res=1AUID="frank-garuda" UID="frank-garuda" GID="frank-garuda"
type=BPF msg=audit(1715090100.383:476): prog-id=7319 op=LOAD
type=BPF msg=audit(1715090100.383:477): prog-id=7320 op=LOAD
type=BPF msg=audit(1715090100.383:478): prog-id=7321 op=LOAD
type=SERVICE_START msg=audit(1715090100.395:479): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@1179-1336960-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'UID="root" AUID="unset"
type=BPF msg=audit(1715090100.416:480): prog-id=7322 op=LOAD
type=BPF msg=audit(1715090100.416:481): prog-id=7323 op=LOAD
type=BPF msg=audit(1715090100.416:482): prog-id=7324 op=LOAD
type=SERVICE_START msg=audit(1715090100.465:483): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'UID="root" AUID="unset"
type=SERVICE_STOP msg=audit(1715090100.514:484): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@1179-1336960-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'UID="root" AUID="unset"
type=BPF msg=audit(1715090100.585:485): prog-id=7321 op=UNLOAD
type=BPF msg=audit(1715090100.585:486): prog-id=7320 op=UNLOAD
type=BPF msg=audit(1715090100.585:487): prog-id=7319 op=UNLOAD
type=CRED_DISP msg=audit(1715090101.033:488): pid=1336111 uid=0 auid=1000 ses=1180 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="frank-garuda" exe="/usr/bin/crond" hostname=? addr=? terminal=cron res=success'UID="root" AUID="frank-garuda"
type=USER_END msg=audit(1715090101.033:489): pid=1336111 uid=0 auid=1000 ses=1180 msg='op=PAM:session_close grantors=pam_loginuid,pam_systemd_home,pam_limits,pam_unix,pam_permit acct="frank-garuda" exe="/usr/bin/crond" hostname=? addr=? terminal=cron res=success'UID="root" AUID="frank-garuda"

how you’ll just have to wait and see what happens :wink:
when something does write to it you can get the PID and see which process is doing it

Issue is i have no idea what to look for… i mean the mimeapps.list seems okay, especially since nautilus can still use it and it’s not being changed after i run XDG_MENU_PREFIX=arch- kbuildsycoca6

So i don’t know what to watch for…

I thought you said that your mimeapps.list file got cleared out regularly?

If you don’t even have a mimeapps file right now, you could try running update-mime-database $HOME/.local/share/mime (that should probably also show up in your audit log :wink: )

No there was a misunderstanding.

The one in ~/.local/share/applications/mimeapps.list is 0kb big, but that is the case even after XDG_MENU_PREFIX=arch- kbuildsycoca6

The one in ~/.config/mimeapps.list stays the same all throughout

it might just be that kde tries to read the mimetypes from the file every so often and then resets everything as a result. I had no issues like that when I used to run kde but in your case I’d try generating some actual mimetypes there as I suggested

Running update-mime-database $HOME/.local/share/mime didn’t fix, also it didn’t show up in auditctl :thinking:

i now simply copied everything from the mimeapps.list in ~/.config over to the one in .local but that didn’t fix anything either…

As of writing this, Dolphin forgot everything again, both mimelists contain everything and are owned by my user…

As soon as i run XDG_MENU_PREFIX=arch- kbuildsycoca6 it will work again and i find the according entry in the audit logs.

type=SYSCALL msg=audit(1715091219.619:988): arch=c000003e syscall=89 success=no exit=-22 a0=7fffc4d9e1d0 a1=7fffc4d9e9f0 a2=3ff a3=5c3c5b0bd790 items=1 ppid=1532381 pid=1584287 auid=1000 uid=1000 gid=1001 euid=1000 suid=1000 fsuid=1000 egid=1001 sgid=1001 fsgid=1001 tty=pts3 ses=3 comm="kbuildsycoca6" exe="/usr/bin/kbuildsycoca6" key=(null)ARCH=x86_64 SYSCALL=readlink AUID="frank-garuda" UID="frank-garuda" GID="frank-garuda" EUID="frank-garuda" SUID="frank-garuda" FSUID="frank-garuda" EGID="frank-garuda" SGID="frank-garuda" FSGID="frank-garuda"
type=CWD msg=audit(1715091219.619:988): cwd="/home/frank-garuda"
type=PATH msg=audit(1715091219.619:988): item=0 name="/home/frank-garuda/.local/share/applications/mimeapps.list" inode=15638970 dev=00:1f mode=0100644 ouid=1000 ogid=1001 rdev=00:00 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0OUID="frank-garuda" OGID="frank-garuda"
type=PROCTITLE msg=audit(1715091219.619:988): proctitle="kbuildsycoca6"
type=SYSCALL msg=audit(1715091219.619:989): arch=c000003e syscall=89 success=no exit=-22 a0=7fffc4d9e100 a1=7fffc4d9e920 a2=3ff a3=5c3c5b0bd790 items=1 ppid=1532381 pid=1584287 auid=1000 uid=1000 gid=1001 euid=1000 suid=1000 fsuid=1000 egid=1001 sgid=1001 fsgid=1001 tty=pts3 ses=3 comm="kbuildsycoca6" exe="/usr/bin/kbuildsycoca6" key=(null)ARCH=x86_64 SYSCALL=readlink AUID="frank-garuda" UID="frank-garuda" GID="frank-garuda" EUID="frank-garuda" SUID="frank-garuda" FSUID="frank-garuda" EGID="frank-garuda" SGID="frank-garuda" FSGID="frank-garuda"
type=CWD msg=audit(1715091219.619:989): cwd="/home/frank-garuda"
type=PATH msg=audit(1715091219.619:989): item=0 name="/home/frank-garuda/.local/share/applications/mimeapps.list" inode=15638970 dev=00:1f mode=0100644 ouid=1000 ogid=1001 rdev=00:00 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0OUID="frank-garuda" OGID="frank-garuda"
type=PROCTITLE msg=audit(1715091219.619:989): proctitle="kbuildsycoca6"
type=SYSCALL msg=audit(1715091219.619:990): arch=c000003e syscall=257 success=yes exit=10 a0=ffffff9c a1=5c3c5b0bd7a0 a2=80000 a3=0 items=1 ppid=1532381 pid=1584287 auid=1000 uid=1000 gid=1001 euid=1000 suid=1000 fsuid=1000 egid=1001 sgid=1001 fsgid=1001 tty=pts3 ses=3 comm="kbuildsycoca6" exe="/usr/bin/kbuildsycoca6" key=(null)ARCH=x86_64 SYSCALL=openat AUID="frank-garuda" UID="frank-garuda" GID="frank-garuda" EUID="frank-garuda" SUID="frank-garuda" FSUID="frank-garuda" EGID="frank-garuda" SGID="frank-garuda" FSGID="frank-garuda"
type=CWD msg=audit(1715091219.619:990): cwd="/home/frank-garuda"
type=PATH msg=audit(1715091219.619:990): item=0 name="/home/frank-garuda/.local/share/applications/mimeapps.list" inode=15638970 dev=00:1f mode=0100644 ouid=1000 ogid=1001 rdev=00:00 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0OUID="frank-garuda" OGID="frank-garuda"
type=PROCTITLE msg=audit(1715091219.619:990): proctitle="kbuildsycoca6"

https://bugs.kde.org/buglist.cgi?quicksearch=dolphin

/Bug List

https://bugs.kde.org/show_bug.cgi?id=486679

But no update on there

i currently made the workaround that i just let cron run XDG_MENU_PREFIX=arch- kbuildsycoca6 every minute…

1 Like

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