| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:47+0200\n" |
| 11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 14 |
"Language: \n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
|
| 19 |
#. type: TH |
| 20 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 21 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 22 |
#, no-wrap |
| 23 |
msgid "SYSTEMD\\&.OFFLINE-UPDATES" |
| 24 |
msgstr "" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: archlinux |
| 28 |
#, no-wrap |
| 29 |
msgid "systemd 260.2" |
| 30 |
msgstr "" |
| 31 |
|
| 32 |
#. type: TH |
| 33 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 34 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 35 |
#, no-wrap |
| 36 |
msgid "systemd.offline-updates" |
| 37 |
msgstr "" |
| 38 |
|
| 39 |
#. ----------------------------------------------------------------- |
| 40 |
#. * MAIN CONTENT STARTS HERE * |
| 41 |
#. ----------------------------------------------------------------- |
| 42 |
#. type: SH |
| 43 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 44 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 45 |
#, no-wrap |
| 46 |
msgid "NAME" |
| 47 |
msgstr "" |
| 48 |
|
| 49 |
#. type: Plain text |
| 50 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 51 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 52 |
msgid "systemd.offline-updates - Implementation of offline updates in systemd" |
| 53 |
msgstr "" |
| 54 |
|
| 55 |
#. type: SH |
| 56 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 57 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 58 |
#, no-wrap |
| 59 |
msgid "IMPLEMENTING OFFLINE SYSTEM UPDATES" |
| 60 |
msgstr "" |
| 61 |
|
| 62 |
#. type: Plain text |
| 63 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 64 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 65 |
msgid "" |
| 66 |
"This man page describes how to implement \"offline\" system updates with " |
| 67 |
"systemd\\&. By \"offline\" OS updates we mean package installations and " |
| 68 |
"updates that are run with the system booted into a special system update " |
| 69 |
"mode, in order to avoid problems related to conflicts of libraries and " |
| 70 |
"services that are currently running with those on disk\\&. This document is " |
| 71 |
"inspired by this \\m[blue]B<GNOME design whiteboard>\\m[]" |
| 72 |
"\\&\\s-2\\u[1]\\d\\s+2\\&." |
| 73 |
msgstr "" |
| 74 |
|
| 75 |
#. type: Plain text |
| 76 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 77 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 78 |
msgid "The logic:" |
| 79 |
msgstr "" |
| 80 |
|
| 81 |
#. type: Plain text |
| 82 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 83 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 84 |
msgid "" |
| 85 |
"The package manager prepares system updates by downloading all (\\&.rpm or " |
| 86 |
"\\&.deb or whatever) packages to update off-line in a special directory /var/" |
| 87 |
"lib/system-update (or another directory of the package/upgrade " |
| 88 |
"manager\\*(Aqs choice)\\&." |
| 89 |
msgstr "" |
| 90 |
|
| 91 |
#. type: Plain text |
| 92 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 93 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 94 |
msgid "" |
| 95 |
"When the user OK\\*(Aqed the update, the symlink /system-update or /etc/" |
| 96 |
"system-update is created that points to /var/lib/system-update (or wherever " |
| 97 |
"the directory with the upgrade files is located) and the system is " |
| 98 |
"rebooted\\&. This symlink is in the root directory, since we need to check " |
| 99 |
"for it very early at boot, at a time where /var/ is not available yet\\&." |
| 100 |
msgstr "" |
| 101 |
|
| 102 |
#. type: Plain text |
| 103 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 104 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 105 |
msgid "" |
| 106 |
"Very early in the new boot B<systemd-system-update-generator>(8) checks " |
| 107 |
"whether /system-update or /etc/system-update exists\\&. If so, it " |
| 108 |
"(temporarily and for this boot only) redirects (i\\&.e\\&. symlinks) " |
| 109 |
"default\\&.target to system-update\\&.target, a special target that pulls in " |
| 110 |
"the base system (i\\&.e\\&. sysinit\\&.target, so that all file systems are " |
| 111 |
"mounted but little else) and the system update units\\&." |
| 112 |
msgstr "" |
| 113 |
|
| 114 |
#. type: Plain text |
| 115 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 116 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 117 |
msgid "" |
| 118 |
"The system now continues to boot into default\\&.target, and thus into " |
| 119 |
"system-update\\&.target\\&. This target pulls in all system update units\\&. " |
| 120 |
"Only one service should perform an update (see the next point), and all the " |
| 121 |
"other ones should exit cleanly with a \"success\" return code and without " |
| 122 |
"doing anything\\&. Update services should be ordered after sysinit\\&.target " |
| 123 |
"so that the update starts after all file systems have been mounted\\&." |
| 124 |
msgstr "" |
| 125 |
|
| 126 |
#. type: Plain text |
| 127 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 128 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 129 |
msgid "" |
| 130 |
"As the first step, an update service should check if the /system-update or /" |
| 131 |
"etc/system-update symlink points to the location used by that update " |
| 132 |
"service\\&. In case it does not exist or points to a different location, the " |
| 133 |
"service must exit without error\\&. It is possible for multiple update " |
| 134 |
"services to be installed, and for multiple update services to be launched in " |
| 135 |
"parallel, and only the one that corresponds to the tool that I<created> the " |
| 136 |
"symlink before reboot should perform any actions\\&. It is unsafe to run " |
| 137 |
"multiple updates in parallel\\&." |
| 138 |
msgstr "" |
| 139 |
|
| 140 |
#. type: Plain text |
| 141 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 142 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 143 |
msgid "" |
| 144 |
"The update service should now do its job\\&. If applicable and possible, it " |
| 145 |
"should create a file system snapshot, then install all packages\\&. After " |
| 146 |
"completion (regardless whether the update succeeded or failed) the machine " |
| 147 |
"must be rebooted, for example by calling B<systemctl reboot>\\&. In " |
| 148 |
"addition, on failure the script should revert to the old file system " |
| 149 |
"snapshot (without the symlink)\\&." |
| 150 |
msgstr "" |
| 151 |
|
| 152 |
#. type: Plain text |
| 153 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 154 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 155 |
msgid "" |
| 156 |
"The update scripts should exit only after the update is finished\\&. It is " |
| 157 |
"expected that the service which performs the update will cause the machine " |
| 158 |
"to reboot after it is done\\&. If the system-update\\&.target is " |
| 159 |
"successfully reached, i\\&.e\\&. all update services have run, and the /" |
| 160 |
"system-update or /etc/system-update symlink still exists, it will be removed " |
| 161 |
"and the machine rebooted as a safety measure\\&." |
| 162 |
msgstr "" |
| 163 |
|
| 164 |
#. type: Plain text |
| 165 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 166 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 167 |
msgid "" |
| 168 |
"After a reboot, now that the /system-update and /etc/system-update symlink " |
| 169 |
"is gone, the generator will not redirect default\\&.target anymore and the " |
| 170 |
"system now boots into the default target again\\&." |
| 171 |
msgstr "" |
| 172 |
|
| 173 |
#. type: SH |
| 174 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 175 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 176 |
#, no-wrap |
| 177 |
msgid "RECOMMENDATIONS" |
| 178 |
msgstr "" |
| 179 |
|
| 180 |
#. type: Plain text |
| 181 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 182 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 183 |
msgid "" |
| 184 |
"To make things a bit more robust we recommend hooking the update script into " |
| 185 |
"system-update\\&.target via a \\&.wants/ symlink in the distribution " |
| 186 |
"package, rather than depending on B<systemctl enable> in the postinst " |
| 187 |
"scriptlets of your package\\&. More specifically, for your update script " |
| 188 |
"create a \\&.service file, without [Install] section, and then add a symlink " |
| 189 |
"like /usr/lib/systemd/system/system-update\\&.target\\&.wants/" |
| 190 |
"foobar\\&.service → \\&.\\&./foobar\\&.service to your package\\&." |
| 191 |
msgstr "" |
| 192 |
|
| 193 |
#. type: Plain text |
| 194 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 195 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 196 |
msgid "" |
| 197 |
"Make sure to remove the /system-update and /etc/system-update symlinks as " |
| 198 |
"early as possible in the update script to avoid reboot loops in case the " |
| 199 |
"update fails\\&." |
| 200 |
msgstr "" |
| 201 |
|
| 202 |
#. type: Plain text |
| 203 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 204 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 205 |
msgid "" |
| 206 |
"Use I<FailureAction=reboot> in the service file for your update script to " |
| 207 |
"ensure that a reboot is automatically triggered if the update fails\\&. " |
| 208 |
"I<FailureAction=> makes sure that the specified unit is activated if your " |
| 209 |
"script exits uncleanly (by non-zero error code, or signal/coredump)\\&. If " |
| 210 |
"your script succeeds you should trigger the reboot in your own code, for " |
| 211 |
"example by invoking logind\\*(Aqs B<Reboot()> call or calling B<systemctl " |
| 212 |
"reboot>\\&. See B<org.freedesktop.login1>(5) for details about the logind D-" |
| 213 |
"Bus API\\&." |
| 214 |
msgstr "" |
| 215 |
|
| 216 |
#. type: Plain text |
| 217 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 218 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 219 |
msgid "" |
| 220 |
"The update service should declare I<DefaultDependencies=no>, " |
| 221 |
"I<Requires=sysinit\\&.target>, I<After=sysinit\\&.target>, I<After=system-" |
| 222 |
"update-pre\\&.target>, I<Before=system-update\\&.target> and explicitly pull " |
| 223 |
"in any other services it requires\\&." |
| 224 |
msgstr "" |
| 225 |
|
| 226 |
#. type: Plain text |
| 227 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 228 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 229 |
msgid "" |
| 230 |
"It may be desirable to always run an auxiliary unit when booting into " |
| 231 |
"offline-updates mode, which itself does not install updates\\&. To do this " |
| 232 |
"create a \\&.service file with I<Wants=system-update-pre\\&.target> and " |
| 233 |
"I<Before=system-update-pre\\&.target> and add a symlink to that file under /" |
| 234 |
"usr/lib/systemd/system-update\\&.target\\&.wants \\&." |
| 235 |
msgstr "" |
| 236 |
|
| 237 |
#. type: SH |
| 238 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 239 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 240 |
#, no-wrap |
| 241 |
msgid "SEE ALSO" |
| 242 |
msgstr "" |
| 243 |
|
| 244 |
#. type: Plain text |
| 245 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 246 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 247 |
msgid "" |
| 248 |
"B<systemd>(1), B<systemd.generator>(7), B<systemd-system-update-" |
| 249 |
"generator>(8), B<dnf.plugin.system-upgrade>(8)" |
| 250 |
msgstr "" |
| 251 |
|
| 252 |
#. type: SH |
| 253 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 254 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 255 |
#, no-wrap |
| 256 |
msgid "NOTES" |
| 257 |
msgstr "" |
| 258 |
|
| 259 |
#. type: IP |
| 260 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 261 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 262 |
#, no-wrap |
| 263 |
msgid " 1." |
| 264 |
msgstr "" |
| 265 |
|
| 266 |
#. type: Plain text |
| 267 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 268 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 269 |
msgid "GNOME design whiteboard" |
| 270 |
msgstr "" |
| 271 |
|
| 272 |
#. type: Plain text |
| 273 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 274 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 275 |
msgid "\\%https://wiki.gnome.org/Design/OS/SoftwareUpdates" |
| 276 |
msgstr "" |
| 277 |
|
| 278 |
#. type: TH |
| 279 |
#: debian-trixie opensuse-leap-16-1 |
| 280 |
#, no-wrap |
| 281 |
msgid "systemd 257.13" |
| 282 |
msgstr "" |
| 283 |
|
| 284 |
#. type: TH |
| 285 |
#: debian-unstable |
| 286 |
#, no-wrap |
| 287 |
msgid "systemd 261~rc3" |
| 288 |
msgstr "" |
| 289 |
|
| 290 |
#. type: TH |
| 291 |
#: fedora-44 |
| 292 |
#, no-wrap |
| 293 |
msgid "systemd 259.5" |
| 294 |
msgstr "" |
| 295 |
|
| 296 |
#. type: TH |
| 297 |
#: fedora-rawhide |
| 298 |
#, no-wrap |
| 299 |
msgid "systemd 261~rc2" |
| 300 |
msgstr "" |
| 301 |
|
| 302 |
#. type: TH |
| 303 |
#: mageia-cauldron |
| 304 |
#, no-wrap |
| 305 |
msgid "systemd 258.7" |
| 306 |
msgstr "" |
| 307 |
|
| 308 |
#. type: TH |
| 309 |
#: opensuse-tumbleweed |
| 310 |
#, no-wrap |
| 311 |
msgid "systemd 260.1" |
| 312 |
msgstr "" |