Accepting request 1093944 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1093944 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd-presets-common-SUSE?expand=0&rev=30
This commit is contained in:
commit
fcdffe9091
@ -69,7 +69,7 @@ apply_preset_state_changes () {
|
||||
exec 3<&-
|
||||
done
|
||||
if test -x /usr/bin/systemctl ; then
|
||||
/usr/bin/systemctl list-unit-files "$GLOBAL"
|
||||
/usr/bin/systemctl list-unit-files $GLOBAL
|
||||
fi >systemd_preset-states.rpm-tmp
|
||||
exec 3<systemd_preset-states.rpm-tmp
|
||||
read -u3 PAD
|
||||
@ -99,7 +99,7 @@ apply_preset_state_changes () {
|
||||
fi
|
||||
if test "$ENABLE_OLD" != "$ENABLE_NEW" ; then
|
||||
echo "Resetting $SERVICE to the new default: $ENABLE_NEW"
|
||||
/usr/bin/systemctl preset "$GLOBAL" "$SERVICE" || :
|
||||
/usr/bin/systemctl preset $GLOBAL "$SERVICE" || :
|
||||
fi
|
||||
done
|
||||
exec 3<&-
|
||||
|
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 20 08:42:27 UTC 2023 - Antonio Larrosa <alarrosa@suse.com>
|
||||
|
||||
- Fix another case of systemctl being called with an empty
|
||||
argument. This if a preemptive fix for a similar issue to
|
||||
bsc#1212496.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 19 12:48:36 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
- Don't call systemctl list-unit-files with an empty argument,
|
||||
this will break enabling of system unit files [bsc#1212496]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 9 14:22:41 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user