Skip to content

Releases: lrupp/suse-online-update

2.4.1: add dbus to the ignored list of services

03 Jan 10:21
Compare
Choose a tag to compare

This tiny update just adds dbus to the list of ignored services for a restart.

2.4: introduce zypper_ps_restart

02 Jan 19:25
Compare
Choose a tag to compare

This new release splits out the restart functionality from the main script into a new one: zypper_ps_restart.

This allows to call zypper_ps_restart individually, if someone updated manually.

Bugfix: do not use '--with-optional' if update type is 'package'

18 Jan 21:12
Compare
Choose a tag to compare

The new --with-optional parameter results in a zypper error when called in combination with the --type package parameter. This release will only add the new optional parameter in case the type is not package.

Allow installing optional updates

17 May 14:26
adce798
Compare
Choose a tag to compare

A new option, that adds the --with-optional parameter when calling zypper to also install updates marked as optional.

Please adjust the config variable INCLUDE_OPTIONAL in /etc/sysconfig/suse-online-update or run the script with the parameter -o.

Introduce automatic service restart after update

28 Apr 12:50
Compare
Choose a tag to compare

Introducing new feature: automatic service restart after an update

A new option allows to restart services, that were affected by an update, automatically.

Specific services can be excluded from this automatic restart (like udev), if they are known to cause problems. On the other hand, this feature results in more secure systems, as services that use updated libraries (for example) will be restarted automatically after an update. This happens currently not automatically - services are only restarted if their packages get updated. If a library (like ssl for example) that is used by the service gets updated, the running service still uses the old version until restarted. The options RESTART_SERVICES (default: no) and IGNORE_SERVICES_FROM_RESTART in /etc/sysconfig/suse-online-update are used to configure this feature.
IGNORE_SERVICES_FROM_RESTART can contain a list of services (separated by whitespace) that are excluded from a restart. This is useful for services that are known to be problematic (like udev) or need to be handled in another way (like services that run in an HA setup).

Version 2.0

17 Apr 14:01
Compare
Choose a tag to compare
  • added a new variable: 'ZYPPER_UPDATE_TYPE' to sysconfig
    This allows to define the type that zypper should use to update.
    Possible types: patch, package, pattern, product, srcpackage
    Default: patch (as before)
  • check zypper exit codes and try to print a useful message at the end of
    an update run. Includes recursion in case zypper updated the update stack
    itself.
  • add debug option to commandline options
  • extended man page and usage output for new options

Version 1.9

17 Jan 14:40
Compare
Choose a tag to compare
  • touch the logfile early, to see if we can write to it later

Version 1.8

17 Jan 10:51
Compare
Choose a tag to compare
  • use service and timer files instead of cron for systemd distributions
  • provide a separate man page
  • provide usage information via '-h' option and some additional options
  • enhance error handling again if logfile could not be written

Version 1.7

16 Jan 15:34
Compare
Choose a tag to compare
  • better error handling, if log file could not be written

Version 1.6

16 Jan 15:08
Compare
Choose a tag to compare
  • split out cleanup part and make it optional
  • log errors from the permission run to the logfile
  • enhance the sysconfig files with two additional options:
    • RUN_CLEANUP : should cleanup run at all?
    • CLEANUP_USER : limit cleanup to files from this user
  • add legal header