Hello community, here is the log from the commit of package transactional-update for openSUSE:Factory checked in at 2018-03-07 10:38:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/transactional-update (Old) and /work/SRC/openSUSE:Factory/.transactional-update.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "transactional-update" Wed Mar 7 10:38:19 2018 rev:21 rq:583380 version:1.27 Changes: -------- --- /work/SRC/openSUSE:Factory/transactional-update/transactional-update.changes 2018-02-24 16:38:58.158335295 +0100 +++ /work/SRC/openSUSE:Factory/.transactional-update.new/transactional-update.changes 2018-03-07 10:38:21.954496155 +0100 @@ -1,0 +2,8 @@ +Tue Mar 6 13:32:38 CET 2018 - ku...@suse.de + +- Update to version 1.27 + - Fallback to snapper without dbus support if dbus fails + - Add workaround for update-alternatives + - Add support for /usr/etc/transactional-update.conf + +------------------------------------------------------------------- Old: ---- transactional-update-1.26.tar.bz2 New: ---- transactional-update-1.27.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ transactional-update.spec ++++++ --- /var/tmp/diff_new_pack.75Glf2/_old 2018-03-07 10:38:22.654470907 +0100 +++ /var/tmp/diff_new_pack.75Glf2/_new 2018-03-07 10:38:22.658470762 +0100 @@ -17,7 +17,7 @@ Name: transactional-update -Version: 1.26 +Version: 1.27 Release: 0 Summary: Transactional Updates with btrfs and snapshots License: GPL-2.0-or-later @@ -46,6 +46,9 @@ %install %make_install +# In /etc is for admins to overwrite /usr/etc, so don't +# install it there. +rm %{buildroot}%{_sysconfdir}/transactional-update.conf %fdupes %{buildroot}%{_mandir} %pre @@ -63,12 +66,13 @@ %files %license COPYING %doc NEWS -%config(noreplace) %{_sysconfdir}/transactional-update.conf %config(noreplace) %{_sysconfdir}/logrotate.d/transactional-update %{_unitdir}/transactional-update.service %{_unitdir}/transactional-update.timer %{_sbindir}/transactional-update %{_sbindir}/tu-rebuild-kdump-initrd +%dir %{_prefix}%{_sysconfdir} +%{_prefix}%{_sysconfdir}/transactional-update.conf %{_mandir}/man5/transactional-update.conf.5%{ext_man} %{_mandir}/man8/transactional-update.8%{ext_man} %{_mandir}/man8/transactional-update.timer.8%{ext_man} ++++++ transactional-update-1.26.tar.bz2 -> transactional-update-1.27.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.26/NEWS new/transactional-update-1.27/NEWS --- old/transactional-update-1.26/NEWS 2018-01-31 10:51:45.000000000 +0100 +++ new/transactional-update-1.27/NEWS 2018-03-06 13:26:01.000000000 +0100 @@ -2,6 +2,11 @@ Copyright (C) 2016, 2017, 2018 Thorsten Kukuk +Version 1.27 +* Fallback to snapper without dbus support if dbus fails +* Add workaround for update-alternatives +* Add support for /usr/etc/transactional-update.conf + Version 1.26 * Auto accept repo keys config option * Detect broken snapshots after abort diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.26/configure new/transactional-update-1.27/configure --- old/transactional-update-1.26/configure 2018-01-31 10:51:47.000000000 +0100 +++ new/transactional-update-1.27/configure 2018-03-06 13:26:08.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for transactional-update 1.26. +# Generated by GNU Autoconf 2.69 for transactional-update 1.27. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -576,8 +576,8 @@ # Identity of this package. PACKAGE_NAME='transactional-update' PACKAGE_TARNAME='transactional-update' -PACKAGE_VERSION='1.26' -PACKAGE_STRING='transactional-update 1.26' +PACKAGE_VERSION='1.27' +PACKAGE_STRING='transactional-update 1.27' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1212,7 +1212,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures transactional-update 1.26 to adapt to many kinds of systems. +\`configure' configures transactional-update 1.27 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1279,7 +1279,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of transactional-update 1.26:";; + short | recursive ) echo "Configuration of transactional-update 1.27:";; esac cat <<\_ACEOF @@ -1359,7 +1359,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -transactional-update configure 1.26 +transactional-update configure 1.27 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1376,7 +1376,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by transactional-update $as_me 1.26, which was +It was created by transactional-update $as_me 1.27, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2239,7 +2239,7 @@ # Define the identity of the package. PACKAGE='transactional-update' - VERSION='1.26' + VERSION='1.27' cat >>confdefs.h <<_ACEOF @@ -3186,7 +3186,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by transactional-update $as_me 1.26, which was +This file was extended by transactional-update $as_me 1.27, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -3239,7 +3239,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -transactional-update config.status 1.26 +transactional-update config.status 1.27 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.26/configure.ac new/transactional-update-1.27/configure.ac --- old/transactional-update-1.26/configure.ac 2018-01-31 10:48:24.000000000 +0100 +++ new/transactional-update-1.27/configure.ac 2018-03-06 12:58:14.000000000 +0100 @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(transactional-update, 1.26) +AC_INIT(transactional-update, 1.27) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([sbin/transactional-update.in]) AC_PREFIX_DEFAULT(/usr) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.26/doc/Makefile.in new/transactional-update-1.27/doc/Makefile.in --- old/transactional-update-1.26/doc/Makefile.in 2018-01-31 10:51:47.000000000 +0100 +++ new/transactional-update-1.27/doc/Makefile.in 2018-03-06 13:26:08.000000000 +0100 @@ -211,9 +211,9 @@ exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \ $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign doc/Makefile + $(AUTOMAKE) --gnu doc/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.26/etc/Makefile.am new/transactional-update-1.27/etc/Makefile.am --- old/transactional-update-1.26/etc/Makefile.am 2018-01-22 13:01:43.000000000 +0100 +++ new/transactional-update-1.27/etc/Makefile.am 2018-03-05 16:44:00.000000000 +0100 @@ -5,3 +5,7 @@ sysconf_DATA = transactional-update.conf EXTRA_DIST = $(DATA) + +install-data-local: + $(mkinstalldirs) $(DESTDIR)$(prefix)/etc + $(INSTALL_DATA) $(srcdir)/$(DATA) $(DESTDIR)$(prefix)/etc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.26/etc/Makefile.in new/transactional-update-1.27/etc/Makefile.in --- old/transactional-update-1.26/etc/Makefile.in 2018-01-31 10:51:47.000000000 +0100 +++ new/transactional-update-1.27/etc/Makefile.in 2018-03-06 13:26:08.000000000 +0100 @@ -238,9 +238,9 @@ exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign etc/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu etc/Makefile'; \ $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign etc/Makefile + $(AUTOMAKE) --gnu etc/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ @@ -374,7 +374,7 @@ info-am: -install-data-am: +install-data-am: install-data-local install-dvi: install-dvi-am @@ -425,16 +425,20 @@ .PHONY: all all-am check check-am clean clean-generic cscopelist-am \ ctags-am distclean distclean-generic distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ - install-data-am install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip install-sysconfDATA \ - installcheck installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ - pdf-am ps ps-am tags-am uninstall uninstall-am \ - uninstall-sysconfDATA + install-data-am install-data-local install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + install-sysconfDATA installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \ + uninstall-am uninstall-sysconfDATA +install-data-local: + $(mkinstalldirs) $(DESTDIR)$(prefix)/etc + $(INSTALL_DATA) $(srcdir)/$(DATA) $(DESTDIR)$(prefix)/etc + # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.26/logrotate/Makefile.in new/transactional-update-1.27/logrotate/Makefile.in --- old/transactional-update-1.26/logrotate/Makefile.in 2018-01-31 10:51:47.000000000 +0100 +++ new/transactional-update-1.27/logrotate/Makefile.in 2018-03-06 13:26:08.000000000 +0100 @@ -239,9 +239,9 @@ exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign logrotate/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu logrotate/Makefile'; \ $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign logrotate/Makefile + $(AUTOMAKE) --gnu logrotate/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.26/man/Makefile.am new/transactional-update-1.27/man/Makefile.am --- old/transactional-update-1.26/man/Makefile.am 2018-01-22 13:01:43.000000000 +0100 +++ new/transactional-update-1.27/man/Makefile.am 2018-03-05 16:44:00.000000000 +0100 @@ -26,8 +26,16 @@ --stringparam package.name $(PACKAGE) \ --stringparam package.version $(VERSION) \ --stringparam chunker.output.encoding UTF-8 \ + --stringparam sysconfdir $(sysconfdir) \ + --stringparam prefix $(prefix) \ $(srcdir)/custom-html.xsl +XSLTPROC_FLAGS_MAN = \ + --nonet \ + --xinclude \ + --stringparam sysconfdir $(sysconfdir) \ + --stringparam prefix $(prefix) \ + $(srcdir)/custom-man.xsl if ENABLE_REGENERATE_MAN define html_alias @@ -38,7 +46,7 @@ python $(srcdir)/make-man-index.py $(srcdir)/$@ $(XMLS) transactional-update.8: transactional-update.8.xml - $(XSLTPROC) -o $(srcdir)/$@ --path $(srcdir) --xinclude --nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< + $(XSLTPROC) -o $(srcdir)/$@ --path $(srcdir) $(XSLTPROC_FLAGS_MAN) $< transactional-update.service.8: transactional-update.8 @@ -57,7 +65,7 @@ $(XSLTPROC) -o $(srcdir)/$@ --path $(srcdir) $(XSLTPROC_FLAGS_HTML) $< transactional-update.conf.5: transactional-update.conf.5.xml - $(XSLTPROC) -o $(srcdir)/$@ --path $(srcdir) --xinclude --nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< + $(XSLTPROC) -o $(srcdir)/$@ --path $(srcdir) $(XSLTPROC_FLAGS_MAN) $< transactional-update.conf.5.html: transactional-update.conf.5.xml custom-html.xsl $(XSLTPROC) -o $(srcdir)/$@ --path $(srcdir) $(XSLTPROC_FLAGS_HTML) $< diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.26/man/Makefile.in new/transactional-update-1.27/man/Makefile.in --- old/transactional-update-1.26/man/Makefile.in 2018-01-31 10:51:47.000000000 +0100 +++ new/transactional-update-1.27/man/Makefile.in 2018-03-06 13:26:08.000000000 +0100 @@ -250,8 +250,17 @@ --stringparam package.name $(PACKAGE) \ --stringparam package.version $(VERSION) \ --stringparam chunker.output.encoding UTF-8 \ + --stringparam sysconfdir $(sysconfdir) \ + --stringparam prefix $(prefix) \ $(srcdir)/custom-html.xsl +XSLTPROC_FLAGS_MAN = \ + --nonet \ + --xinclude \ + --stringparam sysconfdir $(sysconfdir) \ + --stringparam prefix $(prefix) \ + $(srcdir)/custom-man.xsl + all: all-am .SUFFIXES: @@ -264,9 +273,9 @@ exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign man/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu man/Makefile'; \ $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign man/Makefile + $(AUTOMAKE) --gnu man/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ @@ -537,7 +546,7 @@ @ENABLE_REGENERATE_MAN_TRUE@ python $(srcdir)/make-man-index.py $(srcdir)/$@ $(XMLS) @ENABLE_REGENERATE_MAN_TRUE@transactional-update.8: transactional-update.8.xml -@ENABLE_REGENERATE_MAN_TRUE@ $(XSLTPROC) -o $(srcdir)/$@ --path $(srcdir) --xinclude --nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< +@ENABLE_REGENERATE_MAN_TRUE@ $(XSLTPROC) -o $(srcdir)/$@ --path $(srcdir) $(XSLTPROC_FLAGS_MAN) $< @ENABLE_REGENERATE_MAN_TRUE@transactional-update.service.8: transactional-update.8 @@ -556,7 +565,7 @@ @ENABLE_REGENERATE_MAN_TRUE@ $(XSLTPROC) -o $(srcdir)/$@ --path $(srcdir) $(XSLTPROC_FLAGS_HTML) $< @enable_regenerate_man_t...@transactional-update.conf.5: transactional-update.conf.5.xml -@ENABLE_REGENERATE_MAN_TRUE@ $(XSLTPROC) -o $(srcdir)/$@ --path $(srcdir) --xinclude --nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< +@ENABLE_REGENERATE_MAN_TRUE@ $(XSLTPROC) -o $(srcdir)/$@ --path $(srcdir) $(XSLTPROC_FLAGS_MAN) $< @enable_regenerate_man_t...@transactional-update.conf.5.html: transactional-update.conf.5.xml custom-html.xsl @ENABLE_REGENERATE_MAN_TRUE@ $(XSLTPROC) -o $(srcdir)/$@ --path $(srcdir) $(XSLTPROC_FLAGS_HTML) $< diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.26/man/custom-html.xsl new/transactional-update-1.27/man/custom-html.xsl --- old/transactional-update-1.26/man/custom-html.xsl 2017-07-03 13:07:33.000000000 +0200 +++ new/transactional-update-1.27/man/custom-html.xsl 2018-03-05 16:44:00.000000000 +0100 @@ -19,7 +19,9 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. --> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" + xmlns:exsl="http://exslt.org/common" version="1.0"> <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"/> <!-- @@ -32,6 +34,8 @@ - for this stylesheet contains its own custom ID logic (for generating permalinks) already. --> <xsl:param name="generate.consistent.ids" select="1"/> +<xsl:param name="sysconfdir"/> +<xsl:param name="prefix"/> <!-- translate man page references to links to html pages --> <xsl:template match="citerefentry[not(@project)]"> @@ -262,6 +266,17 @@ <xsl:text>"</xsl:text> </xsl:template> +<xsl:template match="filename"> + <xsl:variable name="replacements"> + <ss:substitution oldstring="%sysconfdir%" newstring="{$sysconfdir}" /> + <ss:substitution oldstring="%prefix%" newstring="{$prefix}" /> + </xsl:variable> + <xsl:call-template name="apply-string-subst-map"> + <xsl:with-param name="content" select="."/> + <xsl:with-param name="map.contents" select="exsl:node-set($replacements)/*" /> + </xsl:call-template> +</xsl:template> + <!-- Switch things to UTF-8, ISO-8859-1 is soo yesteryear --> <xsl:output method="html" encoding="UTF-8" indent="no"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.26/man/transactional-update.8 new/transactional-update-1.27/man/transactional-update.8 --- old/transactional-update-1.26/man/transactional-update.8 2018-01-29 17:23:24.000000000 +0100 +++ new/transactional-update-1.27/man/transactional-update.8 2018-01-31 16:12:29.000000000 +0100 @@ -2,12 +2,12 @@ .\" Title: transactional-update .\" Author: Thorsten Kukuk <ku...@suse.com> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> -.\" Date: 01/29/2018 +.\" Date: 01/31/2018 .\" Manual: transactional-update .\" Source: transactional-update .\" Language: English .\" -.TH "TRANSACTIONAL\-UPDAT" "8" "01/29/2018" "transactional-update" "transactional-update" +.TH "TRANSACTIONAL\-UPDAT" "8" "01/31/2018" "transactional-update" "transactional-update" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.26/man/transactional-update.8.html new/transactional-update-1.27/man/transactional-update.8.html --- old/transactional-update-1.26/man/transactional-update.8.html 2018-01-29 17:23:24.000000000 +0100 +++ new/transactional-update-1.27/man/transactional-update.8.html 2018-03-06 13:27:29.000000000 +0100 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>transactional-update</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><style> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>transactional-update</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><style xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"> a.headerlink { color: #c60f0f; font-size: 0.8em; @@ -15,8 +15,8 @@ h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink { visibility: visible; } - </style><a href="transactional-update.index.html">Index </a><span style="float:right">transactional-update 1.25</span><hr><div class="refentry"><a name="transactional-update.8"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>transactional-update, transactional-update.service, transactional-update.timer — Apply updates to the system in an atomic way via transactional - updates.</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">transactional-update</code> [--help] [--version]</p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> [cleanup] [ up | dup | patch | bootloader | initrd ] [kdump] [reboot]</p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> [cleanup] [reboot] pkg install | remove | update <RPM>...<RPM> </p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> migration </p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> rollback [number]</p></div><p><code class="filename">transactional-update.service</code></p><p><code class="filename">transactional-update.timer</code></p></div><div class="refsect1"><a name="description"></a><h2 id="DESCRIPTION">DESCRIPTION<a class="headerlink" title="Permalink to this headline" href="#DESCRIPTION">¶</a></h2><p><span class="command"><strong>transactional-update</strong></span> updates the system + </style><a xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common" href="transactional-update.index.html">Index </a><span xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common" style="float:right">transactional-update 1.27</span><hr xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><div class="refentry"><a name="transactional-update.8"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>transactional-update, transactional-update.service, transactional-update.timer — Apply updates to the system in an atomic way via transactional + updates.</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">transactional-update</code> [--help] [--version]</p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> [cleanup] [ up | dup | patch | bootloader | initrd ] [kdump] [reboot]</p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> [cleanup] [reboot] pkg install | remove | update <RPM>...<RPM> </p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> migration </p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> rollback [number]</p></div><p>transactional-update.service</p><p>transactional-update.timer</p></div><div class="refsect1"><a name="description"></a><h2 id="DESCRIPTION">DESCRIPTION<a class="headerlink" title="Permalink to this headline" href="#DESCRIPTION">¶</a></h2><p><span class="command"><strong>transactional-update</strong></span> updates the system in a transactional way, which means: it is atomic, so either the patches are fully applied or nothing is changed. The update does not influence your running system and it can be rolled back. To activate the changes, the system @@ -31,51 +31,51 @@ reboot. For this reason, after an successfull update, the system should be rebooted as fast as possible. </p><p>For easier maintenance of big clusters, <span class="command"><strong>transactional-update</strong></span> is regular run by -<a href="https://www.freedesktop.org/software/systemd/man/systemd.timer.html"><span class="citerefentry"><span class="refentrytitle">systemd.timer</span>(5)</span></a>. +<a xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common" href="https://www.freedesktop.org/software/systemd/man/systemd.timer.html"><span class="citerefentry"><span class="refentrytitle">systemd.timer</span>(5)</span></a>. The time, at which the command is run, can be modified by a configuration file -<code class="filename">/etc/systemd/system/transactional-update.timer.d/local.conf</code>. See -<a href="https://www.freedesktop.org/software/systemd/man/systemd.unit.html"><span class="citerefentry"><span class="refentrytitle">systemd.unit</span>(5)</span></a> +/etc/systemd/system/transactional-update.timer.d/local.conf. See +<a xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common" href="https://www.freedesktop.org/software/systemd/man/systemd.unit.html"><span class="citerefentry"><span class="refentrytitle">systemd.unit</span>(5)</span></a> for more informations. -</p></div><div class="refsect1"><a name="options"></a><h2 id="OPTIONS">OPTIONS<a class="headerlink" title="Permalink to this headline" href="#OPTIONS">¶</a></h2><div class="variablelist"><dl class="variablelist"><dt id="cleanup"><span class="term"><code class="option">cleanup</code></span><a class="headerlink" title="Permalink to this term" href="#cleanup">¶</a></dt><dd><p>If the current root filesystem is identical to the active root +</p></div><div class="refsect1"><a name="options"></a><h2 id="OPTIONS">OPTIONS<a class="headerlink" title="Permalink to this headline" href="#OPTIONS">¶</a></h2><div class="variablelist"><dl class="variablelist"><dt id="cleanup"><span class="term"><code class="option">cleanup</code></span><a class="headerlink" title="Permalink to this term" href="#cleanup">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p>If the current root filesystem is identical to the active root filesystem (means after a reboot, before <span class="command"><strong>transactional-update</strong></span> creates a new snapshot with updates), all old snapshots without a cleanup algorithm get a cleanup algorithm set. This is to make sure, that old snapshots will be deleted by snapper. See the section about cleanup algorithms in <a href="http://snapper.io/manpages/snapper.html"><span class="citerefentry"><span class="refentrytitle">snapper</span>(8)</span></a>. - </p></dd><dt id="dup"><span class="term"><code class="option">dup</code></span><a class="headerlink" title="Permalink to this term" href="#dup">¶</a></dt><dd><p> + </p></dd><dt id="dup"><span class="term"><code class="option">dup</code></span><a class="headerlink" title="Permalink to this term" href="#dup">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> If new updates are available, a new snapshot is created and <span class="command"><strong>zypper dup --no-allow-vendor-change</strong></span> is used to update the snapshot. Afterwards, the snapshot is activated and will be used as the new root filesystem during next boot. - </p></dd><dt id="grub.cfg"><span class="term"><code class="option">grub.cfg</code></span><a class="headerlink" title="Permalink to this term" href="#grub.cfg">¶</a></dt><dd><p> + </p></dd><dt id="grub.cfg"><span class="term"><code class="option">grub.cfg</code></span><a class="headerlink" title="Permalink to this term" href="#grub.cfg">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> <a href="https://www.linux.org/docs/man8/grub2-mkconfig.html"><span class="citerefentry"><span class="refentrytitle">grub2-mkconfig</span>(8)</span></a> - is called to create a new <code class="filename">/boot/grub2/grub.cfg</code> + is called to create a new /boot/grub2/grub.cfg configuration file for the bootloader. - </p></dd><dt id="bootloader"><span class="term"><code class="option">bootloader</code></span><a class="headerlink" title="Permalink to this term" href="#bootloader">¶</a></dt><dd><p> + </p></dd><dt id="bootloader"><span class="term"><code class="option">bootloader</code></span><a class="headerlink" title="Permalink to this term" href="#bootloader">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> A new snapshot is created, the bootloader configuration updated and the boorloader newly written. - </p></dd><dt id="initrd"><span class="term"><code class="option">initrd</code></span><a class="headerlink" title="Permalink to this term" href="#initrd">¶</a></dt><dd><p> + </p></dd><dt id="initrd"><span class="term"><code class="option">initrd</code></span><a class="headerlink" title="Permalink to this term" href="#initrd">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> A new initrd is created in a snapshot. - </p></dd><dt id="kdump"><span class="term"><code class="option">kdump</code></span><a class="headerlink" title="Permalink to this term" href="#kdump">¶</a></dt><dd><p> + </p></dd><dt id="kdump"><span class="term"><code class="option">kdump</code></span><a class="headerlink" title="Permalink to this term" href="#kdump">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> A new initrd for kdump is created in a snapshot. - </p></dd><dt id="migration"><span class="term"><code class="option">migration</code></span><a class="headerlink" title="Permalink to this term" href="#migration">¶</a></dt><dd><p> + </p></dd><dt id="migration"><span class="term"><code class="option">migration</code></span><a class="headerlink" title="Permalink to this term" href="#migration">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> On systems which are registered against the SUSE Customer Center (SCC) or SMT, a migration to a new version of the installed products can be made with this option. This is done in an interactive mode. - </p></dd><dt id="patch"><span class="term"><code class="option">patch</code></span><a class="headerlink" title="Permalink to this term" href="#patch">¶</a></dt><dd><p> + </p></dd><dt id="patch"><span class="term"><code class="option">patch</code></span><a class="headerlink" title="Permalink to this term" href="#patch">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> If new updates are available, a new snapshot is created and <span class="command"><strong>zypper patch</strong></span> is used to update the snapshot. Afterwards, the snapshot is activated and will be used as the new root filesystem during next boot. - </p></dd><dt id="pkg install <RPM> ... <RPM>"><span class="term"><code class="option">pkg install</code> <em class="replaceable"><code><RPM> ... <RPM></code></em></span><a class="headerlink" title="Permalink to this term" href="#pkg%20install%20<RPM>%20...%20<RPM>">¶</a></dt><dd><p> + </p></dd><dt id="pkg install <RPM> ... <RPM>"><span class="term"><code class="option">pkg install</code> <em class="replaceable"><code><RPM> ... <RPM></code></em></span><a class="headerlink" title="Permalink to this term" href="#pkg%20install%20<RPM>%20...%20<RPM>">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> A PTF or other packages in RPM format can be installed in the system. - </p></dd><dt id="pkg remove <RPM> ... <RPM>"><span class="term"><code class="option">pkg remove</code> <em class="replaceable"><code><RPM> ... <RPM></code></em></span><a class="headerlink" title="Permalink to this term" href="#pkg%20remove%20<RPM>%20...%20<RPM>">¶</a></dt><dd><p> + </p></dd><dt id="pkg remove <RPM> ... <RPM>"><span class="term"><code class="option">pkg remove</code> <em class="replaceable"><code><RPM> ... <RPM></code></em></span><a class="headerlink" title="Permalink to this term" href="#pkg%20remove%20<RPM>%20...%20<RPM>">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> A PTF or other installed packages in RPM format can be removed from the system. - </p></dd><dt id="pkg update <RPM> ... <RPM>"><span class="term"><code class="option">pkg update</code> <em class="replaceable"><code><RPM> ... <RPM></code></em></span><a class="headerlink" title="Permalink to this term" href="#pkg%20update%20<RPM>%20...%20<RPM>">¶</a></dt><dd><p> + </p></dd><dt id="pkg update <RPM> ... <RPM>"><span class="term"><code class="option">pkg update</code> <em class="replaceable"><code><RPM> ... <RPM></code></em></span><a class="headerlink" title="Permalink to this term" href="#pkg%20update%20<RPM>%20...%20<RPM>">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> Packages installed as RPMs can be updated. - </p></dd><dt id="reboot"><span class="term"><code class="option">reboot</code></span><a class="headerlink" title="Permalink to this term" href="#reboot">¶</a></dt><dd><p> + </p></dd><dt id="reboot"><span class="term"><code class="option">reboot</code></span><a class="headerlink" title="Permalink to this term" href="#reboot">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> If a new snapshot with updates was created, the system should be rebooted. This option will trigger the necessary reboot. If the <a href="rebootmgrd.8.html"><span class="citerefentry"><span class="refentrytitle">rebootmgrd</span>(8)</span></a> @@ -84,7 +84,7 @@ <span class="command"><strong>systemctl reboot</strong></span> is called. </p></dd><dt id="rollback number"><span class="term"><code class="option">rollback</code> - [<span class="optional"><em class="replaceable"><code>number</code></em></span>]</span><a class="headerlink" title="Permalink to this term" href="#rollback%0A%20%20%20%20number">¶</a></dt><dd><p> + [<span class="optional"><em class="replaceable"><code>number</code></em></span>]</span><a class="headerlink" title="Permalink to this term" href="#rollback%0A%20%20%20%20number">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> Sets the default subvolume. On systems with read-write filesystem, <a href="http://snapper.io/manpages/snapper.html"><span class="citerefentry"><span class="refentrytitle">snapper</span>(8)</span></a> <code class="option"> rollback</code> is called. On a read-only filesystem, @@ -92,16 +92,16 @@ filesystem. Else the snapshot with <code class="option">number</code> is made the new default root filesystem. On a read-only filesystem, no additional snapshots are created. - </p></dd><dt id="shell"><span class="term"><code class="option">shell</code></span><a class="headerlink" title="Permalink to this term" href="#shell">¶</a></dt><dd><p> + </p></dd><dt id="shell"><span class="term"><code class="option">shell</code></span><a class="headerlink" title="Permalink to this term" href="#shell">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> After all actions are done, before the snapshot with the changes is unmounted and switched to read-only, a shell is started in the new snapshot as chroot environment for testing and debugging. - </p></dd><dt id="up"><span class="term"><code class="option">up</code></span><a class="headerlink" title="Permalink to this term" href="#up">¶</a></dt><dd><p> + </p></dd><dt id="up"><span class="term"><code class="option">up</code></span><a class="headerlink" title="Permalink to this term" href="#up">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> If new updates are available, a new snapshot is created and <span class="command"><strong>zypper up</strong></span> is used to update the snapshot. Afterwards, the snapshot is activated and will be used as the new root filesystem during next boot. - </p></dd><dt id="--help"><span class="term"><code class="option">--help</code></span><a class="headerlink" title="Permalink to this term" href="#--help">¶</a></dt><dd><p>Display help and exit</p></dd><dt id="--version"><span class="term"><code class="option">--version</code></span><a class="headerlink" title="Permalink to this term" href="#--version">¶</a></dt><dd><p>Output version information and exit</p></dd></dl></div></div><div class="refsect1"><a name="important"></a><h2 id="IMPORTANT">IMPORTANT<a class="headerlink" title="Permalink to this headline" href="#IMPORTANT">¶</a></h2><p> + </p></dd><dt id="--help"><span class="term"><code class="option">--help</code></span><a class="headerlink" title="Permalink to this term" href="#--help">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p>Display help and exit</p></dd><dt id="--version"><span class="term"><code class="option">--version</code></span><a class="headerlink" title="Permalink to this term" href="#--version">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p>Output version information and exit</p></dd></dl></div></div><div class="refsect1"><a name="important"></a><h2 id="IMPORTANT">IMPORTANT<a class="headerlink" title="Permalink to this headline" href="#IMPORTANT">¶</a></h2><p> Only RPMs, which are fully part of the snapshot of the root filesystem, can be updated. If RPMs contains files outside of the snapshot, the update itself can break or can break the system. @@ -118,15 +118,15 @@ redone with the next reboot. After installing or removing PTFs, the system should be immeaditly rebooted. </p></div><div class="refsect1"><a name="notes"></a><h2 id="NOTES">NOTES<a class="headerlink" title="Permalink to this headline" href="#NOTES">¶</a></h2><p> - If <code class="filename">/etc/default/grub</code> was modified by an administrator, + If /etc/default/grub was modified by an administrator, the modified version is copied into the new snapshot. </p><p> - If during the update process <code class="filename">/etc/passwd</code>, - <code class="filename">/etc/group</code> or <code class="filename">/etc/shadow</code> are - modified and <code class="filename">/usr/etc</code> exists, the modified files are - copied into <code class="filename">/usr/etc</code> and can be accessed by tools like + If during the update process /etc/passwd, + /etc/group or /etc/shadow are + modified and /usr/etc exists, the modified files are + copied into /usr/etc and can be accessed by tools like <span class="command"><strong>libnss_usrfiles</strong></span>. This prevents that the new accounts are hidden by local modifications by the system administrator. -</p></div><div class="refsect1"><a name="see_also"></a><h2 id="SEE ALSO">SEE ALSO<a class="headerlink" title="Permalink to this headline" href="#SEE%20ALSO">¶</a></h2><p><a href="transactional-update.conf.5.html"><span class="citerefentry"><span class="refentrytitle">transactional-update.conf</span>(5)</span></a>, -<a href="https://www.freedesktop.org/software/systemd/man/systemd.timer.html"><span class="citerefentry"><span class="refentrytitle">systemd.timer</span>(5)</span></a>, -<a href="https://www.freedesktop.org/software/systemd/man/systemd.time.html"><span class="citerefentry"><span class="refentrytitle">systemd.time</span>(7)</span></a></p></div></div></body></html> +</p></div><div class="refsect1"><a name="see_also"></a><h2 id="SEE ALSO">SEE ALSO<a class="headerlink" title="Permalink to this headline" href="#SEE%20ALSO">¶</a></h2><p><a xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common" href="transactional-update.conf.5.html"><span class="citerefentry"><span class="refentrytitle">transactional-update.conf</span>(5)</span></a>, +<a xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common" href="https://www.freedesktop.org/software/systemd/man/systemd.timer.html"><span class="citerefentry"><span class="refentrytitle">systemd.timer</span>(5)</span></a>, +<a xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common" href="https://www.freedesktop.org/software/systemd/man/systemd.time.html"><span class="citerefentry"><span class="refentrytitle">systemd.time</span>(7)</span></a></p></div></div></body></html> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.26/man/transactional-update.conf.5 new/transactional-update-1.27/man/transactional-update.conf.5 --- old/transactional-update-1.26/man/transactional-update.conf.5 2018-01-31 10:47:30.000000000 +0100 +++ new/transactional-update-1.27/man/transactional-update.conf.5 2018-03-06 13:27:29.000000000 +0100 @@ -2,12 +2,12 @@ .\" Title: transactional-update.conf .\" Author: Ignaz Forster <ifors...@suse.com> .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> -.\" Date: 01/31/2018 +.\" Date: 03/06/2018 .\" Manual: transactional-update.conf .\" Source: transactional-update .\" Language: English .\" -.TH "TRANSACTIONAL\-UPDAT" "5" "01/31/2018" "transactional-update" "transactional-update.conf" +.TH "TRANSACTIONAL\-UPDAT" "5" "03/06/2018" "transactional-update" "transactional-update.conf" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -31,7 +31,7 @@ transactional-update.conf \- transactional\-update configuration file .SH "SYNOPSIS" .PP -/etc/transactional\-update\&.conf +/usr/etc/transactional\-update\&.conf .SH "DESCRIPTION" .PP This configuration file controls and defines the behaviour of @@ -41,6 +41,9 @@ transactional\-update\&.conf file uses shell style assignments, e\&.g\&. PARAMETER=value\&. +.PP +A reference file (also used for reading the default values) can be found in +/usr/etc/transactional\-update\&.conf\&. .SH "OPTIONS" .PP The following options are available in the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.26/man/transactional-update.conf.5.html new/transactional-update-1.27/man/transactional-update.conf.5.html --- old/transactional-update-1.26/man/transactional-update.conf.5.html 2018-01-31 10:47:30.000000000 +0100 +++ new/transactional-update-1.27/man/transactional-update.conf.5.html 2018-03-06 13:27:29.000000000 +0100 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>transactional-update.conf</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><style> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>transactional-update.conf</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><style xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"> a.headerlink { color: #c60f0f; font-size: 0.8em; @@ -15,11 +15,13 @@ h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink { visibility: visible; } - </style><a href="transactional-update.index.html">Index </a><span style="float:right">transactional-update 1.25</span><hr><div class="refentry"><a name="transactional-update.conf.5"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>transactional-update.conf — transactional-update configuration file</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><p><code class="filename">/etc/transactional-update.conf</code></p></div><div class="refsect1"><a name="id-1.5"></a><h2 id="Description">Description<a class="headerlink" title="Permalink to this headline" href="#Description">¶</a></h2><p>This configuration file controls and defines the behaviour of - <a href="transactional-update.8.html"><span class="citerefentry"><span class="refentrytitle">transactional-update</span>(8)</span></a>.</p><p>The transactional-update.conf file uses shell - style assignments, e.g. <code class="code">PARAMETER=value</code>.</p></div><div class="refsect1"><a name="id-1.6"></a><h2 id="Options">Options<a class="headerlink" title="Permalink to this headline" href="#Options">¶</a></h2><p>The following options are available in the + </style><a xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common" href="transactional-update.index.html">Index </a><span xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common" style="float:right">transactional-update 1.27</span><hr xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><div class="refentry"><a name="transactional-update.conf.5"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>transactional-update.conf — transactional-update configuration file</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><p>/usr/etc/transactional-update.conf</p></div><div class="refsect1"><a name="id-1.5"></a><h2 id="Description">Description<a class="headerlink" title="Permalink to this headline" href="#Description">¶</a></h2><p>This configuration file controls and defines the behaviour of + <a xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common" href="transactional-update.8.html"><span class="citerefentry"><span class="refentrytitle">transactional-update</span>(8)</span></a>.</p><p>The transactional-update.conf file uses shell + style assignments, e.g. <code class="code">PARAMETER=value</code>.</p><p>A reference file (also used for reading the default values) can be + found in + /usr/etc/transactional-update.conf.</p></div><div class="refsect1"><a name="id-1.6"></a><h2 id="Options">Options<a class="headerlink" title="Permalink to this headline" href="#Options">¶</a></h2><p>The following options are available in the "<code class="literal">transactional-update</code>" section: - </p><div class="variablelist"><dl class="variablelist"><dt id="REBOOT_METHOD"><span class="term"><code class="varname">REBOOT_METHOD</code></span><a class="headerlink" title="Permalink to this term" href="#REBOOT_METHOD">¶</a></dt><dd><p>Specify the reboot method to use.</p><div class="variablelist"><dl class="variablelist"><dt id="auto"><span class="term">"<code class="literal">auto</code>"</span><a class="headerlink" title="Permalink to this term" href="#auto">¶</a></dt><dd><p> + </p><div class="variablelist"><dl class="variablelist"><dt id="REBOOT_METHOD"><span class="term"><code class="varname">REBOOT_METHOD</code></span><a class="headerlink" title="Permalink to this term" href="#REBOOT_METHOD">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p>Specify the reboot method to use.</p><div class="variablelist"><dl class="variablelist"><dt id="auto"><span class="term">"<code class="literal">auto</code>"</span><a class="headerlink" title="Permalink to this term" href="#auto">¶</a></dt><dd><p> Uses "<code class="literal">rebootmgr</code>" if available and active; falls back to "<code class="literal">systemd</code>" otherwise. </p><p> @@ -34,12 +36,12 @@ </p></dd><dt id="systemd"><span class="term">"<code class="literal">systemd</code>"</span><a class="headerlink" title="Permalink to this term" href="#systemd">¶</a></dt><dd><p> <a href="https://www.freedesktop.org/software/systemd/man/systemctl.html"><span class="citerefentry"><span class="refentrytitle">systemctl</span>(1)</span></a> will be called to initiate a reboot. - </p></dd></dl></div></dd><dt id="ZYPPER_AUTO_IMPORT_KEYS"><span class="term"><code class="varname">ZYPPER_AUTO_IMPORT_KEYS</code></span><a class="headerlink" title="Permalink to this term" href="#ZYPPER_AUTO_IMPORT_KEYS">¶</a></dt><dd><p> + </p></dd></dl></div></dd><dt id="ZYPPER_AUTO_IMPORT_KEYS"><span class="term"><code class="varname">ZYPPER_AUTO_IMPORT_KEYS</code></span><a class="headerlink" title="Permalink to this term" href="#ZYPPER_AUTO_IMPORT_KEYS">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> If set to "<code class="literal">1</code>" GPG keys will be imported automatically for new repositories. If set to "<code class="literal">0</code>" updates will fail if a key is unknown. For security reasons this option is turned off ("<code class="literal">0</code>") by default. </p></dd></dl></div></div><div class="refsect1"><a name="see_also"></a><h2 id="See Also">See Also<a class="headerlink" title="Permalink to this headline" href="#See%20Also">¶</a></h2><p> - <a href="transactional-update.8.html"><span class="citerefentry"><span class="refentrytitle">transactional-update</span>(8)</span></a> + <a xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common" href="transactional-update.8.html"><span class="citerefentry"><span class="refentrytitle">transactional-update</span>(8)</span></a> </p></div></div></body></html> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.26/man/transactional-update.conf.5.xml new/transactional-update-1.27/man/transactional-update.conf.5.xml --- old/transactional-update-1.26/man/transactional-update.conf.5.xml 2018-01-31 10:47:28.000000000 +0100 +++ new/transactional-update-1.27/man/transactional-update.conf.5.xml 2018-03-05 16:44:00.000000000 +0100 @@ -46,7 +46,7 @@ </refnamediv> <refsynopsisdiv> - <para><filename>/etc/transactional-update.conf</filename></para> + <para><filename>%sysconfdir%/transactional-update.conf</filename></para> </refsynopsisdiv> <refsect1> @@ -59,6 +59,9 @@ </citerefentry>.</para> <para>The <refname>transactional-update.conf</refname> file uses shell style assignments, e.g. <code>PARAMETER=value</code>.</para> + <para>A reference file (also used for reading the default values) can be + found in + <filename>%prefix%/etc/transactional-update.conf</filename>.</para> </refsect1> <refsect1> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.26/man/transactional-update.index.html new/transactional-update-1.27/man/transactional-update.index.html --- old/transactional-update-1.26/man/transactional-update.index.html 2018-01-31 10:47:31.000000000 +0100 +++ new/transactional-update-1.27/man/transactional-update.index.html 2018-03-06 13:27:29.000000000 +0100 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>transactional-update.index</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><style> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>transactional-update.index</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><style xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"> a.headerlink { color: #c60f0f; font-size: 0.8em; @@ -15,4 +15,4 @@ h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink { visibility: visible; } - </style><a href="transactional-update.index.html">Index </a><span style="float:right">transactional-update 1.25</span><hr><div class="refentry"><a name="transactional-update.index"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>transactional-update.index — List all manpages from the transactional-update project</p></div><div class="refsect1"><a name="id-1.4"></a><h2 id="T">T<a class="headerlink" title="Permalink to this headline" href="#T">¶</a></h2><p><a href="transactional-update.8.html"><span class="citerefentry"><span class="refentrytitle">transactional-update</span>(8)</span></a> -- Apply updates to the system in an atomic way via transactional updates.<br><a href="transactional-update.conf.5.html"><span class="citerefentry"><span class="refentrytitle">transactional-update.conf</span>(5)</span></a> -- transactional-update configuration file<br><a href="transactional-update.service.8.html"><span class="citerefentry"><span class="refentrytitle">transactional-update.service</span>(8)</span></a> -- Apply updates to the system in an atomic way via transactional updates.<br><a href="transactional-update.timer.8.html"><span class="citerefentry"><span class="refentrytitle">transactional-update.timer</span>(8)</span></a> -- Apply updates to the system in an atomic way via transactional updates.<br></p></div><div class="refsect1"><a name="id-1.5"></a><p><a name="counts"></a>This index contains 4 entries, referring to 2 individual manual pages.</p></div></div></body></html> + </style><a xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common" href="transactional-update.index.html">Index </a><span xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common" style="float:right">transactional-update 1.27</span><hr xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><div class="refentry"><a name="transactional-update.index"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>transactional-update.index — List all manpages from the transactional-update project</p></div><div class="refsect1"><a name="id-1.4"></a><h2 id="T">T<a class="headerlink" title="Permalink to this headline" href="#T">¶</a></h2><p><a xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common" href="transactional-update.8.html"><span class="citerefentry"><span class="refentrytitle">transactional-update</span>(8)</span></a> -- Apply updates to the system in an atomic way via transactional updates.<br><a xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common" href="transactional-update.conf.5.html"><span class="citerefentry"><span class="refentrytitle">transactional-update.conf</span>(5)</span></a> -- transactional-update configuration file<br><a xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common" href="transactional-update.service.8.html"><span class="citerefentry"><span class="refentrytitle">transactional-update.service</span>(8)</span></a> -- Apply updates to the system in an atomic way via transactional updates.<br><a xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common" href="transactional-update.timer.8.html"><span class="citerefentry"><span class="refentrytitle">transactional-update.timer</span>(8)</span></a> -- Apply updates to the system in an atomic way via transactional updates.<br></p></div><div class="refsect1"><a name="id-1.5"></a><p><a name="counts"></a>This index contains 4 entries, referring to 2 individual manual pages.</p></div></div></body></html> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.26/man/transactional-update.service.8.html new/transactional-update-1.27/man/transactional-update.service.8.html --- old/transactional-update-1.26/man/transactional-update.service.8.html 2018-01-29 17:23:24.000000000 +0100 +++ new/transactional-update-1.27/man/transactional-update.service.8.html 2018-03-06 13:27:29.000000000 +0100 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>transactional-update</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><style> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>transactional-update</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><style xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"> a.headerlink { color: #c60f0f; font-size: 0.8em; @@ -15,8 +15,8 @@ h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink { visibility: visible; } - </style><a href="transactional-update.index.html">Index </a><span style="float:right">transactional-update 1.25</span><hr><div class="refentry"><a name="transactional-update.8"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>transactional-update, transactional-update.service, transactional-update.timer — Apply updates to the system in an atomic way via transactional - updates.</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">transactional-update</code> [--help] [--version]</p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> [cleanup] [ up | dup | patch | bootloader | initrd ] [kdump] [reboot]</p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> [cleanup] [reboot] pkg install | remove | update <RPM>...<RPM> </p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> migration </p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> rollback [number]</p></div><p><code class="filename">transactional-update.service</code></p><p><code class="filename">transactional-update.timer</code></p></div><div class="refsect1"><a name="description"></a><h2 id="DESCRIPTION">DESCRIPTION<a class="headerlink" title="Permalink to this headline" href="#DESCRIPTION">¶</a></h2><p><span class="command"><strong>transactional-update</strong></span> updates the system + </style><a xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common" href="transactional-update.index.html">Index </a><span xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common" style="float:right">transactional-update 1.27</span><hr xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><div class="refentry"><a name="transactional-update.8"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>transactional-update, transactional-update.service, transactional-update.timer — Apply updates to the system in an atomic way via transactional + updates.</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">transactional-update</code> [--help] [--version]</p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> [cleanup] [ up | dup | patch | bootloader | initrd ] [kdump] [reboot]</p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> [cleanup] [reboot] pkg install | remove | update <RPM>...<RPM> </p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> migration </p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> rollback [number]</p></div><p>transactional-update.service</p><p>transactional-update.timer</p></div><div class="refsect1"><a name="description"></a><h2 id="DESCRIPTION">DESCRIPTION<a class="headerlink" title="Permalink to this headline" href="#DESCRIPTION">¶</a></h2><p><span class="command"><strong>transactional-update</strong></span> updates the system in a transactional way, which means: it is atomic, so either the patches are fully applied or nothing is changed. The update does not influence your running system and it can be rolled back. To activate the changes, the system @@ -31,51 +31,51 @@ reboot. For this reason, after an successfull update, the system should be rebooted as fast as possible. </p><p>For easier maintenance of big clusters, <span class="command"><strong>transactional-update</strong></span> is regular run by -<a href="https://www.freedesktop.org/software/systemd/man/systemd.timer.html"><span class="citerefentry"><span class="refentrytitle">systemd.timer</span>(5)</span></a>. +<a xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common" href="https://www.freedesktop.org/software/systemd/man/systemd.timer.html"><span class="citerefentry"><span class="refentrytitle">systemd.timer</span>(5)</span></a>. The time, at which the command is run, can be modified by a configuration file -<code class="filename">/etc/systemd/system/transactional-update.timer.d/local.conf</code>. See -<a href="https://www.freedesktop.org/software/systemd/man/systemd.unit.html"><span class="citerefentry"><span class="refentrytitle">systemd.unit</span>(5)</span></a> +/etc/systemd/system/transactional-update.timer.d/local.conf. See +<a xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common" href="https://www.freedesktop.org/software/systemd/man/systemd.unit.html"><span class="citerefentry"><span class="refentrytitle">systemd.unit</span>(5)</span></a> for more informations. -</p></div><div class="refsect1"><a name="options"></a><h2 id="OPTIONS">OPTIONS<a class="headerlink" title="Permalink to this headline" href="#OPTIONS">¶</a></h2><div class="variablelist"><dl class="variablelist"><dt id="cleanup"><span class="term"><code class="option">cleanup</code></span><a class="headerlink" title="Permalink to this term" href="#cleanup">¶</a></dt><dd><p>If the current root filesystem is identical to the active root +</p></div><div class="refsect1"><a name="options"></a><h2 id="OPTIONS">OPTIONS<a class="headerlink" title="Permalink to this headline" href="#OPTIONS">¶</a></h2><div class="variablelist"><dl class="variablelist"><dt id="cleanup"><span class="term"><code class="option">cleanup</code></span><a class="headerlink" title="Permalink to this term" href="#cleanup">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p>If the current root filesystem is identical to the active root filesystem (means after a reboot, before <span class="command"><strong>transactional-update</strong></span> creates a new snapshot with updates), all old snapshots without a cleanup algorithm get a cleanup algorithm set. This is to make sure, that old snapshots will be deleted by snapper. See the section about cleanup algorithms in <a href="http://snapper.io/manpages/snapper.html"><span class="citerefentry"><span class="refentrytitle">snapper</span>(8)</span></a>. - </p></dd><dt id="dup"><span class="term"><code class="option">dup</code></span><a class="headerlink" title="Permalink to this term" href="#dup">¶</a></dt><dd><p> + </p></dd><dt id="dup"><span class="term"><code class="option">dup</code></span><a class="headerlink" title="Permalink to this term" href="#dup">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> If new updates are available, a new snapshot is created and <span class="command"><strong>zypper dup --no-allow-vendor-change</strong></span> is used to update the snapshot. Afterwards, the snapshot is activated and will be used as the new root filesystem during next boot. - </p></dd><dt id="grub.cfg"><span class="term"><code class="option">grub.cfg</code></span><a class="headerlink" title="Permalink to this term" href="#grub.cfg">¶</a></dt><dd><p> + </p></dd><dt id="grub.cfg"><span class="term"><code class="option">grub.cfg</code></span><a class="headerlink" title="Permalink to this term" href="#grub.cfg">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> <a href="https://www.linux.org/docs/man8/grub2-mkconfig.html"><span class="citerefentry"><span class="refentrytitle">grub2-mkconfig</span>(8)</span></a> - is called to create a new <code class="filename">/boot/grub2/grub.cfg</code> + is called to create a new /boot/grub2/grub.cfg configuration file for the bootloader. - </p></dd><dt id="bootloader"><span class="term"><code class="option">bootloader</code></span><a class="headerlink" title="Permalink to this term" href="#bootloader">¶</a></dt><dd><p> + </p></dd><dt id="bootloader"><span class="term"><code class="option">bootloader</code></span><a class="headerlink" title="Permalink to this term" href="#bootloader">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> A new snapshot is created, the bootloader configuration updated and the boorloader newly written. - </p></dd><dt id="initrd"><span class="term"><code class="option">initrd</code></span><a class="headerlink" title="Permalink to this term" href="#initrd">¶</a></dt><dd><p> + </p></dd><dt id="initrd"><span class="term"><code class="option">initrd</code></span><a class="headerlink" title="Permalink to this term" href="#initrd">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> A new initrd is created in a snapshot. - </p></dd><dt id="kdump"><span class="term"><code class="option">kdump</code></span><a class="headerlink" title="Permalink to this term" href="#kdump">¶</a></dt><dd><p> + </p></dd><dt id="kdump"><span class="term"><code class="option">kdump</code></span><a class="headerlink" title="Permalink to this term" href="#kdump">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> A new initrd for kdump is created in a snapshot. - </p></dd><dt id="migration"><span class="term"><code class="option">migration</code></span><a class="headerlink" title="Permalink to this term" href="#migration">¶</a></dt><dd><p> + </p></dd><dt id="migration"><span class="term"><code class="option">migration</code></span><a class="headerlink" title="Permalink to this term" href="#migration">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> On systems which are registered against the SUSE Customer Center (SCC) or SMT, a migration to a new version of the installed products can be made with this option. This is done in an interactive mode. - </p></dd><dt id="patch"><span class="term"><code class="option">patch</code></span><a class="headerlink" title="Permalink to this term" href="#patch">¶</a></dt><dd><p> + </p></dd><dt id="patch"><span class="term"><code class="option">patch</code></span><a class="headerlink" title="Permalink to this term" href="#patch">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> If new updates are available, a new snapshot is created and <span class="command"><strong>zypper patch</strong></span> is used to update the snapshot. Afterwards, the snapshot is activated and will be used as the new root filesystem during next boot. - </p></dd><dt id="pkg install <RPM> ... <RPM>"><span class="term"><code class="option">pkg install</code> <em class="replaceable"><code><RPM> ... <RPM></code></em></span><a class="headerlink" title="Permalink to this term" href="#pkg%20install%20<RPM>%20...%20<RPM>">¶</a></dt><dd><p> + </p></dd><dt id="pkg install <RPM> ... <RPM>"><span class="term"><code class="option">pkg install</code> <em class="replaceable"><code><RPM> ... <RPM></code></em></span><a class="headerlink" title="Permalink to this term" href="#pkg%20install%20<RPM>%20...%20<RPM>">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> A PTF or other packages in RPM format can be installed in the system. - </p></dd><dt id="pkg remove <RPM> ... <RPM>"><span class="term"><code class="option">pkg remove</code> <em class="replaceable"><code><RPM> ... <RPM></code></em></span><a class="headerlink" title="Permalink to this term" href="#pkg%20remove%20<RPM>%20...%20<RPM>">¶</a></dt><dd><p> + </p></dd><dt id="pkg remove <RPM> ... <RPM>"><span class="term"><code class="option">pkg remove</code> <em class="replaceable"><code><RPM> ... <RPM></code></em></span><a class="headerlink" title="Permalink to this term" href="#pkg%20remove%20<RPM>%20...%20<RPM>">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> A PTF or other installed packages in RPM format can be removed from the system. - </p></dd><dt id="pkg update <RPM> ... <RPM>"><span class="term"><code class="option">pkg update</code> <em class="replaceable"><code><RPM> ... <RPM></code></em></span><a class="headerlink" title="Permalink to this term" href="#pkg%20update%20<RPM>%20...%20<RPM>">¶</a></dt><dd><p> + </p></dd><dt id="pkg update <RPM> ... <RPM>"><span class="term"><code class="option">pkg update</code> <em class="replaceable"><code><RPM> ... <RPM></code></em></span><a class="headerlink" title="Permalink to this term" href="#pkg%20update%20<RPM>%20...%20<RPM>">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> Packages installed as RPMs can be updated. - </p></dd><dt id="reboot"><span class="term"><code class="option">reboot</code></span><a class="headerlink" title="Permalink to this term" href="#reboot">¶</a></dt><dd><p> + </p></dd><dt id="reboot"><span class="term"><code class="option">reboot</code></span><a class="headerlink" title="Permalink to this term" href="#reboot">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> If a new snapshot with updates was created, the system should be rebooted. This option will trigger the necessary reboot. If the <a href="rebootmgrd.8.html"><span class="citerefentry"><span class="refentrytitle">rebootmgrd</span>(8)</span></a> @@ -84,7 +84,7 @@ <span class="command"><strong>systemctl reboot</strong></span> is called. </p></dd><dt id="rollback number"><span class="term"><code class="option">rollback</code> - [<span class="optional"><em class="replaceable"><code>number</code></em></span>]</span><a class="headerlink" title="Permalink to this term" href="#rollback%0A%20%20%20%20number">¶</a></dt><dd><p> + [<span class="optional"><em class="replaceable"><code>number</code></em></span>]</span><a class="headerlink" title="Permalink to this term" href="#rollback%0A%20%20%20%20number">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> Sets the default subvolume. On systems with read-write filesystem, <a href="http://snapper.io/manpages/snapper.html"><span class="citerefentry"><span class="refentrytitle">snapper</span>(8)</span></a> <code class="option"> rollback</code> is called. On a read-only filesystem, @@ -92,16 +92,16 @@ filesystem. Else the snapshot with <code class="option">number</code> is made the new default root filesystem. On a read-only filesystem, no additional snapshots are created. - </p></dd><dt id="shell"><span class="term"><code class="option">shell</code></span><a class="headerlink" title="Permalink to this term" href="#shell">¶</a></dt><dd><p> + </p></dd><dt id="shell"><span class="term"><code class="option">shell</code></span><a class="headerlink" title="Permalink to this term" href="#shell">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> After all actions are done, before the snapshot with the changes is unmounted and switched to read-only, a shell is started in the new snapshot as chroot environment for testing and debugging. - </p></dd><dt id="up"><span class="term"><code class="option">up</code></span><a class="headerlink" title="Permalink to this term" href="#up">¶</a></dt><dd><p> + </p></dd><dt id="up"><span class="term"><code class="option">up</code></span><a class="headerlink" title="Permalink to this term" href="#up">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> If new updates are available, a new snapshot is created and <span class="command"><strong>zypper up</strong></span> is used to update the snapshot. Afterwards, the snapshot is activated and will be used as the new root filesystem during next boot. - </p></dd><dt id="--help"><span class="term"><code class="option">--help</code></span><a class="headerlink" title="Permalink to this term" href="#--help">¶</a></dt><dd><p>Display help and exit</p></dd><dt id="--version"><span class="term"><code class="option">--version</code></span><a class="headerlink" title="Permalink to this term" href="#--version">¶</a></dt><dd><p>Output version information and exit</p></dd></dl></div></div><div class="refsect1"><a name="important"></a><h2 id="IMPORTANT">IMPORTANT<a class="headerlink" title="Permalink to this headline" href="#IMPORTANT">¶</a></h2><p> + </p></dd><dt id="--help"><span class="term"><code class="option">--help</code></span><a class="headerlink" title="Permalink to this term" href="#--help">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p>Display help and exit</p></dd><dt id="--version"><span class="term"><code class="option">--version</code></span><a class="headerlink" title="Permalink to this term" href="#--version">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p>Output version information and exit</p></dd></dl></div></div><div class="refsect1"><a name="important"></a><h2 id="IMPORTANT">IMPORTANT<a class="headerlink" title="Permalink to this headline" href="#IMPORTANT">¶</a></h2><p> Only RPMs, which are fully part of the snapshot of the root filesystem, can be updated. If RPMs contains files outside of the snapshot, the update itself can break or can break the system. @@ -118,15 +118,15 @@ redone with the next reboot. After installing or removing PTFs, the system should be immeaditly rebooted. </p></div><div class="refsect1"><a name="notes"></a><h2 id="NOTES">NOTES<a class="headerlink" title="Permalink to this headline" href="#NOTES">¶</a></h2><p> - If <code class="filename">/etc/default/grub</code> was modified by an administrator, + If /etc/default/grub was modified by an administrator, the modified version is copied into the new snapshot. </p><p> - If during the update process <code class="filename">/etc/passwd</code>, - <code class="filename">/etc/group</code> or <code class="filename">/etc/shadow</code> are - modified and <code class="filename">/usr/etc</code> exists, the modified files are - copied into <code class="filename">/usr/etc</code> and can be accessed by tools like + If during the update process /etc/passwd, + /etc/group or /etc/shadow are + modified and /usr/etc exists, the modified files are + copied into /usr/etc and can be accessed by tools like <span class="command"><strong>libnss_usrfiles</strong></span>. This prevents that the new accounts are hidden by local modifications by the system administrator. -</p></div><div class="refsect1"><a name="see_also"></a><h2 id="SEE ALSO">SEE ALSO<a class="headerlink" title="Permalink to this headline" href="#SEE%20ALSO">¶</a></h2><p><a href="transactional-update.conf.5.html"><span class="citerefentry"><span class="refentrytitle">transactional-update.conf</span>(5)</span></a>, -<a href="https://www.freedesktop.org/software/systemd/man/systemd.timer.html"><span class="citerefentry"><span class="refentrytitle">systemd.timer</span>(5)</span></a>, -<a href="https://www.freedesktop.org/software/systemd/man/systemd.time.html"><span class="citerefentry"><span class="refentrytitle">systemd.time</span>(7)</span></a></p></div></div></body></html> +</p></div><div class="refsect1"><a name="see_also"></a><h2 id="SEE ALSO">SEE ALSO<a class="headerlink" title="Permalink to this headline" href="#SEE%20ALSO">¶</a></h2><p><a xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common" href="transactional-update.conf.5.html"><span class="citerefentry"><span class="refentrytitle">transactional-update.conf</span>(5)</span></a>, +<a xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common" href="https://www.freedesktop.org/software/systemd/man/systemd.timer.html"><span class="citerefentry"><span class="refentrytitle">systemd.timer</span>(5)</span></a>, +<a xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common" href="https://www.freedesktop.org/software/systemd/man/systemd.time.html"><span class="citerefentry"><span class="refentrytitle">systemd.time</span>(7)</span></a></p></div></div></body></html> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.26/man/transactional-update.timer.8.html new/transactional-update-1.27/man/transactional-update.timer.8.html --- old/transactional-update-1.26/man/transactional-update.timer.8.html 2018-01-29 17:23:24.000000000 +0100 +++ new/transactional-update-1.27/man/transactional-update.timer.8.html 2018-03-06 13:27:29.000000000 +0100 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>transactional-update</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><style> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>transactional-update</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><style xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"> a.headerlink { color: #c60f0f; font-size: 0.8em; @@ -15,8 +15,8 @@ h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink { visibility: visible; } - </style><a href="transactional-update.index.html">Index </a><span style="float:right">transactional-update 1.25</span><hr><div class="refentry"><a name="transactional-update.8"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>transactional-update, transactional-update.service, transactional-update.timer — Apply updates to the system in an atomic way via transactional - updates.</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">transactional-update</code> [--help] [--version]</p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> [cleanup] [ up | dup | patch | bootloader | initrd ] [kdump] [reboot]</p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> [cleanup] [reboot] pkg install | remove | update <RPM>...<RPM> </p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> migration </p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> rollback [number]</p></div><p><code class="filename">transactional-update.service</code></p><p><code class="filename">transactional-update.timer</code></p></div><div class="refsect1"><a name="description"></a><h2 id="DESCRIPTION">DESCRIPTION<a class="headerlink" title="Permalink to this headline" href="#DESCRIPTION">¶</a></h2><p><span class="command"><strong>transactional-update</strong></span> updates the system + </style><a xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common" href="transactional-update.index.html">Index </a><span xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common" style="float:right">transactional-update 1.27</span><hr xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><div class="refentry"><a name="transactional-update.8"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>transactional-update, transactional-update.service, transactional-update.timer — Apply updates to the system in an atomic way via transactional + updates.</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">transactional-update</code> [--help] [--version]</p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> [cleanup] [ up | dup | patch | bootloader | initrd ] [kdump] [reboot]</p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> [cleanup] [reboot] pkg install | remove | update <RPM>...<RPM> </p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> migration </p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> rollback [number]</p></div><p>transactional-update.service</p><p>transactional-update.timer</p></div><div class="refsect1"><a name="description"></a><h2 id="DESCRIPTION">DESCRIPTION<a class="headerlink" title="Permalink to this headline" href="#DESCRIPTION">¶</a></h2><p><span class="command"><strong>transactional-update</strong></span> updates the system in a transactional way, which means: it is atomic, so either the patches are fully applied or nothing is changed. The update does not influence your running system and it can be rolled back. To activate the changes, the system @@ -31,51 +31,51 @@ reboot. For this reason, after an successfull update, the system should be rebooted as fast as possible. </p><p>For easier maintenance of big clusters, <span class="command"><strong>transactional-update</strong></span> is regular run by -<a href="https://www.freedesktop.org/software/systemd/man/systemd.timer.html"><span class="citerefentry"><span class="refentrytitle">systemd.timer</span>(5)</span></a>. +<a xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common" href="https://www.freedesktop.org/software/systemd/man/systemd.timer.html"><span class="citerefentry"><span class="refentrytitle">systemd.timer</span>(5)</span></a>. The time, at which the command is run, can be modified by a configuration file -<code class="filename">/etc/systemd/system/transactional-update.timer.d/local.conf</code>. See -<a href="https://www.freedesktop.org/software/systemd/man/systemd.unit.html"><span class="citerefentry"><span class="refentrytitle">systemd.unit</span>(5)</span></a> +/etc/systemd/system/transactional-update.timer.d/local.conf. See +<a xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common" href="https://www.freedesktop.org/software/systemd/man/systemd.unit.html"><span class="citerefentry"><span class="refentrytitle">systemd.unit</span>(5)</span></a> for more informations. -</p></div><div class="refsect1"><a name="options"></a><h2 id="OPTIONS">OPTIONS<a class="headerlink" title="Permalink to this headline" href="#OPTIONS">¶</a></h2><div class="variablelist"><dl class="variablelist"><dt id="cleanup"><span class="term"><code class="option">cleanup</code></span><a class="headerlink" title="Permalink to this term" href="#cleanup">¶</a></dt><dd><p>If the current root filesystem is identical to the active root +</p></div><div class="refsect1"><a name="options"></a><h2 id="OPTIONS">OPTIONS<a class="headerlink" title="Permalink to this headline" href="#OPTIONS">¶</a></h2><div class="variablelist"><dl class="variablelist"><dt id="cleanup"><span class="term"><code class="option">cleanup</code></span><a class="headerlink" title="Permalink to this term" href="#cleanup">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p>If the current root filesystem is identical to the active root filesystem (means after a reboot, before <span class="command"><strong>transactional-update</strong></span> creates a new snapshot with updates), all old snapshots without a cleanup algorithm get a cleanup algorithm set. This is to make sure, that old snapshots will be deleted by snapper. See the section about cleanup algorithms in <a href="http://snapper.io/manpages/snapper.html"><span class="citerefentry"><span class="refentrytitle">snapper</span>(8)</span></a>. - </p></dd><dt id="dup"><span class="term"><code class="option">dup</code></span><a class="headerlink" title="Permalink to this term" href="#dup">¶</a></dt><dd><p> + </p></dd><dt id="dup"><span class="term"><code class="option">dup</code></span><a class="headerlink" title="Permalink to this term" href="#dup">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> If new updates are available, a new snapshot is created and <span class="command"><strong>zypper dup --no-allow-vendor-change</strong></span> is used to update the snapshot. Afterwards, the snapshot is activated and will be used as the new root filesystem during next boot. - </p></dd><dt id="grub.cfg"><span class="term"><code class="option">grub.cfg</code></span><a class="headerlink" title="Permalink to this term" href="#grub.cfg">¶</a></dt><dd><p> + </p></dd><dt id="grub.cfg"><span class="term"><code class="option">grub.cfg</code></span><a class="headerlink" title="Permalink to this term" href="#grub.cfg">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> <a href="https://www.linux.org/docs/man8/grub2-mkconfig.html"><span class="citerefentry"><span class="refentrytitle">grub2-mkconfig</span>(8)</span></a> - is called to create a new <code class="filename">/boot/grub2/grub.cfg</code> + is called to create a new /boot/grub2/grub.cfg configuration file for the bootloader. - </p></dd><dt id="bootloader"><span class="term"><code class="option">bootloader</code></span><a class="headerlink" title="Permalink to this term" href="#bootloader">¶</a></dt><dd><p> + </p></dd><dt id="bootloader"><span class="term"><code class="option">bootloader</code></span><a class="headerlink" title="Permalink to this term" href="#bootloader">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> A new snapshot is created, the bootloader configuration updated and the boorloader newly written. - </p></dd><dt id="initrd"><span class="term"><code class="option">initrd</code></span><a class="headerlink" title="Permalink to this term" href="#initrd">¶</a></dt><dd><p> + </p></dd><dt id="initrd"><span class="term"><code class="option">initrd</code></span><a class="headerlink" title="Permalink to this term" href="#initrd">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> A new initrd is created in a snapshot. - </p></dd><dt id="kdump"><span class="term"><code class="option">kdump</code></span><a class="headerlink" title="Permalink to this term" href="#kdump">¶</a></dt><dd><p> + </p></dd><dt id="kdump"><span class="term"><code class="option">kdump</code></span><a class="headerlink" title="Permalink to this term" href="#kdump">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> A new initrd for kdump is created in a snapshot. - </p></dd><dt id="migration"><span class="term"><code class="option">migration</code></span><a class="headerlink" title="Permalink to this term" href="#migration">¶</a></dt><dd><p> + </p></dd><dt id="migration"><span class="term"><code class="option">migration</code></span><a class="headerlink" title="Permalink to this term" href="#migration">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> On systems which are registered against the SUSE Customer Center (SCC) or SMT, a migration to a new version of the installed products can be made with this option. This is done in an interactive mode. - </p></dd><dt id="patch"><span class="term"><code class="option">patch</code></span><a class="headerlink" title="Permalink to this term" href="#patch">¶</a></dt><dd><p> + </p></dd><dt id="patch"><span class="term"><code class="option">patch</code></span><a class="headerlink" title="Permalink to this term" href="#patch">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> If new updates are available, a new snapshot is created and <span class="command"><strong>zypper patch</strong></span> is used to update the snapshot. Afterwards, the snapshot is activated and will be used as the new root filesystem during next boot. - </p></dd><dt id="pkg install <RPM> ... <RPM>"><span class="term"><code class="option">pkg install</code> <em class="replaceable"><code><RPM> ... <RPM></code></em></span><a class="headerlink" title="Permalink to this term" href="#pkg%20install%20<RPM>%20...%20<RPM>">¶</a></dt><dd><p> + </p></dd><dt id="pkg install <RPM> ... <RPM>"><span class="term"><code class="option">pkg install</code> <em class="replaceable"><code><RPM> ... <RPM></code></em></span><a class="headerlink" title="Permalink to this term" href="#pkg%20install%20<RPM>%20...%20<RPM>">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> A PTF or other packages in RPM format can be installed in the system. - </p></dd><dt id="pkg remove <RPM> ... <RPM>"><span class="term"><code class="option">pkg remove</code> <em class="replaceable"><code><RPM> ... <RPM></code></em></span><a class="headerlink" title="Permalink to this term" href="#pkg%20remove%20<RPM>%20...%20<RPM>">¶</a></dt><dd><p> + </p></dd><dt id="pkg remove <RPM> ... <RPM>"><span class="term"><code class="option">pkg remove</code> <em class="replaceable"><code><RPM> ... <RPM></code></em></span><a class="headerlink" title="Permalink to this term" href="#pkg%20remove%20<RPM>%20...%20<RPM>">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> A PTF or other installed packages in RPM format can be removed from the system. - </p></dd><dt id="pkg update <RPM> ... <RPM>"><span class="term"><code class="option">pkg update</code> <em class="replaceable"><code><RPM> ... <RPM></code></em></span><a class="headerlink" title="Permalink to this term" href="#pkg%20update%20<RPM>%20...%20<RPM>">¶</a></dt><dd><p> + </p></dd><dt id="pkg update <RPM> ... <RPM>"><span class="term"><code class="option">pkg update</code> <em class="replaceable"><code><RPM> ... <RPM></code></em></span><a class="headerlink" title="Permalink to this term" href="#pkg%20update%20<RPM>%20...%20<RPM>">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> Packages installed as RPMs can be updated. - </p></dd><dt id="reboot"><span class="term"><code class="option">reboot</code></span><a class="headerlink" title="Permalink to this term" href="#reboot">¶</a></dt><dd><p> + </p></dd><dt id="reboot"><span class="term"><code class="option">reboot</code></span><a class="headerlink" title="Permalink to this term" href="#reboot">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> If a new snapshot with updates was created, the system should be rebooted. This option will trigger the necessary reboot. If the <a href="rebootmgrd.8.html"><span class="citerefentry"><span class="refentrytitle">rebootmgrd</span>(8)</span></a> @@ -84,7 +84,7 @@ <span class="command"><strong>systemctl reboot</strong></span> is called. </p></dd><dt id="rollback number"><span class="term"><code class="option">rollback</code> - [<span class="optional"><em class="replaceable"><code>number</code></em></span>]</span><a class="headerlink" title="Permalink to this term" href="#rollback%0A%20%20%20%20number">¶</a></dt><dd><p> + [<span class="optional"><em class="replaceable"><code>number</code></em></span>]</span><a class="headerlink" title="Permalink to this term" href="#rollback%0A%20%20%20%20number">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> Sets the default subvolume. On systems with read-write filesystem, <a href="http://snapper.io/manpages/snapper.html"><span class="citerefentry"><span class="refentrytitle">snapper</span>(8)</span></a> <code class="option"> rollback</code> is called. On a read-only filesystem, @@ -92,16 +92,16 @@ filesystem. Else the snapshot with <code class="option">number</code> is made the new default root filesystem. On a read-only filesystem, no additional snapshots are created. - </p></dd><dt id="shell"><span class="term"><code class="option">shell</code></span><a class="headerlink" title="Permalink to this term" href="#shell">¶</a></dt><dd><p> + </p></dd><dt id="shell"><span class="term"><code class="option">shell</code></span><a class="headerlink" title="Permalink to this term" href="#shell">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> After all actions are done, before the snapshot with the changes is unmounted and switched to read-only, a shell is started in the new snapshot as chroot environment for testing and debugging. - </p></dd><dt id="up"><span class="term"><code class="option">up</code></span><a class="headerlink" title="Permalink to this term" href="#up">¶</a></dt><dd><p> + </p></dd><dt id="up"><span class="term"><code class="option">up</code></span><a class="headerlink" title="Permalink to this term" href="#up">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p> If new updates are available, a new snapshot is created and <span class="command"><strong>zypper up</strong></span> is used to update the snapshot. Afterwards, the snapshot is activated and will be used as the new root filesystem during next boot. - </p></dd><dt id="--help"><span class="term"><code class="option">--help</code></span><a class="headerlink" title="Permalink to this term" href="#--help">¶</a></dt><dd><p>Display help and exit</p></dd><dt id="--version"><span class="term"><code class="option">--version</code></span><a class="headerlink" title="Permalink to this term" href="#--version">¶</a></dt><dd><p>Output version information and exit</p></dd></dl></div></div><div class="refsect1"><a name="important"></a><h2 id="IMPORTANT">IMPORTANT<a class="headerlink" title="Permalink to this headline" href="#IMPORTANT">¶</a></h2><p> + </p></dd><dt id="--help"><span class="term"><code class="option">--help</code></span><a class="headerlink" title="Permalink to this term" href="#--help">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p>Display help and exit</p></dd><dt id="--version"><span class="term"><code class="option">--version</code></span><a class="headerlink" title="Permalink to this term" href="#--version">¶</a></dt><dd xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common"><p>Output version information and exit</p></dd></dl></div></div><div class="refsect1"><a name="important"></a><h2 id="IMPORTANT">IMPORTANT<a class="headerlink" title="Permalink to this headline" href="#IMPORTANT">¶</a></h2><p> Only RPMs, which are fully part of the snapshot of the root filesystem, can be updated. If RPMs contains files outside of the snapshot, the update itself can break or can break the system. @@ -118,15 +118,15 @@ redone with the next reboot. After installing or removing PTFs, the system should be immeaditly rebooted. </p></div><div class="refsect1"><a name="notes"></a><h2 id="NOTES">NOTES<a class="headerlink" title="Permalink to this headline" href="#NOTES">¶</a></h2><p> - If <code class="filename">/etc/default/grub</code> was modified by an administrator, + If /etc/default/grub was modified by an administrator, the modified version is copied into the new snapshot. </p><p> - If during the update process <code class="filename">/etc/passwd</code>, - <code class="filename">/etc/group</code> or <code class="filename">/etc/shadow</code> are - modified and <code class="filename">/usr/etc</code> exists, the modified files are - copied into <code class="filename">/usr/etc</code> and can be accessed by tools like + If during the update process /etc/passwd, + /etc/group or /etc/shadow are + modified and /usr/etc exists, the modified files are + copied into /usr/etc and can be accessed by tools like <span class="command"><strong>libnss_usrfiles</strong></span>. This prevents that the new accounts are hidden by local modifications by the system administrator. -</p></div><div class="refsect1"><a name="see_also"></a><h2 id="SEE ALSO">SEE ALSO<a class="headerlink" title="Permalink to this headline" href="#SEE%20ALSO">¶</a></h2><p><a href="transactional-update.conf.5.html"><span class="citerefentry"><span class="refentrytitle">transactional-update.conf</span>(5)</span></a>, -<a href="https://www.freedesktop.org/software/systemd/man/systemd.timer.html"><span class="citerefentry"><span class="refentrytitle">systemd.timer</span>(5)</span></a>, -<a href="https://www.freedesktop.org/software/systemd/man/systemd.time.html"><span class="citerefentry"><span class="refentrytitle">systemd.time</span>(7)</span></a></p></div></div></body></html> +</p></div><div class="refsect1"><a name="see_also"></a><h2 id="SEE ALSO">SEE ALSO<a class="headerlink" title="Permalink to this headline" href="#SEE%20ALSO">¶</a></h2><p><a xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common" href="transactional-update.conf.5.html"><span class="citerefentry"><span class="refentrytitle">transactional-update.conf</span>(5)</span></a>, +<a xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common" href="https://www.freedesktop.org/software/systemd/man/systemd.timer.html"><span class="citerefentry"><span class="refentrytitle">systemd.timer</span>(5)</span></a>, +<a xmlns:ss="http://docbook.sf.net/xmlns/string.subst/1.0" xmlns:exsl="http://exslt.org/common" href="https://www.freedesktop.org/software/systemd/man/systemd.time.html"><span class="citerefentry"><span class="refentrytitle">systemd.time</span>(7)</span></a></p></div></div></body></html> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.26/sbin/Makefile.am new/transactional-update-1.27/sbin/Makefile.am --- old/transactional-update-1.26/sbin/Makefile.am 2017-01-30 09:19:57.000000000 +0100 +++ new/transactional-update-1.27/sbin/Makefile.am 2018-03-05 16:44:00.000000000 +0100 @@ -3,5 +3,13 @@ # sbin_SCRIPTS = transactional-update tu-rebuild-kdump-initrd - +CLEANFILES = transactional-update EXTRA_DIST = transactional-update.in tu-rebuild-kdump-initrd + +do_subst = sed -e 's,[@]sysconfdir[@],$(sysconfdir),g' \ + -e 's,[@]prefix[@],$(prefix),g' \ + -e 's,[@]VERSION[@],$(VERSION),g' + +transactional-update: transactional-update.in Makefile + $(do_subst) < transactional-update.in > transactional-update + chmod +x transactional-update diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.26/sbin/Makefile.in new/transactional-update-1.27/sbin/Makefile.in --- old/transactional-update-1.26/sbin/Makefile.in 2018-01-31 10:51:47.000000000 +0100 +++ new/transactional-update-1.27/sbin/Makefile.in 2018-03-06 13:26:08.000000000 +0100 @@ -226,7 +226,12 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ sbin_SCRIPTS = transactional-update tu-rebuild-kdump-initrd +CLEANFILES = transactional-update EXTRA_DIST = transactional-update.in tu-rebuild-kdump-initrd +do_subst = sed -e 's,[@]sysconfdir[@],$(sysconfdir),g' \ + -e 's,[@]prefix[@],$(prefix),g' \ + -e 's,[@]VERSION[@],$(VERSION),g' + all: all-am .SUFFIXES: @@ -239,9 +244,9 @@ exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign sbin/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu sbin/Makefile'; \ $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign sbin/Makefile + $(AUTOMAKE) --gnu sbin/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ @@ -363,6 +368,7 @@ mostlyclean-generic: clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) @@ -452,6 +458,10 @@ uninstall-sbinSCRIPTS +transactional-update: transactional-update.in Makefile + $(do_subst) < transactional-update.in > transactional-update + chmod +x transactional-update + # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.26/sbin/transactional-update.in new/transactional-update-1.27/sbin/transactional-update.in --- old/transactional-update-1.26/sbin/transactional-update.in 2018-01-31 10:47:28.000000000 +0100 +++ new/transactional-update-1.27/sbin/transactional-update.in 2018-03-05 17:09:20.000000000 +0100 @@ -37,7 +37,8 @@ REBOOT_METHOD="auto" RUN_SHELL=0 USE_SALT_GRAINS=0 -CONFFILE="/etc/transactional-update.conf" +CONFFILE="@sysconfdir@/transactional-update.conf" +SYSTEMCONFFILE="@prefix@/etc/transactional-update.conf" LOGFILE="/var/log/transactional-update.log" STATE_FILE="/var/lib/misc/transactional-update.state" PACKAGE_UPDATES=0 @@ -45,12 +46,16 @@ HAS_SEPARATE_VAR=0 SNAPSHOT_ID="" SECOND_SNAPSHOT_ID="" +SNAPPER_NO_DBUS="" KDUMP_SYSCONFIG="/etc/sysconfig/kdump" # Config files which the user could have modified and which should # be copied to the snapshot. CONFIG_FILES_TO_COPY="/etc/default/grub" # Load config +if [ -r ${SYSTEMCONFFILE} ]; then + . ${SYSTEMCONFFILE} +fi if [ -r ${CONFFILE} ]; then . ${CONFFILE} fi @@ -167,11 +172,11 @@ quit() { if [ -n "${SNAPSHOT_ID}" ] ; then log_error "Removing snapshot #${SNAPSHOT_ID}..." - snapper delete ${SNAPSHOT_ID} |& tee -a ${LOGFILE} + snapper ${SNAPPER_NO_DBUS} delete ${SNAPSHOT_ID} |& tee -a ${LOGFILE} fi if [ -n "${SECOND_SNAPSHOT_ID}" ] ; then log_error "Removing snapshot #${SECOND_SNAPSHOT_ID}..." - snapper delete ${SECOND_SNAPSHOT_ID} |& tee -a ${LOGFILE} + snapper ${SNAPPER_NO_DBUS} delete ${SECOND_SNAPSHOT_ID} |& tee -a ${LOGFILE} fi if [ $USE_SALT_GRAINS -eq 1 ]; then if [ -f /etc/salt/grains ]; then @@ -402,7 +407,7 @@ grep -q "[[:space:]]/var[[:space:]]" /proc/mounts if [ $? -eq 0 ]; then log_info "Separate /var detected." - DIR_TO_MOUNT="${DIR_TO_MOUNT} /var/cache" + DIR_TO_MOUNT="${DIR_TO_MOUNT} var/cache var/lib/alternatives" HAS_SEPARATE_VAR=1 else grep -q var.cache /proc/mounts @@ -446,7 +451,7 @@ touch ${MOUNT_DIR}/var/lib/rollback/check-registration fi # Remove possible cleanup algo - snapper modify -c '' ${ROLLBACK_SNAPSHOT} + snapper ${SNAPPER_NO_DBUS} modify -c '' ${ROLLBACK_SNAPSHOT} else snapper rollback ${ROLLBACK_SNAPSHOT} NEED_REBOOT_WARNING=1 @@ -562,15 +567,23 @@ log_info "Creating read-only snapshot of current read-write root filesystem (#${CURRENT_SNAPSHOT_ID})" SECOND_SNAPSHOT_ID=`snapper create -p -c number -u "important=yes" -d "RO-Clone of #${CURRENT_SNAPSHOT_ID}"` if [ $? -ne 0 ]; then - log_error "ERROR: snapper create failed!" - exit 1 + SNAPPER_NO_DBUS="--no-dbus" + SECOND_SNAPSHOT_ID=`snapper --no-dbus create -p -c number -u "important=yes" -d "RO-Clone of #${CURRENT_SNAPSHOT_ID}"` + if [ $? -ne 0 ]; then + log_error "ERROR: snapper create failed!" + exit 1 + fi fi fi SNAPSHOT_ID=`snapper create -p -u "transactional-update-in-progress=yes" -d "Snapshot Update"` if [ $? -ne 0 ]; then - log_error "ERROR: snapper create failed!" - quit 1 + SNAPPER_NO_DBUS="--no-dbus" + SNAPSHOT_ID=`snapper --no-dbus create -p -u "transactional-update-in-progress=yes" -d "Snapshot Update"` + if [ $? -ne 0 ]; then + log_error "ERROR: snapper create failed!" + quit 1 + fi fi SNAPSHOT_DIR=/.snapshots/${SNAPSHOT_ID}/snapshot @@ -619,7 +632,7 @@ # Check which directories in /boot/grub2 need to be mounted, # otherwise grub2 will not boot after a version update. - DIR_TO_MOUNT="${DIR_TO_MOUNT} `grep /boot/grub2/ /etc/fstab |grep subvol | awk '{print $2}'`" + DIR_TO_MOUNT="${DIR_TO_MOUNT} $(awk '$2 ~ /\/boot\/grub2\// { print $2 }' /proc/mounts)" # Mount everything we need: @@ -820,7 +833,7 @@ add_unique_id ${CURRENT_SNAPSHOT_ID} save_state_file ${SNAPSHOT_ID} # Reset in-progress flag - snapper modify -u "transactional-update-in-progress=" ${SNAPSHOT_ID} + snapper ${SNAPPER_NO_DBUS} modify -u "transactional-update-in-progress=" ${SNAPSHOT_ID} fi fi fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.26/systemd/Makefile.in new/transactional-update-1.27/systemd/Makefile.in --- old/transactional-update-1.26/systemd/Makefile.in 2018-01-31 10:51:47.000000000 +0100 +++ new/transactional-update-1.27/systemd/Makefile.in 2018-03-06 13:26:08.000000000 +0100 @@ -239,9 +239,9 @@ exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign systemd/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu systemd/Makefile'; \ $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign systemd/Makefile + $(AUTOMAKE) --gnu systemd/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \