-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #367 from SUSE/jhalackova_PED-8686
Jhalackova ped 8686
- Loading branch information
Showing
8 changed files
with
146 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
115 changes: 115 additions & 0 deletions
115
references/transactional-update-performing-soft-reboot.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- This file originates from the project https://github.com/openSUSE/doc-kit --> | ||
<!-- This file can be edited downstream. --> | ||
<!DOCTYPE topic | ||
[ | ||
<!ENTITY % entities SYSTEM "../common/generic-entities.ent"> | ||
%entities; | ||
]> | ||
<!-- refers to legacy doc: <add github link to legacy doc piece, if applicable> --> | ||
<!-- point back to this document with a similar comment added to your legacy doc piece --> | ||
<!-- refer to README.md for file and id naming conventions --> | ||
<!-- metadata is dealt with on the assembly level --> | ||
<topic xml:id="transactional-update-soft-reboot" | ||
role="reference" xml:lang="en" | ||
xmlns="http://docbook.org/ns/docbook" version="5.2" | ||
xmlns:its="http://www.w3.org/2005/11/its" | ||
xmlns:xi="http://www.w3.org/2001/XInclude" | ||
xmlns:xlink="http://www.w3.org/1999/xlink" | ||
xmlns:trans="http://docbook.org/ns/transclusion"> | ||
<info> | ||
<title>Configuration of <command>soft-reboot</command></title><!-- can be changed via merge in the assembly --> | ||
<!--add author's email address--> | ||
<meta name="maintainer" content="[email protected]" its:translate="no"/> | ||
<abstract><!-- can be changed via merge in the assembly --> | ||
<para> | ||
The topic describes how to enable soft-reboot and how to define when a regular | ||
reboot is needed. | ||
</para> | ||
</abstract> | ||
</info> | ||
<section xml:id="transactional-update-soft-reboot-enabling"> | ||
<title>Enabling/disabling <command>soft-reboot</command></title> | ||
<para> | ||
To enable <command>soft-reboot</command> on &tr-up;, proceed as follows: | ||
</para> | ||
<procedure> | ||
<step> | ||
<para> | ||
Create a directory <filename>/etc/tukit.conf.d/</filename> | ||
</para> | ||
<screen>&prompt.sudo;mkdir /etc/tukit.conf.d/</screen> | ||
</step> | ||
<step> | ||
<para> | ||
Create a file <filename>/etc/tukit.conf.d/soft-reboot.conf</filename> with the following content: | ||
</para> | ||
<screen>REBOOT_ALLOW_SOFT_REBOOT=true</screen> | ||
<para> | ||
For example, by running the following command: | ||
</para> | ||
<screen>&prompt.sudo;echo "REBOOT_ALLOW_SOFT_REBOOT=true" > /etc/tukit.conf.d/soft-reboot.conf</screen> | ||
</step> | ||
</procedure> | ||
<para> | ||
To disable <command>soft-reboot</command>, change <literal>true</literal> to | ||
<literal>false</literal> in the <filename>/etc/tukit.conf.d/soft-reboot.conf</filename> file. | ||
</para> | ||
</section> | ||
<section xml:id="transactional-update-soft-reboot-packages"> | ||
<title>Configuration of <command>soft-reboot</command></title> | ||
<para> | ||
You can define which packages require specific types of reboots | ||
in the <filename>/usr/etc/zypp/zypp-boot-plugin.conf</filename> file. To make changes, copy this | ||
file to <filename>/etc/zypp/zypp-boot-plugin.conf</filename>, which is writable and is not | ||
replaced during updates. The <filename>/etc/zypp/zypp-boot-plugin.conf</filename> file | ||
also has a higher priority than <filename>/usr/etc/zypp/zypp-boot-plugin.conf</filename>, | ||
so your configuration is preferred to the default one. | ||
</para> | ||
<para> | ||
In the <filename>/etc/zypp/zypp-boot-plugin.conf</filename> file, under the | ||
<literal>[main]</literal> section, there are three reboot options: | ||
</para> | ||
<variablelist> | ||
<varlistentry> | ||
<term>reboot</term> | ||
<listitem> | ||
<para> | ||
Here you specify the packages that require a hardware reboot when they are changed. | ||
</para> | ||
</listitem> | ||
</varlistentry> | ||
<varlistentry> | ||
<term>kexec</term> | ||
<listitem> | ||
<para> | ||
Provides a list of packages whose changes require a kernel reboot. However, | ||
a hardware reboot does not take place, and GRUB2 is not triggered. | ||
</para> | ||
</listitem> | ||
</varlistentry> | ||
<varlistentry> | ||
<term>soft-reboot</term> | ||
<listitem> | ||
<para> | ||
Specifies packages whose changes only require a reboot of the user space. | ||
</para> | ||
</listitem> | ||
</varlistentry> | ||
</variablelist> | ||
<para> | ||
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: | ||
</para> | ||
<screen> | ||
soft-reboot = glibc, dbus-broker | ||
</screen> | ||
<para> | ||
Or using the <literal>provides</literal> statement: | ||
</para> | ||
<screen> | ||
soft-reboot = provides: dbus | ||
</screen> | ||
</section> | ||
</topic> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters