sk_disk_smart_read_data() returns ENOTSUP if run without root privileges. That just cost me more than an hour of debugging entirely in the wrong direction, since actually this is a permission problem, i.e. it should have returned EPERM. Doesn't look like this a trivial fix, but clean semantics are always a nice thing to have ;-)
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.