{"id":3393,"date":"2022-12-20T17:02:32","date_gmt":"2022-12-20T20:02:32","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/systemdupdatedone-service-man8\/"},"modified":"2022-12-20T17:02:32","modified_gmt":"2022-12-20T20:02:32","slug":"systemdupdatedone-service-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/systemdupdatedone-service-man8\/","title":{"rendered":"SYSTEMD&minus;UPDATE&minus;DONE.SERVICE (man8)"},"content":{"rendered":"<h1 align=\"center\">SYSTEMD\u2212UPDATE\u2212DONE.SERVICE<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">systemd-update-done.service, systemd-update-done \u2212 Mark \/etc and \/var fully updated<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">systemd\u2212update\u2212done.service<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\/usr\/lib\/systemd\/systemd\u2212update\u2212done<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">systemd\u2212update\u2212done.service is a service that is invoked as part of the first boot after the vendor operating system resources in \/usr have been updated. This is useful to implement offline updates of \/usr which might require updates to \/etc or \/var on the following boot.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">systemd\u2212update\u2212done.service updates the file modification time (mtime) of the stamp files \/etc\/.updated and \/var\/.updated to the modification time of the \/usr directory, unless the stamp files are already newer.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Services that shall run after offline upgrades of \/usr should order themselves before systemd\u2212update\u2212done.service, and use the <i>ConditionNeedsUpdate=<\/i> (see <b>systemd.unit<\/b>(5)) condition to make sure to run when \/etc or \/var are older than \/usr according to the modification times of the files described above. This requires that updates to \/usr are always followed by an update of the modification time of \/usr, for example by invoking <b>touch<\/b>(1) on it.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Note that if the <i>systemd.condition\u2212needs\u2212update=<\/i> kernel command line option is used it overrides the <i>ConditionNeedsUpdate=<\/i> unit condition checks. In that case systemd\u2212update\u2212done.service will not reset the condition state until a follow\u2212up reboot where the kernel switch is not specified anymore.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>systemd<\/b>(1), <b>systemd.unit<\/b>(5), <b>touch<\/b>(1)<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  systemd-update-done.service, systemd-update-done \u2212 Mark \/etc and \/var fully updated <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,4,521],"class_list":["post-3393","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-systemd-update-done"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3393","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3393"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3393\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3393"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3393"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3393"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}