** Merge proposal linked:
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/resource-agents/+git/resource-agents/+merge/381863
--
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to the bug report.
Commit to blame in glibc:
commit 3537ecb49cf7177274607004c562d6f9ecc99474
Author: Adhemerval Zanella
Date: Tue Nov 5 21:37:44 2019 +
Refactor nanosleep in terms of clock_nanosleep
The generic version is straightforward. For Hurd, its nanosleep
implementation is moved to
At our side we *could* change this clock from CLOCK_REALTIME to
CLOCK_MONOTONIC but =) that does not seem the right thing to do to
fix WSL1 because it does not behave properly with REALTIME clocks. Let's
wait upstream bug for now...
** Changed in: htop (Ubuntu)
Status: Confirmed =>
The issue is happening because WSL is currently not POSIX compliant and
any call to glibc that uses CLOCK_REALTIME will fail with EINVAL (-1)
(such as clock_gettime() or clock_nanosleep()). It is likely that a
glibc change has made this to appear (instead of the htop different
version).
Upstream