Skip to content

Releases: coreos/console-login-helper-messages

v0.20.4

02 Aug 17:45
d37b619
Compare
Choose a tag to compare

Michael Nguyen [email protected] (1):
4815dc4 issuegen.service: workaround systemd patch

v0.21.3

15 Jul 20:47
v0.21.3
8b8ab20
Compare
Choose a tag to compare

Thanks to the following contributors for patches during this release:

Aashish Radhakrishnan [email protected] (1):
9da44bb Replace uses of mv -Z with mv && restorecon

Dusty Mabe [email protected] (2):
f933fa1 Updates for master -> main branch renamings
3391186 tests: move test libraries under data dir; delete data symlink

Jonathan Lebon [email protected] (1):
7251837 ci: constrain test glob more to run our tests

Kelvin Fan [email protected] (1):
4fed8f6 gensnippet-ssh-keys: Ensure service runs before agetty

Timothée Ravier [email protected] (6):
72d5a0b README & docs: End-of-line whitespace cleanup
3b801a8 etc & usr: Use /bin/bash everywhere
419ef60 etc & usr: Non-significant whitespace fixes
51eb238 etc & usr: Quotes variables as needed & small fixes
1d5db48 gensnippet_if: Fix a variable dereference (missing '$')
2843690 gensnippet_if_udev: Fix an issue with significant whitespace

v0.21.2

30 Mar 19:09
aaa0b80
Compare
Choose a tag to compare

Fixes:

  • Reset all display attributes after printing $PRETTY_NAME. This would fix e.g. an issue where CoreOS live environment leaves console prompt solid white after displaying welcome message.
Benjamin Gilbert (3):
      tests: drop issuegen.path status check
      tests: drop some unneeded sleeps
      gensnippet_os_release: fully reset ANSI attributes after ${ANSI_COLOR}

Kelvin Fan (2):
      Merge pull request #98 from bgilbert/path
      Merge pull request #97 from bgilbert/0m

v0.21.1

05 Feb 19:35
7602746
Compare
Choose a tag to compare

Changes:

  • util-linux version 2.36 or higher is now required. See the "Upstream tools' requirements" section of the manual for details.
  • MOTD messages generated by console-login-helper-messages (e.g. console-login-helper-messages-gensnippet-os-release.service) will now be displayed upon login through the serial console as well (previously only displayed upon login via ssh).
  • console-login-helper-messages will no longer support displaying issue files and MOTD files that are dropped in its private directories.

Fixes:

  • Fixes an issue where MOTDs are not displayed in newer versions of pam (since pam 1.4.0-6).
git shortlog v0.20.3..7602746dcc1986e099994e9ad17c91ac85720f08
Colin Walters (1):
      Merge pull request #96 from kelvinfan001/add-run-dir

Kelvin Fan (16):
      hack: Remove existing CLHM package on VM before rsync
      Merge pull request #90 from kelvinfan001/remove-clhm-from-vm
      Switch to public /run dir
      doc/manual: Update manual
      tests/kola: Modify kola tests to adapt to using public runtime dir
      tmpfiles.d: Create public runtime dirs
      hack/sync_to_vm: Update units to enable
      Merge pull request #91 from kelvinfan001/use-public-dirs
      libutil.sh: Allow generated MOTD files to be read by all users
      Merge pull request #94 from kelvinfan001/kfan-change-motd-permissions
      tmpfiles.d: Split back into individual files
      Minor fixes in README and Manual
      Makefile: No longer create unnecessary directories
      tests: Update tests for v0.21
      Merge pull request #95 from kelvinfan001/cleanup-for-0.21
      tmpfiles: Create `/run/console-login-helper-messages`

v0.20.3

23 Nov 15:16
39eef27
Compare
Choose a tag to compare

Fixed console-login-helper-messages-issugen.{service,path} failing when triggered too frequently.

git shortlog v0.20.2..39eef2
Kelvin Fan (3):
      {issuegen,motdgen}.service: `sleep 1` before we start generating
      tests: Add issuegen test for bursts of issue snippets
      Merge pull request #89 from kelvinfan001/rate-limit

v0.20.2

30 Oct 20:15
1e95fe5
Compare
Choose a tag to compare

Fixed:

  • Suppress systemd error message if systemd not running.
git shortlog v0.20.1..1e95fe5
Kelvin Fan (1):
      usr/share/profile.sh: Return early if not using systemd

steigr (1):
      Update gensnippet_if_udev

v0.20.1

02 Oct 17:04
793b02d
Compare
Choose a tag to compare

Fixed:

  • Failed systemd units not displaying properly after login
  • Segmentation faults when non real devices are added
git shortlog v0.20..793b02
Kelvin Fan:
      profile.sh: Update failed units' output
      gensnippet_if: Fix infinite recursive function

v0.20

02 Oct 16:51
dc03306
Compare
Choose a tag to compare

Remove symlinks from Makefile.
Fix infinite looping during boot up in Fedora 33 (Presets for .service units are now required).

