Bug ID 1218106
Summary Yast2 module to read systemd journal files crashes
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component YaST2
Assignee yast2-maintainers@suse.de
Reporter mccfrank@gmail.com
QA Contact jsrain@suse.com
Target Milestone ---
Found By ---
Blocker ---

Created attachment 871390 [details]
The log which the module suggested be saved

The yast2 module for reading journal log files crashes with a ruby error.
It first says there are no dmesg logs, would I like to read journal files? Say
yes and the module crashes.

This is the output:

Internal error. Please report a bug report with logs.
Run save_y2logs to get complete logs.

Caller: /usr/lib64/ruby/3.2.0/json/common.rb:216:in `parse'

Details: unexpected token at
'{"[0;32mCONFIG_FILE[0m":"[0;32m/etc/xdg/autostart/user-dirs-update-mate.desktop[0m","[0;32m__SEQNUM[0m":"[0;32m7868730[0m","[0;32m_SYSTEMD_USER_SLICE[0m":"[0;32m-.slice[0m","[0;32m_PID[0m":"[0;32m3079[0m","[0;32m_SYSTEMD_SLICE[0m":"[0;32muser-1000.slice[0m","[0;32m_BOOT_ID[0m":"[0;32m8fab655c7f094316bfa0d4a19058768e[0m","[0;32m_CMDLINE[0m":"[0;32m/usr/lib/systemd/user-generators/systemd-xdg-autostart-generator
/run/user/1000/systemd/generator /run/user/1000/systemd/generator.early
/run/user/1000/systemd/generator.late[0m","[0;32mSYSLOG_IDENTIFIER[0m":"[0;32msystemd-xdg-autostart-generator[0m","[0;32mCODE_LINE[0m":"[0;32m238[0m","[0;32mMESSAGE[0m":"[0;32m/etc/xdg/autostart/user-dirs-update-mate.desktop:10:
Key OnlyShowIn was already defined,
ignoring.[0m","[0;32m_UID[0m":"[0;32m1000[0m","[0;32mTID[0m":"[0;32m3079[0m","[0;32m_EXE[0m":"[0;32m/usr/lib/systemd/user-generators/systemd-xdg-autostart-generator[0m","[0;32m_SYSTEMD_OWNER_UID[0m":"[0;32m1000[0m","[0;32m_RUNTIME_SCOPE[0m":"[0;32msystem[0m","[0;32m_AUDIT_SESSION[0m":"[0;32m2[0m","[0;32m_SYSTEMD_CGROUP[0m":"[0;32m/user.slice/user-1000.slice/user@1000.service/init.scope[0m","[0;32m__MONOTONIC_TIMESTAMP[0m":"[0;32m14948127[0m","[0;32m_SELINUX_CONTEXT[0m":"[0;32munconfined\n[0m","[0;32m_TRANSPORT[0m":"[0;32mjournal[0m","[0;32mCONFIG_LINE[0m":"[0;32m10[0m","[0;32mSYSLOG_FACILITY[0m":"[0;32m3[0m","[0;32mMESSAGE_ID[0m":"[0;32mc772d24e9a884cbeb9ea12625c306c01[0m","[0;32m_MACHINE_ID[0m":"[0;32m75aded7cca164d439bbdbeb3bacc4e28[0m","[0;32m_HOSTNAME[0m":"[0;32mdesktop-tumbleweed[0m","[0;32m_GID[0m":"[0;32m1000[0m","[0;32m__SEQNUM_ID[0m":"[0;32m29100c9518e84cd4a76a6c9bfa30017e[0m","[0;32m_COMM[0m":"[0;32msystemd-xdg-aut[0m","[0;32mCODE_FUNC[0m":"[0;32mxdg_config_parse_strv[0m","[0;32mCODE_FILE[0m":"[0;32msrc/xdg-autostart-generator/xdg-autostart-service.c[0m","[0;32m_SYSTEMD_UNIT[0m":"[0;32muser@1000.service[0m","[0;32m_SYSTEMD_USER_UNIT[0m":"[0;32minit.scope[0m","[0;32m_SOURCE_REALTIME_TIMESTAMP[0m":"[0;32m1702564544969485[0m","[0;32m_CAP_EFFECTIVE[0m":"[0;32m0[0m","[0;32m_AUDIT_LOGINUID[0m":"[0;32m1000[0m","[0;32mPRIORITY[0m":"[0;32m4[0m","[0;32m__CURSOR[0m":"[0;32ms=29100c9518e84cd4a76a6c9bfa30017e;i=78113a;b=8fab655c7f094316bfa0d4a19058768e;m=e4171f;t=60c7932e8fb1e;x=b5e073a5269cfd74[0m","[0;32m__REALTIME_TIMESTAMP[0m":"[0;32m1702564544969502[0m"}
'


You are receiving this mail because: