systemd autopkgtest 'logind' fails when running with linux-kvm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Fix Released
|
Low
|
Dan Streetman | ||
Xenial |
Fix Released
|
Low
|
Dan Streetman | ||
Bionic |
Fix Released
|
Low
|
Dan Streetman | ||
Eoan |
Fix Released
|
Low
|
Dan Streetman | ||
Focal |
Fix Released
|
Low
|
Dan Streetman |
Bug Description
[impact]
the logind autopkgtest tries to access /sys/power/state, but because linux-kvm has CONFIG_PM unset, there is no /sys/power/state file
[test case]
check autopkgtest, e.g.:
https:/
autopkgtest [13:48:53]: test logind: -------
autopkgtest [13:48:53]: test logind: - - - - - - - - - - results - - - - - - - - - -
logind FAIL stderr: grep: /sys/power/state: No such file or directory
autopkgtest [13:48:53]: test logind: - - - - - - - - - - stderr - - - - - - - - - -
grep: /sys/power/state: No such file or directory
[regression potential]
regressions would likely involve incorrectly skipped logind test.
[scope]
this fails for all releases; Xenial, Bionic, Eoan, and Focal.
[other info]
it's unclear if linux-kvm should have CONFIG_PM (and other config) enabled or not.
However, it's not the intention of systemd's autopkgtests to look for missing config in the kernel; the test already skips if 'mem' isn't in /sys/power/state, so it should also skip if /sys/power/state isn't present at all.
Changed in systemd (Ubuntu Eoan): | |
assignee: | nobody → Dan Streetman (ddstreet) |
Changed in systemd (Ubuntu Focal): | |
assignee: | nobody → Dan Streetman (ddstreet) |
Changed in systemd (Ubuntu Eoan): | |
importance: | Undecided → Low |
Changed in systemd (Ubuntu Focal): | |
status: | New → In Progress |
Changed in systemd (Ubuntu Bionic): | |
assignee: | nobody → Dan Streetman (ddstreet) |
importance: | Undecided → Low |
Changed in systemd (Ubuntu Xenial): | |
assignee: | nobody → Dan Streetman (ddstreet) |
Changed in systemd (Ubuntu Eoan): | |
status: | New → In Progress |
Changed in systemd (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in systemd (Ubuntu Xenial): | |
importance: | Undecided → Low |
Changed in systemd (Ubuntu Focal): | |
importance: | Undecided → Low |
Changed in systemd (Ubuntu Xenial): | |
status: | New → In Progress |
Changed in systemd (Ubuntu Focal): | |
status: | In Progress → Fix Released |
Hello Dan, or anyone else affected,
Accepted systemd into eoan-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ systemd/ 242-7ubuntu3. 8 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification- needed- eoan to verification- done-eoan. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed- eoan. In either case, without details of your testing we will not be able to proceed.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance for helping!
N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.