git shortlog v0.19..dc03306
Kelvin Fan:
    Makefile: Remove symlinks
    tests: Remove requirement for .service units to be enabled
    tests/kola/basoc/test-issue.sh: Update expected symlink
    jenkinsfile: Add .cci.jenkinsfile
    {issuegen,motdgen}.{service,path}: Remove `PathExistsGlob` and add dependency on `.path`
    doc/manual: Add requirement for `.service` units preset

v0.19

08 Sep 16:51
c2730dd
Compare
Choose a tag to compare

Added:

  • gensnippet-os-release.service and gensnippet-ssh-keys.service units are split out from issuegen and motdgen. These units must be enabled for OS release information and SSH keys information to be displayed in the MOTD and issue, respectively.
  • -issuegen.path and -motdgen.path are now the only triggers to run the -issuegen.service and -motdgen.service units and must be enabled for displaying issue and MOTD messages. console-login-helper-messages-issuegen.service and console-login-helper-messages-motdgen.service units no longer need to be enabled.
  • Kola tests for testing basic functionality.
  • Development scripts to sync source code into a virtual machine for quick local testing.
  • Reorganized documentation and development scripts into their own respective folders.

Fixed:

  • For distributions using NetworkManager, there is now support for complex networking devices and devices with custom names through the use of a NetworkManager dispatcher script.
  • agetty now reloads when new issue snippets are dropped or removed. This fixes issues where changes won't be reflected in currently open serial (agetty) consoles, e.g. a network interface changed and got a new IP address during the time the console was left open.
$ git shortlog v0.18.2..c2730dd
Kelvin Fan:
      hack: Avoid relative paths
      manual: Update links
      Makefile: Install `/etc/NetworkManager/dispatch.d`
      doc/manual: Update udev to NetworkManager dispatcher script
      gensnippet: Support complex networking devices
      Makefile: add symlink
      tests: Add basic Kola tests
      doc/development: Update for Kola tests

Robert Fairley:
      issuegen: clean up code (variables, comments)
      issuegen: split out udev interface generation
      motdgen: do not share a staged file, use mktemp and mv
      issuegen: use mktemp and mv when writing files
      gensnippet_udev_if: fix copyright date to 2020
      {issuegen,motdgen}.path: start if snippets exist in path
      issuegen,motdgen: move systemd-user-sessions dependency to path unit
      tmpfiles.d/*: remove -tmpfiles from filename suffix
      Makefile: add all and install targets
      add script to sync source code to VM
      README: split out devel info into separate file
      README-devel: add instructions for testing via `make install`
      Makefile/clean_rpm: also remove .tar archives
      update user docs for Makefile and .path units
      reviewers.md: fix title, remove out-of-date text
      README: refer to reviewers.md file
      README-devel: fix typo "console"
      motdgen: split out motdgen.defs
      issuegen.defs: move under usr/lib
      issuegen.defs: align with motdgen.defs
      Makefile/install: install files under /usr/lib/console-login-helper-messages
      issuegen: split out SSH keys generation
      motdgen: split out OS release info generation
      manual: add explanation for gensnippet units
      install_vm_rpms.sh: enable OS release and SSH keys units
      install_vm_rpms: reduce ssh invocations
      sync_to_vm.sh: enable os release and ssh keys units

Sohan Kunkerkar:
      issuegen: reload the agetty console upon generation of new issue snippet
      doc: place all docs under the `doc` folder
      hack: move bash scripts under the `hack` folder
      github: add issue reporting templates
      README: add badges
      github: fix issue_template

v0.18.2

06 Jul 17:36
Compare
Choose a tag to compare

Added:

  • .path units for issuegen and motdgen which can optionally be (and really should be, but won't break functionality in this release if they are not) enabled to regenerate the issue/motd dynamically when files are dropped into /run/console-login-helper-messages/{issue,motd}.d. The console-login-helper-messages-issuegen.service and console-login-helper-messages-motdgen.service units should still be enabled to ensure the issue/motd are generated on boot. In the next incompatible development release (>=0.19.0), it is planned to be a requirement that the .path units are enabled.
  • Development scripts to build an RPM from source and install it into a virtual machine for local testing

Fixed:

  • issuegen and motdgen services no longer depend on network-online.target - this dependency was not needed and could cause a confusing failure with NetworkManager-wait-online.service (https://bugzilla.redhat.com/show_bug.cgi?id=1846169)
  • shebangs and executable bits were fixed to avoid a warning when building RPM
$ git shortlog v0.18.1..f9b6d9f2b7d4817fc0d2b04b70a67e1b9992c1dd
Robert Fairley (8):
      issuegen: add path unit
      motdgen: add path unit
      issuegen,motdgen: remove dependency on network-online.target
      usr/libexec: fix shebangs on executable scripts
      profile: don't make executable
      add containerized RPM build workflow
      add clean RPMs workflow
      add scripts to start vm and install rpms