Sync from SUSE:SLFO:Main rebootmgr revision 2b37ed2f285f8d26f9dca008b70b16a9
This commit is contained in:
commit
c68d98946e
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
rebootmgr-2.3.tar.xz
(Stored with Git LFS)
Normal file
BIN
rebootmgr-2.3.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
236
rebootmgr.changes
Normal file
236
rebootmgr.changes
Normal file
@ -0,0 +1,236 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 8 09:51:29 UTC 2024 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
- Update to version 2.3
|
||||
- rebootmgrd: add verbose mode
|
||||
- Enable verbose mode in rebootmgr.service by default
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 7 13:07:11 UTC 2024 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
- Update to version 2.2
|
||||
- Make sure /run/reboot-needed get's deleted after a soft-reboot
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 18 13:46:41 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
- Update to version 2.1
|
||||
- Support systemctl soft-reboot (systemd >= v254)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 11 08:30:08 UTC 2023 - Avinesh Kumar <avinesh.kumar@suse.com>
|
||||
|
||||
- Typo fix in spec description
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 26 12:25:06 UTC 2022 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
- Update to version 2.0
|
||||
- Remove outdated etcd code
|
||||
- Fix issue#10:
|
||||
Reboots happen at the first moment of the maintenance window
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 10 15:17:01 UTC 2021 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
- Update to version 1.3.1
|
||||
- Move all dbus config files to /usr/share/dbus-1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 1 13:04:21 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
- Update to version 1.3
|
||||
- Fix documentation of is-active return value [bsc#1173484]
|
||||
- Fix crash if rebootmgrd is already running
|
||||
- Fix systemctl restart; also removes KillMode=none from systemd
|
||||
service file [bsc#1186510]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 8 14:20:25 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
- Update to version 1.2
|
||||
- depend on dbus and not network as we disabled etcd support
|
||||
[bsc#1172518]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 30 10:31:48 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
- Update to version 1.1
|
||||
- fix systemd and tmpfiles.d directory path
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 30 10:27:37 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
- Use official tar archive
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 27 10:43:58 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
- Adjust BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 27 09:51:18 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
- Update to version 1.0
|
||||
- Rewrite rebootmgrd to not depend on glib and dbus-glib
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 29 12:40:26 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
- Disable ectd support (no current etcd C-library available)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 27 13:59:47 UTC 2019 - Ignaz Forster <iforster@suse.com>
|
||||
|
||||
- Fix %posttrans script returning an error code
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 4 15:32:45 CET 2019 - kukuk@suse.de
|
||||
|
||||
- Update to version 0.20.1
|
||||
- added a memory allocation check
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 9 10:40:46 CEST 2019 - kukuk@suse.de
|
||||
|
||||
- Fix %config for backward compatibility
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 6 13:03:15 CEST 2019 - kukuk@suse.de
|
||||
|
||||
- Update to version 0.20
|
||||
- add support to write changes back to /etc/rebootmgr.conf
|
||||
- fix compilation with glibc 2.30 [bsc#1197850]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 28 12:56:07 CEST 2019 - kukuk@suse.de
|
||||
|
||||
- Preserve /etc/rebootmgr.conf if modified
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 27 15:17:28 CEST 2019 - kukuk@suse.de
|
||||
|
||||
- Update to version 0.19
|
||||
- use libeconf for /usr/etc move
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 17 16:52:42 CET 2019 - kukuk@suse.de
|
||||
|
||||
- Update to version 0.18
|
||||
- allow to compile without etcd support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 28 13:35:47 CEST 2018 - kukuk@suse.de
|
||||
|
||||
- Update to version 0.17
|
||||
- fix some bugs around etcd locks and reboot fast path
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 19 12:00:31 CET 2018 - kukuk@suse.de
|
||||
|
||||
- Use %license instead of %doc [bsc#1082318]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 10 10:08:21 CET 2018 - kukuk@suse.de
|
||||
|
||||
- Update to version 0.16
|
||||
- fix compile problem with new json-c [bsc#1075329]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 13 15:46:09 CEST 2017 - kukuk@suse.de
|
||||
|
||||
- Update to version 0.15
|
||||
- Adjust for systemd >= 230
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 15 13:13:14 CET 2017 - kukuk@suse.de
|
||||
|
||||
- Update to version 0.13
|
||||
- Don't reboot outside maintenance window if getting the etcd
|
||||
lock takes too long [bsc#1028060]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 3 16:44:09 CET 2017 - kukuk@suse.de
|
||||
|
||||
- Update to version 0.12
|
||||
- Rewrote reboot code to not block dbus if we wait for etcd locks
|
||||
[bsc#1026298]
|
||||
- Fix rebootmgr.service dependencies
|
||||
- Check input for maintenance window for correct syntax before
|
||||
sending to the daemon [bsc#1026220]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 27 17:44:46 CET 2017 - kukuk@suse.de
|
||||
|
||||
- Update to version 0.11
|
||||
- Implement unlocking of a machine_id not equal to our own [bsc#1026273]
|
||||
- Watch for correct key when waiting for lock [bsc#1026274]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 16 15:01:51 CET 2017 - kukuk@suse.de
|
||||
|
||||
- Update to version 0.10
|
||||
- Fix typos in documentation
|
||||
- Fix compilation on 32bit systems
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 14 11:36:41 CET 2017 - kukuk@suse.de
|
||||
|
||||
- Update to version 0.9
|
||||
- Finish rebootmgrctl manual page
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 8 16:48:30 CET 2017 - kukuk@suse.de
|
||||
|
||||
- Update to version 0.8
|
||||
- Implement changing number of hosts holding a lock at the same time
|
||||
- Add new and enhance existing manual pages
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 12 21:19:48 CET 2017 - kukuk@suse.de
|
||||
|
||||
- Update to version 0.7
|
||||
- Fix dbus name in systemd service file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 12 11:34:33 CET 2017 - kukuk@suse.de
|
||||
|
||||
- Update to version 0.6
|
||||
- Add etcd lock support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 9 16:33:00 CET 2017 - kukuk@suse.de
|
||||
|
||||
- Update to version 0.5
|
||||
- Rewrite for better dbus support
|
||||
- Merges typo.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 13 10:08:30 CET 2016 - kukuk@suse.de
|
||||
|
||||
- Fix typo in executing systemctl
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 23 15:16:38 CET 2016 - kukuk@suse.de
|
||||
|
||||
- Update to versin 0.3
|
||||
- fix path for systemctl
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 23 10:50:31 CET 2016 - kukuk@suse.de
|
||||
|
||||
- Update to version 0.2
|
||||
- implement maintenance window
|
||||
- implement rebootmgrctl get-strategy
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 20 21:37:09 CET 2016 - kukuk@suse.de
|
||||
|
||||
- Initial submission
|
||||
|
97
rebootmgr.spec
Normal file
97
rebootmgr.spec
Normal file
@ -0,0 +1,97 @@
|
||||
#
|
||||
# spec file for package rebootmgr
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%if ! %{defined _distconfdir}
|
||||
%define _distconfdir %{_sysconfdir}
|
||||
%define with_config 1
|
||||
%else
|
||||
%define with_config 0
|
||||
%endif
|
||||
|
||||
Name: rebootmgr
|
||||
Version: 2.3
|
||||
Release: 0
|
||||
Summary: Automatic controlled reboot during a maintenance window
|
||||
License: GPL-2.0-only AND LGPL-2.1-or-later
|
||||
Group: System/Base
|
||||
URL: https://github.com/SUSE/rebootmgr
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(dbus-1)
|
||||
BuildRequires: pkgconfig(libeconf)
|
||||
|
||||
%description
|
||||
RebootManager is a dbus service to execute a controlled reboot after updates in a defined maintenance window.
|
||||
|
||||
If you updated a system with e.g. transactional updates or a kernel update was applied, you can tell rebootmgrd with rebootmgrctl, that the machine should be reboot at the next possible time. This can either be immediately or during a defined maintenance window.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
ln -sf service %{buildroot}%{_sbindir}/rcrebootmgr
|
||||
if [ ! -d %{buildroot}%{_distconfdir} ]; then
|
||||
mkdir -p %{buildroot}%{_distconfdir}
|
||||
mv %{buildroot}%{_sysconfdir}/rebootmgr.conf %{buildroot}%{_distconfdir}
|
||||
fi
|
||||
%fdupes %{buildroot}%{_mandir}
|
||||
|
||||
%pre
|
||||
%service_add_pre rebootmgr.service
|
||||
test -f /etc/rebootmgr.conf.rpmsave && mv -v /etc/rebootmgr.conf.rpmsave /etc/rebootmgr.conf.rpmsave.old ||:
|
||||
|
||||
%post
|
||||
%service_add_post rebootmgr.service
|
||||
|
||||
%preun
|
||||
%service_del_preun rebootmgr.service
|
||||
|
||||
%postun
|
||||
%service_del_postun rebootmgr.service
|
||||
|
||||
%posttrans
|
||||
test -f /etc/rebootmgr.conf.rpmsave && mv -v /etc/rebootmgr.conf.rpmsave /etc/rebootmgr.conf ||:
|
||||
|
||||
%files
|
||||
%license COPYING COPYING.LIB
|
||||
%doc NEWS
|
||||
%if %{with_config}
|
||||
%config %{_sysconfdir}/rebootmgr.conf
|
||||
%else
|
||||
%{_distconfdir}/rebootmgr.conf
|
||||
%endif
|
||||
%{_unitdir}/rebootmgr.service
|
||||
%{_tmpfilesdir}/soft-reboot-cleanup.conf
|
||||
%{_sbindir}/rebootmgrctl
|
||||
%{_sbindir}/rebootmgrd
|
||||
%{_sbindir}/rcrebootmgr
|
||||
%{_datadir}/dbus-1/interfaces/org.opensuse.RebootMgr.xml
|
||||
%{_datadir}/dbus-1/system.d/org.opensuse.RebootMgr.conf
|
||||
%{_mandir}/man1/rebootmgrctl.1%{?ext_man}
|
||||
%{_mandir}/man5/rebootmgr.conf.5%{?ext_man}
|
||||
%{_mandir}/man8/rebootmgrd.8%{?ext_man}
|
||||
%{_mandir}/man8/org.opensuse.RebootMgr.conf.8%{?ext_man}
|
||||
%{_mandir}/man8/rebootmgr.service.8%{?ext_man}
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user