yast / yast-yast2

YaST module yast2
http://en.opensuse.org/Portal:YaST
GNU General Public License v2.0
54 stars 44 forks source link

Added "maintenance" to Yast2::Systemd::UnitProperties::ACTIVE_STATES #1192

Closed mvidner closed 2 years ago

mvidner commented 2 years ago

Related YaST PRs:

The relevant systemd commit is https://github.com/systemd/systemd/pull/12176/commits/380dc8b0a25f544269fdff7d9fd0e488fb374031

Also, in src/core/unit.c, for the UNIT_MAINTENANCE state, unit_start returns -EAGAIN while unit_stop has no special case.

Therefore we treat "maintenance" as basically "active".

coveralls commented 2 years ago

Coverage Status

Coverage remained the same at 40.974% when pulling 0af2159f8fb01495ff7c75fe3d5104724a891e4f on active-states-maintenance into 0f51de045e5d3e700541ea08b040aa37ddc7c3f5 on master.

yast-bot commented 2 years ago

:heavy_check_mark: Internal Jenkins job #159 successfully finished :heavy_check_mark: Created IBS submit request #249290

yast-bot commented 2 years ago

:heavy_check_mark: Public Jenkins job #321 successfully finished :heavy_check_mark: Created OBS submit request #917053