Today’s sysadmin tip: Latest rpm changelog entry

Nothing special today, just a small script that shows (only) the newest changelog entries from the latest installed version of a package, optionally only showing security entries. Especially useful for multiversioned packages, like the kernel.

latest-changelog script may be downloaded here.

Example run:

latest-changelog: Shows the most recent changelog part of the latest installed package given

Usage: latest-changelog [-s] package | [-h]
  -s | --security : Filter out security information
  -h | --help     : This message

Example: latest-changelog -s kernel

[ingvar@thijs ~]$ latest-changelog -s kernel
- [exec] ptrace: fix get_dumpable() incorrect tests (Petr Oros) [1039486 1039487] {CVE-2013-2929}
- [net] ipv6: fix leaking uninitialized port number of offender sockaddr (Florian Westphal) [1035882 1035883] {CVE-2013-6405}
- [net] inet: fix addr_len/msg->msg_namelen assignment in recv_error functions (Florian Westphal) [1035882 1035883] {CVE-2013-6405}
- [net] inet: prevent leakage of uninitialized memory to user in recv syscalls (Florian Westphal) [1035882 1035883] {CVE-2013-6405}
- [net] ipvs: Add boundary check on ioctl arguments (Denys Vlasenko) [1030817 1030818] {CVE-2013-4588}

2 Responses to “Today’s sysadmin tip: Latest rpm changelog entry”

  1. Rahul Sundaram says:

    You should get this included in yum-utils or the dnf equivalent if any

  2. Jamie Nguyen says:

    Nice! :)

Leave a Reply