Skip to content

Commit

Permalink
Merge 0af2159 into 0f51de0
Browse files Browse the repository at this point in the history
  • Loading branch information
mvidner committed Sep 6, 2021
2 parents 0f51de0 + 0af2159 commit 4682857
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
6 changes: 5 additions & 1 deletion library/systemd/src/lib/yast2/systemd/unit_properties.rb
Expand Up @@ -12,6 +12,10 @@ class UnitProperties < OpenStruct
#
# systemctl.c:check_unit_active uses (active, reloading)
# For bsc#884756 we also consider "activating" to be active.
#
# "maintenance" means that the unit will automatically return
# to be "active" after a while. (`systemctl clean` was invoked)
#
# (The remaining states are "deactivating", "inactive", "failed".)
#
# Yes, depending on systemd states that are NOT covered by their
Expand All @@ -20,7 +24,7 @@ class UnitProperties < OpenStruct
# (depending on hardware and software installed, VM or not)
# is a 1 to 15 second delay (bsc#1045658).
# That is why we try hard to avoid many systemctl calls.
ACTIVE_STATES = ["active", "activating", "reloading"].freeze
ACTIVE_STATES = ["active", "activating", "maintenance", "reloading"].freeze

# @param systemd_unit [Yast2::Systemd::Unit]
# @param property_text [String,nil] if provided, use it instead of calling `systemctl show`
Expand Down
7 changes: 7 additions & 0 deletions package/yast2.changes
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Sep 6 07:42:09 UTC 2021 - Martin Vidner <mvidner@suse.com>

- Mark systemd unit/service state "maintenance" as active
(bsc#1190163)
- 4.4.17

-------------------------------------------------------------------
Thu Jul 15 11:04:50 UTC 2021 - David Diaz <dgonzalez@suse.com>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2
Version: 4.4.16
Version: 4.4.17
Release: 0
Summary: YaST2 Main Package
License: GPL-2.0-only
Expand Down

0 comments on commit 4682857

Please sign in to comment.