Hello community,
here is the log from the commit of package rebootmgr for openSUSE:Factory checked in at 2017-04-03 11:05:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rebootmgr (Old)
and /work/SRC/openSUSE:Factory/.rebootmgr.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rebootmgr"
Mon Apr 3 11:05:22 2017 rev:5 rq:484072 version:0.14
Changes:
--------
--- /work/SRC/openSUSE:Factory/rebootmgr/rebootmgr.changes 2017-03-16 09:51:55.282509086 +0100
+++ /work/SRC/openSUSE:Factory/.rebootmgr.new/rebootmgr.changes 2017-04-03 11:06:02.439776115 +0200
@@ -1,0 +2,6 @@
+Fri Mar 31 13:30:03 CEST 2017 - kukuk@suse.de
+
+- Update to version 0.14
+ - Allow to have no maintenance window configured [bsc#1031619]
+
+-------------------------------------------------------------------
Old:
----
rebootmgr-0.13.tar.bz2
New:
----
rebootmgr-0.14.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rebootmgr.spec ++++++
--- /var/tmp/diff_new_pack.Rd5KeL/_old 2017-04-03 11:06:03.147676100 +0200
+++ /var/tmp/diff_new_pack.Rd5KeL/_new 2017-04-03 11:06:03.147676100 +0200
@@ -17,7 +17,7 @@
Name: rebootmgr
-Version: 0.13
+Version: 0.14
Release: 0
Summary: Automatic controlled reboot during a maintenance window
License: GPL-2.0 and LGPL-2.1+
++++++ rebootmgr-0.13.tar.bz2 -> rebootmgr-0.14.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rebootmgr-0.13/NEWS new/rebootmgr-0.14/NEWS
--- old/rebootmgr-0.13/NEWS 2017-03-15 13:11:58.000000000 +0100
+++ new/rebootmgr-0.14/NEWS 2017-03-31 13:26:33.000000000 +0200
@@ -2,6 +2,9 @@
Copyright (C) 2016, 2017 Thorsten Kukuk
+Version 0.14
+* Allow to have no maintenance window configured [bsc#1031619]
+
Version 0.13
* Cancel reboot if we run out of the maintenance window with etcd-lock
[bsc#1028060]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rebootmgr-0.13/configure new/rebootmgr-0.14/configure
--- old/rebootmgr-0.13/configure 2017-03-15 13:12:08.000000000 +0100
+++ new/rebootmgr-0.14/configure 2017-03-31 13:26:59.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for rebootmgr 0.13.
+# Generated by GNU Autoconf 2.69 for rebootmgr 0.14.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -577,8 +577,8 @@
# Identity of this package.
PACKAGE_NAME='rebootmgr'
PACKAGE_TARNAME='rebootmgr'
-PACKAGE_VERSION='0.13'
-PACKAGE_STRING='rebootmgr 0.13'
+PACKAGE_VERSION='0.14'
+PACKAGE_STRING='rebootmgr 0.14'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
@@ -1326,7 +1326,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 rebootmgr 0.13 to adapt to many kinds of systems.
+\`configure' configures rebootmgr 0.14 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1396,7 +1396,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of rebootmgr 0.13:";;
+ short | recursive ) echo "Configuration of rebootmgr 0.14:";;
esac
cat <<\_ACEOF
@@ -1511,7 +1511,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-rebootmgr configure 0.13
+rebootmgr configure 0.14
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1876,7 +1876,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by rebootmgr $as_me 0.13, which was
+It was created by rebootmgr $as_me 0.14, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -2740,7 +2740,7 @@
# Define the identity of the package.
PACKAGE='rebootmgr'
- VERSION='0.13'
+ VERSION='0.14'
cat >>confdefs.h <<_ACEOF
@@ -8627,7 +8627,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by rebootmgr $as_me 0.13, which was
+This file was extended by rebootmgr $as_me 0.14, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -8693,7 +8693,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-rebootmgr config.status 0.13
+rebootmgr config.status 0.14
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/rebootmgr-0.13/configure.ac new/rebootmgr-0.14/configure.ac
--- old/rebootmgr-0.13/configure.ac 2017-03-15 13:10:38.000000000 +0100
+++ new/rebootmgr-0.14/configure.ac 2017-03-31 13:26:08.000000000 +0200
@@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
-AC_INIT(rebootmgr, 0.13)
+AC_INIT(rebootmgr, 0.14)
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([src/rebootmgrd.c])
AM_CONFIG_HEADER(config.h)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rebootmgr-0.13/dbus/Makefile.in new/rebootmgr-0.14/dbus/Makefile.in
--- old/rebootmgr-0.13/dbus/Makefile.in 2017-03-15 13:12:07.000000000 +0100
+++ new/rebootmgr-0.14/dbus/Makefile.in 2017-03-31 13:26:56.000000000 +0200
@@ -292,9 +292,9 @@
exit 1;; \
esac; \
done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign dbus/Makefile'; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu dbus/Makefile'; \
$(am__cd) $(top_srcdir) && \
- $(AUTOMAKE) --foreign dbus/Makefile
+ $(AUTOMAKE) --gnu dbus/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rebootmgr-0.13/etc/Makefile.in new/rebootmgr-0.14/etc/Makefile.in
--- old/rebootmgr-0.13/etc/Makefile.in 2017-03-15 13:12:07.000000000 +0100
+++ new/rebootmgr-0.14/etc/Makefile.in 2017-03-31 13:26:56.000000000 +0200
@@ -288,9 +288,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 \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rebootmgr-0.13/lib/Makefile.in new/rebootmgr-0.14/lib/Makefile.in
--- old/rebootmgr-0.13/lib/Makefile.in 2017-03-15 13:12:08.000000000 +0100
+++ new/rebootmgr-0.14/lib/Makefile.in 2017-03-31 13:26:56.000000000 +0200
@@ -316,9 +316,9 @@
exit 1;; \
esac; \
done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/Makefile'; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu lib/Makefile'; \
$(am__cd) $(top_srcdir) && \
- $(AUTOMAKE) --foreign lib/Makefile
+ $(AUTOMAKE) --gnu lib/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rebootmgr-0.13/man/Makefile.in new/rebootmgr-0.14/man/Makefile.in
--- old/rebootmgr-0.13/man/Makefile.in 2017-03-15 13:12:08.000000000 +0100
+++ new/rebootmgr-0.14/man/Makefile.in 2017-03-31 13:26:56.000000000 +0200
@@ -316,9 +316,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 \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rebootmgr-0.13/man/org.opensuse.RebootMgr.conf.8.html new/rebootmgr-0.14/man/org.opensuse.RebootMgr.conf.8.html
--- old/rebootmgr-0.13/man/org.opensuse.RebootMgr.conf.8.html 2017-03-15 13:09:22.000000000 +0100
+++ new/rebootmgr-0.14/man/org.opensuse.RebootMgr.conf.8.html 2017-03-31 13:27:02.000000000 +0200
@@ -15,7 +15,7 @@
h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink {
visibility: visible;
}
- </style><a href="rebootmgr.index.html">Index </a><span style="float:right">rebootmgr 0.12</span><hr><div class="refentry"><a name="rebootmgrd.8"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>rebootmgrd, rebootmgr.service, org.opensuse.RebootMgr.conf — Reboot the machine during a maintenance window.</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">/usr/sbin/rebootmgrd</code> [ --debug | --help | --version ]</p></div><p><code class="filename">/usr/lib/systemd/system/rebootmgr.service</code></p><p><code class="filename">/etc/dbus-1/system.d/org.opensuse.RebootMgr.conf</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>To avoid that a whole cluster or a set of machines with the same task
+ </style><a href="rebootmgr.index.html">Index </a><span style="float:right">rebootmgr 0.14</span><hr><div class="refentry"><a name="rebootmgrd.8"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>rebootmgrd, rebootmgr.service, org.opensuse.RebootMgr.conf — Reboot the machine during a maintenance window.</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">/usr/sbin/rebootmgrd</code> [ --debug | --help | --version ]</p></div><p><code class="filename">/usr/lib/systemd/system/rebootmgr.service</code></p><p><code class="filename">/etc/dbus-1/system.d/org.opensuse.RebootMgr.conf</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>To avoid that a whole cluster or a set of machines with the same task
reboot at the same there, <span class="emphasis"><em>rebootmgrd</em></span> reboots
the machine following configured policies.</p><div class="refsect2"><a name="reboot_strategy_options"></a><h3 id="Reboot Strategies">Reboot Strategies<a class="headerlink" title="Permalink to this headline" href="#Reboot%20Strategies">¶</a></h3><p>
rebootmgr supports different strategies, when a reboot should be done:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rebootmgr-0.13/man/rebootmgr.conf.5 new/rebootmgr-0.14/man/rebootmgr.conf.5
--- old/rebootmgr-0.13/man/rebootmgr.conf.5 2017-03-03 16:41:44.000000000 +0100
+++ new/rebootmgr-0.14/man/rebootmgr.conf.5 2017-03-31 13:27:02.000000000 +0200
@@ -2,12 +2,12 @@
.\" Title: rebootmgr.conf
.\" Author: Thorsten Kukuk
.\" Generator: DocBook XSL Stylesheets v1.78.1 http://docbook.sf.net/
-.\" Date: 03/03/2017
+.\" Date: 03/31/2017
.\" Manual: resolved.conf
.\" Source: rebootmgr
.\" Language: English
.\"
-.TH "REBOOTMGR\&.CONF" "5" "03/03/2017" "rebootmgr" "resolved.conf"
+.TH "REBOOTMGR\&.CONF" "5" "03/31/2017" "rebootmgr" "resolved.conf"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rebootmgr-0.13/man/rebootmgr.conf.5.html new/rebootmgr-0.14/man/rebootmgr.conf.5.html
--- old/rebootmgr-0.13/man/rebootmgr.conf.5.html 2017-03-03 16:41:45.000000000 +0100
+++ new/rebootmgr-0.14/man/rebootmgr.conf.5.html 2017-03-31 13:27:03.000000000 +0200
@@ -15,7 +15,7 @@
h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink {
visibility: visible;
}
- </style><a href="rebootmgr.index.html">Index </a><span style="float:right">rebootmgr 0.12</span><hr><div class="refentry"><a name="rebootmgr.conf.5"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>rebootmgr.conf — Reboot Manager configuration files</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><p><code class="filename">/etc/rebootmgr.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>These configuration file controls and defines the reboot policy for
+ </style><a href="rebootmgr.index.html">Index </a><span style="float:right">rebootmgr 0.14</span><hr><div class="refentry"><a name="rebootmgr.conf.5"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>rebootmgr.conf — Reboot Manager configuration files</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><p><code class="filename">/etc/rebootmgr.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>These configuration file controls and defines the reboot policy for
<a href="rebootmgrd.8.html"><span class="citerefentry"><span class="refentrytitle">rebootmgrd</span>(8)</span></a>.</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">rebootmgr</code>"
section:</p><div class="variablelist"><dl class="variablelist"><dt id="window-start="><span class="term"><code class="varname">window-start=</code></span><a class="headerlink" title="Permalink to this term" href="#window-start=">¶</a></dt><dd><p>
The format of <code class="varname">window-start</code> is the same as
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rebootmgr-0.13/man/rebootmgr.index.html new/rebootmgr-0.14/man/rebootmgr.index.html
--- old/rebootmgr-0.13/man/rebootmgr.index.html 2017-03-15 13:09:22.000000000 +0100
+++ new/rebootmgr-0.14/man/rebootmgr.index.html 2017-03-31 13:27:03.000000000 +0200
@@ -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="rebootmgr.index.html">Index </a><span style="float:right">rebootmgr 0.12</span><hr><div class="refentry"><a name="rebootmgr.index"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>rebootmgr.index — List all manpages from the rebootmgr project</p></div><div class="refsect1"><a name="id-1.4"></a><h2 id="O">O<a class="headerlink" title="Permalink to this headline" href="#O">¶</a></h2><p><a href="org.opensuse.RebootMgr.conf.8.html"><span class="citerefentry"><span class="refentrytitle">org.opensuse.RebootMgr.conf</span>(8)</span></a> -- Reboot the machine during a maintenance window.<br></p></div><div class="refsect1"><a name="id-1.5"></a><h2 id="R">R<a class="headerlink" title="Permalink to this headline" href="#R">¶</a></h2><p><a href="rebootmgr.conf.5.html"><span class="citerefentry"><span class="refentrytitle">rebootmgr.conf</span>(5)</span></a> -- Reboot Manager configuration files<br><a href="rebootmgr.service.8.html"><span class="citerefentry"><span class="refentrytitle">rebootmgr.service</span>(8)</span></a> -- Reboot the machine during a maintenance window.<br><a href="rebootmgrctl.1.html"><span class="citerefentry"><span class="refentrytitle">rebootmgrctl</span>(1)</span></a> -- Tool to control and configure the reboot manager daemon.<br><a href="rebootmgrd.8.html"><span class="citerefentry"><span class="refentrytitle">rebootmgrd</span>(8)</span></a> -- Reboot the machine during a maintenance window.<br></p></div><div class="refsect1"><a name="id-1.6"></a><p><a name="counts"></a>This index contains 5 entries, referring to 3 individual manual pages.</p></div></div></body></html>
+ </style><a href="rebootmgr.index.html">Index </a><span style="float:right">rebootmgr 0.14</span><hr><div class="refentry"><a name="rebootmgr.index"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>rebootmgr.index — List all manpages from the rebootmgr project</p></div><div class="refsect1"><a name="id-1.4"></a><h2 id="O">O<a class="headerlink" title="Permalink to this headline" href="#O">¶</a></h2><p><a href="org.opensuse.RebootMgr.conf.8.html"><span class="citerefentry"><span class="refentrytitle">org.opensuse.RebootMgr.conf</span>(8)</span></a> -- Reboot the machine during a maintenance window.<br></p></div><div class="refsect1"><a name="id-1.5"></a><h2 id="R">R<a class="headerlink" title="Permalink to this headline" href="#R">¶</a></h2><p><a href="rebootmgr.conf.5.html"><span class="citerefentry"><span class="refentrytitle">rebootmgr.conf</span>(5)</span></a> -- Reboot Manager configuration files<br><a href="rebootmgr.service.8.html"><span class="citerefentry"><span class="refentrytitle">rebootmgr.service</span>(8)</span></a> -- Reboot the machine during a maintenance window.<br><a href="rebootmgrctl.1.html"><span class="citerefentry"><span class="refentrytitle">rebootmgrctl</span>(1)</span></a> -- Tool to control and configure the reboot manager daemon.<br><a href="rebootmgrd.8.html"><span class="citerefentry"><span class="refentrytitle">rebootmgrd</span>(8)</span></a> -- Reboot the machine during a maintenance window.<br></p></div><div class="refsect1"><a name="id-1.6"></a><p><a name="counts"></a>This index contains 5 entries, referring to 3 individual manual pages.</p></div></div></body></html>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rebootmgr-0.13/man/rebootmgr.service.8.html new/rebootmgr-0.14/man/rebootmgr.service.8.html
--- old/rebootmgr-0.13/man/rebootmgr.service.8.html 2017-03-15 13:09:22.000000000 +0100
+++ new/rebootmgr-0.14/man/rebootmgr.service.8.html 2017-03-31 13:27:02.000000000 +0200
@@ -15,7 +15,7 @@
h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink {
visibility: visible;
}
- </style><a href="rebootmgr.index.html">Index </a><span style="float:right">rebootmgr 0.12</span><hr><div class="refentry"><a name="rebootmgrd.8"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>rebootmgrd, rebootmgr.service, org.opensuse.RebootMgr.conf — Reboot the machine during a maintenance window.</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">/usr/sbin/rebootmgrd</code> [ --debug | --help | --version ]</p></div><p><code class="filename">/usr/lib/systemd/system/rebootmgr.service</code></p><p><code class="filename">/etc/dbus-1/system.d/org.opensuse.RebootMgr.conf</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>To avoid that a whole cluster or a set of machines with the same task
+ </style><a href="rebootmgr.index.html">Index </a><span style="float:right">rebootmgr 0.14</span><hr><div class="refentry"><a name="rebootmgrd.8"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>rebootmgrd, rebootmgr.service, org.opensuse.RebootMgr.conf — Reboot the machine during a maintenance window.</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">/usr/sbin/rebootmgrd</code> [ --debug | --help | --version ]</p></div><p><code class="filename">/usr/lib/systemd/system/rebootmgr.service</code></p><p><code class="filename">/etc/dbus-1/system.d/org.opensuse.RebootMgr.conf</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>To avoid that a whole cluster or a set of machines with the same task
reboot at the same there, <span class="emphasis"><em>rebootmgrd</em></span> reboots
the machine following configured policies.</p><div class="refsect2"><a name="reboot_strategy_options"></a><h3 id="Reboot Strategies">Reboot Strategies<a class="headerlink" title="Permalink to this headline" href="#Reboot%20Strategies">¶</a></h3><p>
rebootmgr supports different strategies, when a reboot should be done:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rebootmgr-0.13/man/rebootmgrctl.1 new/rebootmgr-0.14/man/rebootmgrctl.1
--- old/rebootmgr-0.13/man/rebootmgrctl.1 2017-03-03 16:41:44.000000000 +0100
+++ new/rebootmgr-0.14/man/rebootmgrctl.1 2017-03-31 13:27:02.000000000 +0200
@@ -2,12 +2,12 @@
.\" Title: rebootmgrctl
.\" Author: Thorsten Kukuk
.\" Generator: DocBook XSL Stylesheets v1.78.1 http://docbook.sf.net/
-.\" Date: 03/03/2017
+.\" Date: 03/31/2017
.\" Manual: rebootmgrctl
.\" Source: rebootmgr
.\" Language: English
.\"
-.TH "REBOOTMGRCTL" "1" "03/03/2017" "rebootmgr" "rebootmgrctl"
+.TH "REBOOTMGRCTL" "1" "03/31/2017" "rebootmgr" "rebootmgrctl"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rebootmgr-0.13/man/rebootmgrctl.1.html new/rebootmgr-0.14/man/rebootmgrctl.1.html
--- old/rebootmgr-0.13/man/rebootmgrctl.1.html 2017-03-03 16:41:45.000000000 +0100
+++ new/rebootmgr-0.14/man/rebootmgrctl.1.html 2017-03-31 13:27:03.000000000 +0200
@@ -15,7 +15,7 @@
h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink {
visibility: visible;
}
- </style><a href="rebootmgr.index.html">Index </a><span style="float:right">rebootmgr 0.12</span><hr><div class="refentry"><a name="rebootmgrctl.1"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>rebootmgrctl — Tool to control and configure the reboot manager daemon.</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">rebootmgrctl</code> [ --help | --version ]</p></div><div class="cmdsynopsis"><p><code class="command">rebootmgrctl</code> is-active [--quiet]</p></div><div class="cmdsynopsis"><p><code class="command">rebootmgrctl</code> reboot [ fast | now ]</p></div><div class="cmdsynopsis"><p><code class="command">rebootmgrctl</code> cancel </p></div><div class="cmdsynopsis"><p><code class="command">rebootmgrctl</code> status [--quiet]</p></div><div class="cmdsynopsis"><p><code class="command">rebootmgrctl</code> set-strategy best-effort | etcd-lock | maint-window | instantly | off </p></div><div class="cmdsynopsis"><p><code class="command">rebootmgrctl</code> get-strategy </p></div><div class="cmdsynopsis"><p><code class="command">rebootmgrctl</code> set-group <em class="replaceable"><code>group</code></em> </p></div><div class="cmdsynopsis"><p><code class="command">rebootmgrctl</code> get-group </p></div><div class="cmdsynopsis"><p><code class="command">rebootmgrctl</code> set-window <em class="replaceable"><code>time</code></em> <em class="replaceable"><code>duration</code></em> </p></div><div class="cmdsynopsis"><p><code class="command">rebootmgrctl</code> get-window </p></div><div class="cmdsynopsis"><p><code class="command">rebootmgrctl</code> set-max [--group <em class="replaceable"><code>group</code></em>] <em class="replaceable"><code>number</code></em> </p></div><div class="cmdsynopsis"><p><code class="command">rebootmgrctl</code> lock [--group <em class="replaceable"><code>group</code></em>] [<em class="replaceable"><code>machine-id</code></em>]</p></div><div class="cmdsynopsis"><p><code class="command">rebootmgrctl</code> unlock [--group <em class="replaceable"><code>group</code></em>] [<em class="replaceable"><code>machine-id</code></em>]</p></div></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="emphasis"><em>rebootmgrctl</em></span> is used to
+ </style><a href="rebootmgr.index.html">Index </a><span style="float:right">rebootmgr 0.14</span><hr><div class="refentry"><a name="rebootmgrctl.1"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>rebootmgrctl — Tool to control and configure the reboot manager daemon.</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">rebootmgrctl</code> [ --help | --version ]</p></div><div class="cmdsynopsis"><p><code class="command">rebootmgrctl</code> is-active [--quiet]</p></div><div class="cmdsynopsis"><p><code class="command">rebootmgrctl</code> reboot [ fast | now ]</p></div><div class="cmdsynopsis"><p><code class="command">rebootmgrctl</code> cancel </p></div><div class="cmdsynopsis"><p><code class="command">rebootmgrctl</code> status [--quiet]</p></div><div class="cmdsynopsis"><p><code class="command">rebootmgrctl</code> set-strategy best-effort | etcd-lock | maint-window | instantly | off </p></div><div class="cmdsynopsis"><p><code class="command">rebootmgrctl</code> get-strategy </p></div><div class="cmdsynopsis"><p><code class="command">rebootmgrctl</code> set-group <em class="replaceable"><code>group</code></em> </p></div><div class="cmdsynopsis"><p><code class="command">rebootmgrctl</code> get-group </p></div><div class="cmdsynopsis"><p><code class="command">rebootmgrctl</code> set-window <em class="replaceable"><code>time</code></em> <em class="replaceable"><code>duration</code></em> </p></div><div class="cmdsynopsis"><p><code class="command">rebootmgrctl</code> get-window </p></div><div class="cmdsynopsis"><p><code class="command">rebootmgrctl</code> set-max [--group <em class="replaceable"><code>group</code></em>] <em class="replaceable"><code>number</code></em> </p></div><div class="cmdsynopsis"><p><code class="command">rebootmgrctl</code> lock [--group <em class="replaceable"><code>group</code></em>] [<em class="replaceable"><code>machine-id</code></em>]</p></div><div class="cmdsynopsis"><p><code class="command">rebootmgrctl</code> unlock [--group <em class="replaceable"><code>group</code></em>] [<em class="replaceable"><code>machine-id</code></em>]</p></div></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="emphasis"><em>rebootmgrctl</em></span> is used to
query and configure the
<a href="rebootmgrd.8.html"><span class="citerefentry"><span class="refentrytitle">rebootmgrd</span>(8)</span></a>
process.</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="--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 text 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><dt id="cancel"><span class="term"><code class="option">cancel</code></span><a class="headerlink" title="Permalink to this term" href="#cancel">¶</a></dt><dd><p>Cancels an already running reboot.</p></dd><dt id="is-active --quiet"><span class="term"><code class="option">is-active</code> [<span class="optional">--quiet</span>]</span><a class="headerlink" title="Permalink to this term" href="#is-active%20--quiet">¶</a></dt><dd><p>Prints if the rebootmgrd is running and active or not. With the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rebootmgr-0.13/man/rebootmgrd.8 new/rebootmgr-0.14/man/rebootmgrd.8
--- old/rebootmgr-0.13/man/rebootmgrd.8 2017-03-15 13:09:22.000000000 +0100
+++ new/rebootmgr-0.14/man/rebootmgrd.8 2017-03-31 13:27:02.000000000 +0200
@@ -2,12 +2,12 @@
.\" Title: rebootmgrd
.\" Author: Thorsten Kukuk
.\" Generator: DocBook XSL Stylesheets v1.78.1 http://docbook.sf.net/
-.\" Date: 03/15/2017
+.\" Date: 03/31/2017
.\" Manual: rebootmgrd
.\" Source: rebootmgr
.\" Language: English
.\"
-.TH "REBOOTMGRD" "8" "03/15/2017" "rebootmgr" "rebootmgrd"
+.TH "REBOOTMGRD" "8" "03/31/2017" "rebootmgr" "rebootmgrd"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rebootmgr-0.13/man/rebootmgrd.8.html new/rebootmgr-0.14/man/rebootmgrd.8.html
--- old/rebootmgr-0.13/man/rebootmgrd.8.html 2017-03-15 13:09:22.000000000 +0100
+++ new/rebootmgr-0.14/man/rebootmgrd.8.html 2017-03-31 13:27:02.000000000 +0200
@@ -15,7 +15,7 @@
h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink {
visibility: visible;
}
- </style><a href="rebootmgr.index.html">Index </a><span style="float:right">rebootmgr 0.12</span><hr><div class="refentry"><a name="rebootmgrd.8"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>rebootmgrd, rebootmgr.service, org.opensuse.RebootMgr.conf — Reboot the machine during a maintenance window.</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">/usr/sbin/rebootmgrd</code> [ --debug | --help | --version ]</p></div><p><code class="filename">/usr/lib/systemd/system/rebootmgr.service</code></p><p><code class="filename">/etc/dbus-1/system.d/org.opensuse.RebootMgr.conf</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>To avoid that a whole cluster or a set of machines with the same task
+ </style><a href="rebootmgr.index.html">Index </a><span style="float:right">rebootmgr 0.14</span><hr><div class="refentry"><a name="rebootmgrd.8"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>rebootmgrd, rebootmgr.service, org.opensuse.RebootMgr.conf — Reboot the machine during a maintenance window.</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">/usr/sbin/rebootmgrd</code> [ --debug | --help | --version ]</p></div><p><code class="filename">/usr/lib/systemd/system/rebootmgr.service</code></p><p><code class="filename">/etc/dbus-1/system.d/org.opensuse.RebootMgr.conf</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>To avoid that a whole cluster or a set of machines with the same task
reboot at the same there, <span class="emphasis"><em>rebootmgrd</em></span> reboots
the machine following configured policies.</p><div class="refsect2"><a name="reboot_strategy_options"></a><h3 id="Reboot Strategies">Reboot Strategies<a class="headerlink" title="Permalink to this headline" href="#Reboot%20Strategies">¶</a></h3><p>
rebootmgr supports different strategies, when a reboot should be done:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rebootmgr-0.13/src/Makefile.in new/rebootmgr-0.14/src/Makefile.in
--- old/rebootmgr-0.13/src/Makefile.in 2017-03-15 13:12:08.000000000 +0100
+++ new/rebootmgr-0.14/src/Makefile.in 2017-03-31 13:26:56.000000000 +0200
@@ -327,9 +327,9 @@
exit 1;; \
esac; \
done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
$(am__cd) $(top_srcdir) && \
- $(AUTOMAKE) --foreign src/Makefile
+ $(AUTOMAKE) --gnu src/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rebootmgr-0.13/src/config_file.c new/rebootmgr-0.14/src/config_file.c
--- old/rebootmgr-0.13/src/config_file.c 2017-01-27 12:33:41.000000000 +0100
+++ new/rebootmgr-0.14/src/config_file.c 2017-03-31 12:58:53.000000000 +0200
@@ -97,12 +97,15 @@
}
g_key_file_set_string(key_file, RM_GROUP, "strategy", strategy_to_string(ctx->reboot_strategy, NULL));
- char *p = spec_to_string(ctx->maint_window_start);
- g_key_file_set_string(key_file, RM_GROUP, "window-start", p);
- free(p);
- p = duration_to_string(ctx->maint_window_duration);
- g_key_file_set_string(key_file, RM_GROUP, "window-duration", p);
- free(p);
+ if (ctx->maint_window_start != NULL)
+ {
+ char *p = spec_to_string(ctx->maint_window_start);
+ g_key_file_set_string(key_file, RM_GROUP, "window-start", p);
+ free(p);
+ p = duration_to_string(ctx->maint_window_duration);
+ g_key_file_set_string(key_file, RM_GROUP, "window-duration", p);
+ free(p);
+ }
g_key_file_set_string (key_file, RM_GROUP, "lock-group", ctx->lock_group);
error = NULL;
@@ -142,17 +145,20 @@
str_strategy = g_key_file_get_string (key_file, RM_GROUP, "strategy", NULL);
lock_group = g_key_file_get_string (key_file, RM_GROUP, "lock-group", NULL);
- if (str_start == NULL)
- str_start = strdup ("03:30");
- if (str_duration == NULL)
- str_duration = strdup ("1h");
+ if (str_start == NULL && str_duration != NULL)
+ str_duration = NULL;
ctx->reboot_strategy = string_to_strategy(str_strategy, NULL);
- if ((ret = calendar_spec_from_string (str_start, &ctx->maint_window_start)) < 0)
- log_msg (LOG_ERR, "ERROR: cannot parse window-start (%s): %s",
- str_start, strerror (-ret));
- if ((ctx->maint_window_duration = parse_duration (str_duration)) == BAD_TIME)
- log_msg (LOG_ERR, "ERROR: cannot parse window-duration '%s'",
- str_duration);
+ if (str_start != NULL)
+ {
+ if ((ret = calendar_spec_from_string (str_start,
+ &ctx->maint_window_start)) < 0)
+ log_msg (LOG_ERR, "ERROR: cannot parse window-start (%s): %s",
+ str_start, strerror (-ret));
+ if ((ctx->maint_window_duration =
+ parse_duration (str_duration)) == BAD_TIME)
+ log_msg (LOG_ERR, "ERROR: cannot parse window-duration '%s'",
+ str_duration);
+ }
if (ctx->lock_group)
free (ctx->lock_group);
if (lock_group == NULL)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rebootmgr-0.13/src/rebootmgrctl.c new/rebootmgr-0.14/src/rebootmgrctl.c
--- old/rebootmgr-0.13/src/rebootmgrctl.c 2017-03-03 16:29:33.000000000 +0100
+++ new/rebootmgr-0.14/src/rebootmgrctl.c 2017-03-31 13:22:23.000000000 +0200
@@ -207,7 +207,10 @@
if (dbus_message_get_args (reply, &error, DBUS_TYPE_STRING, &start,
DBUS_TYPE_STRING, &duration, DBUS_TYPE_INVALID))
{
- printf (_("Maintenance window is set to %s, lasting %s.\n"), start, duration);
+ if (start != NULL && strlen (start) > 0)
+ printf (_("Maintenance window is set to %s, lasting %s.\n"), start, duration);
+ else
+ printf (_("No maintenance window set.\n"));
}
else
{
@@ -618,17 +621,21 @@
const char *duration = argv[3];
CalendarSpec *tmp = NULL;
- if ((calendar_spec_from_string (start, &tmp)) < 0)
- {
- printf (_("Invalid time for maintenance window\n"));
- retval = 1;
- }
- else if (parse_duration (duration) == BAD_TIME)
+ if (strlen (argv[2]) > 0)
{
- printf (_("Invalid duration format for maintenance window\n"));
- retval = 1;
+
+ if ((calendar_spec_from_string (start, &tmp)) < 0)
+ {
+ printf (_("Invalid time for maintenance window\n"));
+ retval = 1;
+ }
+ else if (parse_duration (duration) == BAD_TIME)
+ {
+ printf (_("Invalid duration format for maintenance window\n"));
+ retval = 1;
+ }
}
- else
+ if (retval == 0)
retval = set_window (connection, start, duration);
}
else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rebootmgr-0.13/src/rebootmgrd.c new/rebootmgr-0.14/src/rebootmgrd.c
--- old/rebootmgr-0.13/src/rebootmgrd.c 2017-03-15 12:45:04.000000000 +0100
+++ new/rebootmgr-0.14/src/rebootmgrd.c 2017-03-31 13:13:23.000000000 +0200
@@ -433,9 +433,19 @@
else if (dbus_message_is_method_call (message, RM_DBUS_INTERFACE,
RM_DBUS_METHOD_GET_MAINTWINDOW))
{
- char *str_start = spec_to_string(ctx->maint_window_start);
- char *str_duration = duration_to_string(ctx->maint_window_duration);
+ char *str_start;
+ char *str_duration;
+ if (ctx->maint_window_start != NULL)
+ {
+ str_start = spec_to_string(ctx->maint_window_start);
+ str_duration = duration_to_string(ctx->maint_window_duration);
+ }
+ else
+ {
+ str_start = strdup ("");
+ str_duration = strdup ("");
+ }
log_msg (LOG_DEBUG, "str_start: '%s' str_duration: '%s'",
str_start, str_duration);
/* create a reply from the message */
@@ -459,13 +469,20 @@
DBUS_TYPE_STRING, &str_duration,
DBUS_TYPE_INVALID))
{
-
- if ((calendar_spec_from_string (str_start, &ctx->maint_window_start)) < 0)
- return reply;
-
- if ((ctx->maint_window_duration = parse_duration (str_duration)) ==
- BAD_TIME)
- return reply;
+ if (str_start && strlen (str_start) > 0)
+ {
+ if ((calendar_spec_from_string (str_start, &ctx->maint_window_start)) < 0)
+ return reply;
+
+ if ((ctx->maint_window_duration = parse_duration (str_duration)) ==
+ BAD_TIME)
+ return reply;
+ }
+ else if (ctx->maint_window_start != NULL)
+ {
+ calendar_spec_free (ctx->maint_window_start);
+ ctx->maint_window_start = NULL;
+ }
save_config(ctx);
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rebootmgr-0.13/systemd/Makefile.in new/rebootmgr-0.14/systemd/Makefile.in
--- old/rebootmgr-0.13/systemd/Makefile.in 2017-03-15 13:12:08.000000000 +0100
+++ new/rebootmgr-0.14/systemd/Makefile.in 2017-03-31 13:26:56.000000000 +0200
@@ -289,9 +289,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 \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rebootmgr-0.13/tests/Makefile.in new/rebootmgr-0.14/tests/Makefile.in
--- old/rebootmgr-0.13/tests/Makefile.in 2017-03-15 13:12:08.000000000 +0100
+++ new/rebootmgr-0.14/tests/Makefile.in 2017-03-31 13:26:56.000000000 +0200
@@ -531,9 +531,9 @@
exit 1;; \
esac; \
done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/Makefile'; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile'; \
$(am__cd) $(top_srcdir) && \
- $(AUTOMAKE) --foreign tests/Makefile
+ $(AUTOMAKE) --gnu tests/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \