Revisions of transactional-update

Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1172470 from Ignaz Forster's avatar Ignaz Forster (fos) (revision 108)
- Version 4.6.8
  - tukit: Properly handle overlay syncing failures: If the system would not be rebooted and several snapshots accumulated in the meantime, it was possible that the previous base snapshot - required for /etc syncing - was deleted already. In that case changes in /etc might have been reset. [gh#openSUSE/transactional-update#116] [gh#kube-hetzner/terraform-hcloud-kube-hetzner#1287]
  - soft-reboot: Log requested reboot type
  - soft-reboot: Don't force hard reboot on version change only
- Version 4.6.7
  - Add support for snapper 0.11.0; also significantly decreases cleanup time [boo#1223504]
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1168900 from Ignaz Forster's avatar Ignaz Forster (fos) (revision 107)
- Version 4.6.6  
  - soft-reboot: Fix inverted logic of soft-reboot detection
  - soft-reboot: Don't use D-Bus for snapper call - it may be shutting down already
  - soft-reboot: Remove unused variable
  - doc: Document configuration file snippets for tukit.conf
- Remove script to disable soft-reboot support - this is the default for now anyway
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1167144 from Ignaz Forster's avatar Ignaz Forster (fos) (revision 106)
- Version 4.6.5
  - Rework soft-reboot support introduced in 4.6.0:
    - On transactional systems with systemd 254 the system could
      hang with with a soft-reboot, as /var and /etc have to be
      mounted in /run/nextroot explicitly. As a soft-reboot can
      also be triggered by an admin the mounting of the
      corresponding mount points was moved to a systemd service to
      be independent of t-u itself.
    - Support for systemd 255
    - Don't decrease reboot level on multiple commands
    - Various other bugfixes
    - soft-reboot support is disabled by default now to gather more feedback
  - libtukit: Fix kexec reboot method to boot kernel / initrd of next snapshot
  - tukit: Don't clone lock file handle on exec [boo#1222411]
  - t-u: Always use zypper of installed system [bsc#1221346]
  - t-u: Remove remaining telemetrics references
- Add prepare-nextroot-for-softreboot service
- Add (empty) %check section

Also requires https://build.opensuse.org/request/show/1167142.
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1157610 from Ignaz Forster's avatar Ignaz Forster (fos) (revision 105)
Intermediate package to not block systemd 255 release

- Disable soft-reboot support for now as long as it isn't working reliably
- Move tukit.conf to correct package
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1154848 from Ignaz Forster's avatar Ignaz Forster (fos) (revision 104)
- Version 4.6.0
  - tukit / t-u: Implement support for systemd soft-reboot, but needs package manager support (provided by zypp-boot-plugin on openSUSE) to determine which kind of reboot is required; the minimally required reboot method (soft-reboot, kexec, full reboot) will be used automatically if enabled (see tukit.conf).
    This deprecates the "kexec" reboot method in favor of automatic selection.
  - tukit: Determine D-Bus availability via system socket instead of brute force
  - tukit: Don't ignore return status of snapper - plugins can return an error code now where tukit has to fail [gh##118] / [poo#127169]
  - tukit: Remove BTRFS dependencies in snapper backend, user snapper for for everything directly. In theory this should support further file systems such as bcachefs if they follow the same layout (untested).
  - t-u: Add safety net before deleting overlays [boo#1217416]
  - t-u: Remove telemetry support, the required packages haven't been in the repository for quite some time as they were abandoned upstream.
  - doc: Document option to use names in BINDDIRS array
  - doc: Mention tukit.conf in t-u man page
  - doc: Link Reboot.hpp as an officially supported API on the main page
  - Code cleanup
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1141558 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 103)
Automatic submission by obs-autosubmit
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1127927 from Ignaz Forster's avatar Ignaz Forster (fos) (revision 102)
- Version 4.5.0
  - libtukit: Use permissions of real /etc when creating overlay [bsc#1215878]
  - libtukit, tukit: Support "rollback" via library now
  - tukitd: Implement Snapshot delete and rollback methods
  - tukit: Check for missing arguments with "close" and "abort" commands
  - t-u: Warn user when using "kdump" if it isn't configured to avoid confusion with "setup-kdump" [boo#1215725]
  - t-u: Abort if mkdumprd run is not successful
  - t-u: Use defaut from config file if t-u is called without arguments [gh#openSUSE/transactional-update#101]
  - Improved README.md [gh#openSUSE/transactional-update#59] and API docs
  - Code cleanup
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1111543 from Ignaz Forster's avatar Ignaz Forster (fos) (revision 101)
Requires https://build.opensuse.org/request/show/1111466.

- Version 4.4.0
  - t-u: Introduce setup-fips command [jsc#SMO-194]
  - libtukit: Always set a cleanup algorithm for snapshots - when
    using API, D-Bus interface or tukit the snapshots will be
    automatically cleaned up by snapper after some time now; in the
    past only snapshots created by the transactional-update shell
    script would be cleanup after, and only after a `t-u cleanup`
    run.
  - tukit: enable kexec's syscall detection feature
  - tukit: Don't throw exceptions from the child process after fork
  - tukitd: Rename service file to org.opensuse.tukit.service
  - tukitd: Allow querying DBus Properties [boo#1214707]
  - t-u: Add support for fully written-out update commands
  - t-u: Improve detection of existing kernel parameters
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1095846 from Ignaz Forster's avatar Ignaz Forster (fos) (revision 100)
- Version 4.3.0
  - Replace custom tu-rebuild-kdump-initrd with call to mkdumprd
    [gh#openSUSE/transactional-update#107].
  - Add support for libmount 2.39. The behaviour change was not
    intended and will be changed in 2.39.1 (see
    [gh#util-linux/util-linux#2326], but it was easy to fix it
    anyway.
  - Honor LIBMOUNT_DEBUG variable for additional output.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1085717 from Ignaz Forster's avatar Ignaz Forster (fos) (revision 99)
- Version 4.2.1
  - Implement "apply" command to switch into new snapshot directly
    [jsc#PED-3912]
  - Use new snapper functionality to set default snapshot - this
    makes it possible to execute hooks as requested in
    [poo#127160], [gh#openSUSE/transactional-update#85] and
    [gh#openSUSE/transactional-update#105].
  - Don't hardcode GRUB2 [gh#openSUSE/transactional-update#100] /
    [poo#127154]
  - Fix cleanup handler
  - Fix unmounting temporary mounts
  - Prevent loosing track of snapshots in certain rollback
    scenarios - these would not be marked for deletion otherwise
  - Document "notify" reboot method
- Minimal required snapper version is 0.8.10 now, for the new
  snapper functionality there is a backwards compatibility layer.
- Conflict with health-checker < 1.8 - the "good" snapshot
  detection of GRUB cannot rely on transactional-update any more
  due to the new apply command
- Depend on usrmerge for apply command
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1073957 from Ignaz Forster's avatar Ignaz Forster (fos) (revision 98)
- Version 4.1.5
  - Add support for configuration file snippets
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1070733 from Ignaz Forster's avatar Ignaz Forster (fos) (revision 97)
- Version 4.1.4
  - Workaround for broken Tumbleweed package libfdisk1
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1063863 from Ignaz Forster's avatar Ignaz Forster (fos) (revision 96)
- Version 4.1.3
  - Suppress SELinux relabelling output in quiet mode
  - Documentation readability improvements
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1060452 from Ignaz Forster's avatar Ignaz Forster (fos) (revision 95)
- Version 4.1.2
  - Don't try to mount user mounts if they don't exist [boo#1207366]
- Version 4.1.1
  - Mount user specific binddirs last: Prevously the internal mounts would
    potentially overwrite user bind mounts [boo#1205011]
  - selinux: Relabel shadowed /var files during update to make sure they
    don't interfere with the update [boo#1205937]
  - Clean up /var/lib/overlay more aggressively [boo#1206947]
  - tukit: Merge /etc overlay into parent if --discard is used together
    with --continue - previously the files were incorrectly always merged
    with the currently running system
  - status: do not execute the status command if experimental
  - Don't delete created mount point dirs any more
  - Small code optimizations
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) committed (revision 94)
https://bugzilla.opensuse.org/show_bug.cgi?id=1207366
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1059525 from Ignaz Forster's avatar Ignaz Forster (fos) (revision 93)
- Version 4.1.1
  - Mount user specific binddirs last: Prevously the internal mounts would potentially overwrite user bind mounts [boo#1205011]
  - selinux: Relabel shadowed /var files during update to make sure they don't interfere with the update [boo#1205937]
  - Clean up /var/lib/overlay more aggressively [boo#1206947]
  - tukit: Merge /etc overlay into parent if --discard is used together with --continue - previously the files were incorrectly always merged with the currently running system
  - status: do not execute the status command if experimental
  - Don't delete created mount point dirs any more
  - Small code optimizations
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1031369 from Ignaz Forster's avatar Ignaz Forster (fos) (revision 92)
- Version 4.1.0
  - t-u: Add a "setup-kdump" command; implements [jsc#PED-1441]
  - Export TRANSACTIONAL_UPDATE_ROOT (the path to the snapshot) in the update environment; implements [jsc#PED-1078]
  - Add support for "notify" reboot method for desktop use [gh#openSUSE/transactional-update#93]
  - Fix kdump initrd recreation detection; the check was performed in the active snapshot instead of the target snapshot
  - Document register command [bsc#1202900]
  - Avoid unnecessary snapshots for register command [bsc#1202901]
  - Various optimizations for register command
  - Remove bogus error message when triggering reboot
  - Rework /etc overlay documentation in "The Transactional Update Guide"
  - Fix incorrect manpage formatting
  - Remove leftover "salt" reboot method in configuration example file
  - Replace deprecated std::mem_fn with lambdas
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 993808 from Ignaz Forster's avatar Ignaz Forster (fos) (revision 89)
- Version 4.0.0 (final)
  - Changed "List" method of Snapshot D-Bus interface to return a map of properties instead of a comma separated list of strings; this will allow retrieving the snapshot properties even if they contain a comma in their value [boo#1202147]
  - Remove "Snapshot.hpp" as a public API for now - all public functionality is part of SnapshotManager.hpp
  - Add header file documentation for SnapshotManager.hpp
  - Add method to delete snapshot [gh#openSUSE/transactional-update#52]
  - Allow setting description of snapshot [gh#openSUSE/transactional-update#55]
  - create_dirs_from_rpmdb: set SELinux file context of missing directories [gh#openSUSE/transactional-update#84], [bsc#1197242]
  - Fix broken logrotate due to typo in config file [gh#openSUSE/transactional-update#87]
  - create_dirs_from_rpmdb: Fix handling return code of create_dirs() [gh#openSUSE/transactional-update#86]
  - Fix broken "shell" prompt after selfupdate
  - Add documented D-Bus interface definition files
  - Add tukit_sm_get_current and tukit_sm_get_default to C interface
  - Fixed typos
Displaying revisions 1 - 20 of 108
openSUSE Build Service is sponsored by