diff --git a/DC-Micro-transactional-updates b/DC-Micro-transactional-updates index bb5f0a061..d7ea97435 100644 --- a/DC-Micro-transactional-updates +++ b/DC-Micro-transactional-updates @@ -8,7 +8,7 @@ SRC_DIR="articles" IMG_SRC_DIR="images" PROFOS="slmicro" -PROFCONDITION="suse-product" +PROFCONDITION="6.1" #PROFCONDITION="suse-product;beta" STYLEROOT="/usr/share/xml/docbook/stylesheet/suse2022-ns" diff --git a/DC-SLE-Micro-5.4-admin b/DC-SLE-Micro-5.4-admin deleted file mode 100644 index 285929e9a..000000000 --- a/DC-SLE-Micro-5.4-admin +++ /dev/null @@ -1,17 +0,0 @@ -# This file originates from the project https://github.com/openSUSE/doc-kit -# This file can be edited downstream. - -MAIN="SLE_Micro_admin.asm.xml" -# Point to the ID of the of your assembly -ROOTID="slemicro-admin-guide" -SRC_DIR="articles" -IMG_SRC_DIR="images" - - -PROFOS="slemicro" -PROFCONDITION="5.4" -#PROFCONDITION="suse-product;beta" -#PROFCONDITION="community-project" - -STYLEROOT="/usr/share/xml/docbook/stylesheet/suse2022-ns" -FALLBACK_STYLEROOT="/usr/share/xml/docbook/stylesheet/suse-ns" diff --git a/DC-SLE-Micro-5.5-admin b/DC-SLE-Micro-5.5-admin deleted file mode 100644 index fad690194..000000000 --- a/DC-SLE-Micro-5.5-admin +++ /dev/null @@ -1,17 +0,0 @@ -# This file originates from the project https://github.com/openSUSE/doc-kit -# This file can be edited downstream. - -MAIN="SLE_Micro_admin.asm.xml" -# Point to the ID of the of your assembly -ROOTID="slemicro-admin-guide" -SRC_DIR="articles" -IMG_SRC_DIR="images" - - -PROFOS="slemicro" -PROFCONDITION="5.5" -#PROFCONDITION="suse-product;beta" -#PROFCONDITION="community-project" - -STYLEROOT="/usr/share/xml/docbook/stylesheet/suse2022-ns" -FALLBACK_STYLEROOT="/usr/share/xml/docbook/stylesheet/suse-ns" diff --git a/DC-SLE-Micro-admin b/DC-SLE-Micro-admin deleted file mode 100644 index e9276d37d..000000000 --- a/DC-SLE-Micro-admin +++ /dev/null @@ -1,17 +0,0 @@ -# This file originates from the project https://github.com/openSUSE/doc-kit -# This file can be edited downstream. - -MAIN="SLE_Micro_admin.asm.xml" -# Point to the ID of the of your assembly -ROOTID="slemicro-admin-guide" -SRC_DIR="articles" -IMG_SRC_DIR="images" - - -PROFOS="slemicro" -PROFCONDITION="slemicro" -#PROFCONDITION="suse-product;beta" -#PROFCONDITION="community-project" - -STYLEROOT="/usr/share/xml/docbook/stylesheet/suse2022-ns" -FALLBACK_STYLEROOT="/usr/share/xml/docbook/stylesheet/suse-ns" diff --git a/articles/transactional-updates.asm.xml b/articles/transactional-updates.asm.xml index 3897e02d1..849a3dfae 100644 --- a/articles/transactional-updates.asm.xml +++ b/articles/transactional-updates.asm.xml @@ -49,6 +49,9 @@ Usage of &tr-up; + + soft-reboot configuration + @@ -171,7 +174,15 @@ - + + + + + + + + + Applying multiple changes without rebooting diff --git a/references/systemctl-cheatsheet.xml b/references/systemctl-cheatsheet.xml index 5a78f8ec8..92ff2da70 100644 --- a/references/systemctl-cheatsheet.xml +++ b/references/systemctl-cheatsheet.xml @@ -228,6 +228,16 @@ + + systemctl soft-reboot + + + The command reboots only the user space. It shuts down all services and units, restarts &systemd; + and starts all &systemd; services again. It can also switch to a new root file system. + On the contrary, hardware, kernel space and initrd are not restarted. + + + diff --git a/references/transactional-update-performing-soft-reboot.xml b/references/transactional-update-performing-soft-reboot.xml new file mode 100644 index 000000000..9fe5f428b --- /dev/null +++ b/references/transactional-update-performing-soft-reboot.xml @@ -0,0 +1,115 @@ + + + + + %entities; +]> + + + + + + + Configuration of <command>soft-reboot</command> + + + + + The topic describes how to enable soft-reboot and how to define when a regular + reboot is needed. + + + +
+ Enabling/disabling <command>soft-reboot</command> + + To enable soft-reboot on &tr-up;, proceed as follows: + + + + + Create a directory /etc/tukit.conf.d/ + + &prompt.sudo;mkdir /etc/tukit.conf.d/ + + + + Create a file /etc/tukit.conf.d/soft-reboot.conf with the following content: + + REBOOT_ALLOW_SOFT_REBOOT=true + +For example, by running the following command: + + &prompt.sudo;echo "REBOOT_ALLOW_SOFT_REBOOT=true" > /etc/tukit.conf.d/soft-reboot.conf + + + + To disable soft-reboot, change true to + false in the /etc/tukit.conf.d/soft-reboot.conf file. + +
+
+Configuration of <command>soft-reboot</command> + + You can define which packages require specific types of reboots + in the /usr/etc/zypp/zypp-boot-plugin.conf file. To make changes, copy this + file to /etc/zypp/zypp-boot-plugin.conf, which is writable and is not + replaced during updates. The /etc/zypp/zypp-boot-plugin.conf file + also has a higher priority than /usr/etc/zypp/zypp-boot-plugin.conf, + so your configuration is preferred to the default one. + + + In the /etc/zypp/zypp-boot-plugin.conf file, under the + [main] section, there are three reboot options: + + + + reboot + + +Here you specify the packages that require a hardware reboot when they are changed. + + + + + kexec + + + Provides a list of packages whose changes require a kernel reboot. However, + a hardware reboot does not take place, and GRUB2 is not triggered. + + + + + soft-reboot + + + Specifies packages whose changes only require a reboot of the user space. + + + + + +Entries can be a comma-separated list of package names or a list of all +packages that provide a particular application or system component. +Regular expressions can also be used. Here is an example: + + +soft-reboot = glibc, dbus-broker + + +Or using the provides statement: + + +soft-reboot = provides: dbus + +
+
diff --git a/references/transactional-update-usage.xml b/references/transactional-update-usage.xml index 02d9b7ff5..b4b22e801 100644 --- a/references/transactional-update-usage.xml +++ b/references/transactional-update-usage.xml @@ -166,9 +166,14 @@ transactional-update [general_command] reboot - + - The system reboots after the &tr-up; command is complete. +The behavior of reboot depends on the +configuration and changes performed to the system. If +soft-reboot is enabled, only the user +space may be restarted without rebooting the hardware and kernel. +The enabling and configuration of soft-reboot +are described in . @@ -189,7 +194,7 @@ transactional-update [general_command] - + setup-fips