67 lines
3.1 KiB
Diff
67 lines
3.1 KiB
Diff
From a4d62516adc69b01681e6832ae265aa4865e671f Mon Sep 17 00:00:00 2001
|
|
From: Evan Goode <mail@evangoo.de>
|
|
Date: Wed, 27 Mar 2024 17:47:52 +0000
|
|
Subject: [PATCH 3/3] Needs-restarting: punctuation edits
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Upstream commit: 486e9d4d7f03309f3eaf71e297ae956e18357bd8
|
|
Resolves: https://issues.redhat.com/browse/RHEL-14900
|
|
|
|
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
|
---
|
|
doc/needs_restarting.rst | 24 ++++++++++++------------
|
|
1 file changed, 12 insertions(+), 12 deletions(-)
|
|
|
|
diff --git a/doc/needs_restarting.rst b/doc/needs_restarting.rst
|
|
index 379d027..dafcdd1 100644
|
|
--- a/doc/needs_restarting.rst
|
|
+++ b/doc/needs_restarting.rst
|
|
@@ -36,30 +36,30 @@ Description
|
|
Note that in most cases a process should survive update of its binary and libraries it is using without requiring to be restarted for proper operation. There are however specific cases when this does not apply. Separately, processes often need to be restarted to reflect security updates.
|
|
|
|
.. note::
|
|
- Needs restarting will try to guess the boot time using three different methods:
|
|
+ Needs-restarting will try to guess the boot time using three different methods:
|
|
|
|
``UnitsLoadStartTimestamp``
|
|
- property on ``/org/freedesktop/systemd1``.
|
|
+ D-Bus property on ``/org/freedesktop/systemd1``.
|
|
Works unless the system was not booted with systemd,
|
|
such as in (most) containers.
|
|
``st_mtime of /proc/1``
|
|
- Reflects the time the first process was run after booting
|
|
+ Reflects the time the first process was run after booting.
|
|
This works for all known cases except machines without
|
|
- a RTC - they awake at the start of the epoch.
|
|
+ a RTC—they awake at the start of the epoch.
|
|
``/proc/uptime``
|
|
- Seconds field of /proc/uptime subtracted from the current time
|
|
+ Seconds field of ``/proc/uptime`` subtracted from the current time.
|
|
Works for machines without RTC if the current time is reasonably correct.
|
|
Does not work on containers which share their kernel with the
|
|
- host - there the host kernel uptime is returned
|
|
+ host—there, the host kernel uptime is returned.
|
|
|
|
|
|
.. warning::
|
|
- When the system is configured to read the RTC time in the local time zone.
|
|
- This mode cannot be fully supported. It will create various problems
|
|
- with time zone changes and daylight saving time adjustments. The RTC
|
|
- time is never updated, it relies on external facilities to maintain it.
|
|
- **If at all possible, use RTC in UTC by calling**
|
|
- ``timedatectl set-local-rtc 0``.
|
|
+ Some systems are configured to read the RTC time in the local time
|
|
+ zone. This mode cannot be fully supported. It will create various problems
|
|
+ with time zone changes and daylight saving time adjustments. The RTC time
|
|
+ is never updated, it relies on external facilities to maintain it. **If at
|
|
+ all possible, use RTC in UTC by calling** ``timedatectl set-local-rtc 0``.
|
|
+ See ``man timedatectl`` for more information.
|
|
|
|
-------
|
|
Options
|
|
--
|
|
2.45.0
|
|
|