Health_check 0.02.09 expects /proc/timer_stats and cannot collect events
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
health-check (Ubuntu) |
Fix Released
|
High
|
Colin Ian King | ||
Bionic |
Fix Released
|
Undecided
|
Colin Ian King |
Bug Description
== SRU Request BIONIC ==
== Justification ==
Newer kernels in Bionic don't support the older legacy /proc/timer_stats interface that health-check used to use. This was deprecated in health-check 0.03.00 onwards found in Cosmic+. Backport the removal of the /proc/timer_stats interface usage to Bionic's version of health-check to remove the /proc/timer_stats warning message.
== How to reproduce ==
Run health-check and one will see the error message, e.g.
sudo health-check pwd
"Cannot open /proc/timer_stats"
With the fix this error message does not occur.
== Regression Potential ==
These are backports of upstream health-check patches. They remove old redundant code and don't touch other health-check functionality; hence regression potential is small.
-----
Running health_check 0.02.09 results in the following error:
Cannot open /proc/timer_stats.
This struct does not exist:
ls: cannot access '/proc/
This on:
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
Testing version 0.03.00 from git tip works correctly.
Changed in health-check (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Colin Ian King (colin-king) |
description: | updated |
description: | updated |
We required the following commit:
commit 7f61fdc66efdef1 5bd17f1f020d8ab 63835243d2 (HEAD, refs/bisect/bad)
Author: Colin Ian King <email address hidden>
Date: Sat Jun 16 19:48:57 2018 +0100
remove event metrics since newer kernels don't support this API
Signed-off-by: Colin Ian King <email address hidden>