Public bug reported:

It is a known issue within the rasdaemon package where `ras-mc-ctl
--errors` fails due to a database schema mismatch. This issue is already
tracked upstream in rasdaemon GitHub issue #237.


Upstream Issue:
https://github.com/mchehab/rasdaemon/issues/237


[Expected Behavior]
Running `sudo ras-mc-ctl --errors` should complete successfully and display all 
hardware error categories without any script crashes.

[Actual Behavior]
The script terminates prematurely with the following Perl database errors:
"DBD::SQLite::db prepare failed: no such column: signal at /usr/sbin/ras-mc-ctl 
line 2404."
"Can't call method "execute" on an undefined value at /usr/sbin/ras-mc-ctl line 
2405."


[Steps to Reproduce]
1. Install rasdaemon (0.8.4) on Ubuntu 26.04:
   $ sudo apt update
   $ sudo apt install rasdaemon
2. Initialize and start the rasdaemon service:
   $ sudo systemctl enable --now rasdaemon

3. Execute the query tool with the errors flag:
   $ sudo ras-mc-ctl --errors

…error shows

DBD::SQLite::db prepare failed: no such column: signal at /usr/sbin/ras-mc-ctl 
line 2405.
Can't call method "execute" on an undefined value at /usr/sbin/ras-mc-ctl line 
2406.

** Affects: rasdaemon (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- ras-mc-ctl fails with "no such column: signal" when running with --errors 
flag in rasdaemon 0.8.4
+ [ubuntu 26.04]ras-mc-ctl fails with "no such column: signal" when running 
with --errors flag in rasdaemon 0.8.4

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2154809

Title:
  [ubuntu 26.04]ras-mc-ctl fails with "no such column: signal" when
  running with --errors flag in rasdaemon 0.8.4

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rasdaemon/+bug/2154809/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to