Comment 5 for bug 1931847

Revision history for this message
Mauricio Faria de Oliveira (mfo) wrote :

The bug is also reproducible in a LXD VM (updated description):

 $ lxc launch --vm ubuntu:focal ras
 $ lxc exec ras -- su - ubuntu

 $ sudo apt update && sudo apt install -y rasdaemon

 $ dpkg -s rasdaemon | grep Version:
 Version: 0.6.5-1ubuntu1.1

 $ ras-mc-ctl --summary
 No Memory errors.

 No PCIe AER errors.

 No Extlog errors.

 DBD::SQLite::db prepare failed: no such table: devlink_event at /usr/sbin/ras-mc-ctl line 1181.
 Can't call method "execute" on an undefined value at /usr/sbin/ras-mc-ctl line 1182.

 $ echo $?
 2

The fix (test package) works as expected:

 $ dpkg -s rasdaemon | grep Version:
 Version: 0.6.5-1ubuntu1.2

 $ ras-mc-ctl --summary
 No Memory errors.

 No PCIe AER errors.

 No Extlog errors.

 No MCE errors.

 $ echo $?
 0