Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support SUSE Enterprise Linux #487

Merged
merged 5 commits into from Sep 28, 2017
Merged

Support SUSE Enterprise Linux #487

merged 5 commits into from Sep 28, 2017

Conversation

kotakanbe
Copy link
Member

@kotakanbe kotakanbe commented Sep 11, 2017

Support SUSE Enterprise Linux Server 11 and 12.

Todos:

You don't have to satisfy all of the following.

  • Write tests
  • Write documentation
  • Check that there aren't other open pull requests for the same issue/feature
  • Format your source code by make fmt
  • Pass the test by make test
  • Provide verification config / commands
  • Enable "Allow edits from maintainers" for this PR
  • Update the messages below

Is this ready for review?: YES
Is it a breaking change?: NO

@kotakanbe
Copy link
Member Author

kotakanbe commented Sep 11, 2017

MEMO

https://en.opensuse.org/SDB:Zypper_usage_11.3

How to get updatable packages information

ec2-user@ip-172-31-6-236:~> zypper -q lu
S | Repository                                  | Name                          | Current Version             | Available Version           | Arch
--+---------------------------------------------+-------------------------------+-----------------------------+-----------------------------+-------
v | SLES12-SP2-Updates                          | SUSEConnect                   | 0.3.0-19.8.1                | 0.3.1-19.11.2               | x86_64
v | SLES12-SP2-Updates                          | SuSEfirewall2                 | 3.6.312-2.3.1               | 3.6.312-2.10.1              | noarch
v | SLES12-SP2-Updates                          | autoyast2-installation        | 3.1.154-36.3.2              | 3.1.160-36.8.1              | noarch
v | SLES12-SP2-Updates                          | bind-libs                     | 9.9.9P1-59.1                | 9.9.9P1-62.1                | x86_64
v | SLES12-SP2-Updates                          | bind-utils                    | 9.9.9P1-59.1                | 9.9.9P1-62.1                | x86_64
v | SLES12-SP2-Updates                          | binutils                      | 2.26.1-9.12.1               | 2.26.1-9.15.1               | x86_64
v | SLE-Module-Public-Cloud12-Updates           | cloud-regionsrv-client        | 7.0.5-51.1                  | 7.0.6-52.3.1                | noarch
v | SLE-Module-Containers12-Updates             | containerd                    | 0.2.5+gitr569_2a5e70c-15.3  | 0.2.5+gitr639_422e31c-20.2  | x86_64
v | SLES12-SP2-Updates                          | curl                          | 7.37.0-36.1                 | 7.37.0-37.3.1               | x86_64
v | SLES12-SP2-Updates                          | cyrus-sasl                    | 2.1.26-7.1                  | 2.1.26-8.7.1                | x86_64
v | SLES12-SP2-Updates                          | cyrus-sasl-digestmd5          | 2.1.26-7.1                  | 2.1.26-8.7.1                | x86_64
v | SLES12-SP2-Updates                          | cyrus-sasl-gssapi             | 2.1.26-7.1                  | 2.1.26-8.7.1                | x86_64
v | SLES12-SP2-Updates                          | cyrus-sasl-plain              | 2.1.26-7.1                  | 2.1.26-8.7.1                | x86_64
v | SLES12-SP2-Updates                          | cyrus-sasl-saslauthd          | 2.1.26-7.1                  | 2.1.26-8.7.1                | x86_64
v | SLES12-SP2-Updates                          | dirmngr                       | 1.1.1-10.1                  | 1.1.1-13.1                  | x86_64
v | SLE-Module-Containers12-Updates             | docker                        | 1.12.6-90.1                 | 17.04.0_ce-98.2             | x86_64
v | SLES12-SP2-Updates                          | dracut                        | 044-109.5.3                 | 044.1-109.17.1              | x86_64
v | SLES12-SP2-Updates                          | e2fsprogs                     | 1.42.11-12.1                | 1.42.11-15.1                | x86_64
v | SLES12-SP2-Updates                          | expat                         | 2.1.0-20.2                  | 2.1.0-21.3.1                | x86_64
v | SLE-SDK12-SP2-Updates                       | git-core                      | 2.12.3-26.1                 | 2.12.3-27.5.1               | x86_64
v | SLES12-SP2-Updates                          | insserv-compat                | 0.1-13.1                    | 0.1-14.3.1                  | noarch
v | SLES12-SP2-Updates                          | iptables                      | 1.4.21-2.10                 | 1.4.21-4.1                  | x86_64
v | SLES12-SP2-Updates                          | kernel-default                | 4.4.59-92.20.2              | 4.4.74-92.35.1              | x86_64
v | SLES12-SP2-Updates                          | libcom_err2                   | 1.42.11-12.1                | 1.42.11-15.1                | x86_64
v | SLES12-SP2-Updates                          | libcurl4                      | 7.37.0-36.1                 | 7.37.0-37.3.1               | x86_64
v | SLES12-SP2-Updates                          | libexpat1                     | 2.1.0-20.2                  | 2.1.0-21.3.1                | x86_64
v | SLES12-SP2-Updates                          | libext2fs2                    | 1.42.11-12.1                | 1.42.11-15.1                | x86_64
v | SLES12-SP2-Updates                          | libgcrypt20                   | 1.6.1-16.39.1               | 1.6.1-16.45.1               | x86_64
v | SLES12-SP2-Updates                          | libicu52_1                    | 52.1-7.1                    | 52.1-8.3.1                  | x86_64
v | SLES12-SP2-Updates                          | libicu52_1-data               | 52.1-7.1                    | 52.1-8.3.1                  | x86_64
v | SLES12-SP2-Updates                          | libiptc0                      | 1.4.21-2.10                 | 1.4.21-4.1                  | x86_64
v | SLES12-SP2-Updates                          | libldap-2_4-2                 | 2.4.41-18.29.1              | 2.4.41-18.32.3              | x86_64
v | SLES12-SP2-Updates                          | liblua5_1                     | 5.1.5-7.127                 | 5.1.5-8.3.1                 | x86_64
v | SLES12-SP2-Updates                          | libncurses5                   | 5.9-40.124                  | 5.9-50.1                    | x86_64
v | SLES12-SP2-Updates                          | libncurses6                   | 5.9-40.124                  | 5.9-50.1                    | x86_64
v | SLES12-SP2-Updates                          | libopenssl1_0_0               | 1.0.2j-59.1                 | 1.0.2j-60.11.2              | x86_64
v | SLES12-SP2-Updates                          | libprocps3                    | 3.3.9-10.1                  | 3.3.9-11.8.1                | x86_64
v | SLES12-SP2-Updates                          | libsasl2-3                    | 2.1.26-7.1                  | 2.1.26-8.7.1                | x86_64
v | SLES12-SP2-Updates                          | libsemanage1                  | 2.5-5.1                     | 2.5-8.1                     | x86_64
v | SLES12-SP2-Updates                          | libsystemd0                   | 228-142.1                   | 228-150.15.2                | x86_64
v | SLES12-SP2-Updates                          | libudev1                      | 228-142.1                   | 228-150.15.2                | x86_64
v | SLES12-SP2-Updates                          | libxml2-2                     | 2.9.4-39.2                  | 2.9.4-46.3.2                | x86_64
v | SLES12-SP2-Updates                          | libxtables10                  | 1.4.21-2.10                 | 1.4.21-4.1                  | x86_64
v | SLES12-SP2-Updates                          | libzypp                       | 16.5.2-27.9.1               | 16.15.2-27.21.1             | x86_64
v | SLES12-SP2-Updates                          | lsscsi                        | 0.29-6.1                    | 0.29-7.3.1                  | x86_64
v | SLES12-SP2-Updates                          | ncurses-utils                 | 5.9-40.124                  | 5.9-50.1                    | x86_64
v | SLES12-SP2-Updates                          | nfs-client                    | 1.3.0-30.2                  | 1.3.0-33.7                  | x86_64
v | SLES12-SP2-Updates                          | nfs-kernel-server             | 1.3.0-30.2                  | 1.3.0-33.7                  | x86_64
v | SLES12-SP2-Updates                          | openldap2-client              | 2.4.41-18.29.1              | 2.4.41-18.32.3              | x86_64
v | SLES12-SP2-Updates                          | openssh                       | 7.2p2-69.1                  | 7.2p2-74.1                  | x86_64
v | SLES12-SP2-Updates                          | openssl                       | 1.0.2j-59.1                 | 1.0.2j-60.11.2              | x86_64
v | SLES12-SP2-Updates                          | perl-Bootloader               | 0.915-8.1                   | 0.917-9.3.5                 | x86_64
v | SLES12-SP2-Updates                          | procps                        | 3.3.9-10.1                  | 3.3.9-11.8.1                | x86_64
v | SLE-Module-Adv-Systems-Management12-Updates | python-PyYAML                 | 3.10-22.1                   | 3.12-25.1                   | x86_64
v | SLE-Module-Public-Cloud12-Updates           | python-boto                   | 2.39.0-10.1                 | 2.42.0-9.4.1                | noarch
v | SLE-Module-Adv-Systems-Management12-Updates | python-pycrypto               | 2.6.1-9.1                   | 2.6.1-10.3.1                | x86_64
v | SLE-Module-Adv-Systems-Management12-Updates | python-requests               | 2.8.1-6.16.1                | 2.11.1-6.20.1               | noarch
v | SLE-Module-Public-Cloud12-Updates           | python-rsa                    | 3.1.4-11.1                  | 3.1.4-12.2.1                | noarch
v | SLES12-SP2-Updates                          | release-notes-sles            | 12.2.20170602-5.22.1        | 12.2.20170721-5.25.1        | noarch
v | SLE-Module-Containers12-Updates             | runc                          | 0.1.1+gitr2819_50a19c6-15.2 | 0.1.1+gitr2947_9c2d8d1-20.3 | x86_64
v | SLES12-SP2-Updates                          | sed                           | 4.2.2-6.1                   | 4.2.2-7.3.1                 | x86_64
v | SLE-Module-Containers12-Updates             | sle-module-containers-release | 12-5.1                      | 12-6.3.1                    | x86_64
v | SLES12-SP2-Updates                          | sudo                          | 1.8.10p3-10.5.1             | 1.8.10p3-10.13.1            | x86_64
v | SLES12-SP2-Updates                          | supportutils                  | 3.0-94.1                    | 3.0-95.3.1                  | noarch
v | SLES12-SP2-Updates                          | systemd                       | 228-142.1                   | 228-150.15.2                | x86_64
v | SLES12-SP2-Updates                          | systemd-sysvinit              | 228-142.1                   | 228-150.15.2                | x86_64
v | SLES12-SP2-Updates                          | tcsh                          | 6.18.01-7.4                 | 6.18.01-8.3.1               | x86_64
v | SLES12-SP2-Updates                          | terminfo                      | 5.9-40.124                  | 5.9-50.1                    | x86_64
v | SLES12-SP2-Updates                          | terminfo-base                 | 5.9-40.124                  | 5.9-50.1                    | x86_64
v | SLES12-SP2-Updates                          | udev                          | 228-142.1                   | 228-150.15.2                | x86_64
v | SLES12-SP2-Updates                          | vim                           | 7.4.326-7.1                 | 7.4.326-16.1                | x86_64
v | SLES12-SP2-Updates                          | xen-libs                      | 4.7.2_04-39.1               | 4.7.3_03-43.9.1             | x86_64
v | SLES12-SP2-Updates                          | xen-tools-domU                | 4.7.2_04-39.1               | 4.7.3_03-43.9.1             | x86_64
v | SLES12-SP2-Updates                          | xfsprogs                      | 4.3.0-8.8                   | 4.3.0-12.1                  | x86_64
v | SLES12-SP2-Updates                          | xtables-plugins               | 1.4.21-2.10                 | 1.4.21-4.1                  | x86_64
v | SLES12-SP2-Updates                          | yast2-bootloader              | 3.1.207-28.6.11             | 3.1.211-28.9.1              | x86_64
v | SLES12-SP2-Updates                          | yast2-ntp-client              | 3.1.28-10.5                 | 3.1.29-12.15                | noarch
v | SLES12-SP2-Updates                          | yast2-pkg-bindings            | 3.1.34-6.1.2                | 3.1.36-6.5.5                | x86_64
v | SLES12-SP2-Updates                          | yast2-support                 | 3.1.6-1.1                   | 3.1.7-2.3.1                 | noarch
v | SLES12-SP2-Updates                          | zypper                        | 1.13.21-18.3.3              | 1.13.30-18.13.3             | x86_64

@kotakanbe
Copy link
Member Author

kotakanbe commented Sep 11, 2017

MEMO

ec2-user@ip-172-31-6-236:~> zypper -q lp

Repository         | Name                             | Category    | Severity  | Interactive | Status | Summary                                           
-------------------+----------------------------------+-------------+-----------+-------------+--------+------------------------------------------------------------------------
SLES12-SP2-Updates | SUSE-SLE-SERVER-12-SP2-2017-1022 | recommended | moderate  | restart     | needed | Recommended update for SUSEConnect, libzypp, yast2-pkg-bindings, zypper
SLES12-SP2-Updates | SUSE-SLE-SERVER-12-SP2-2017-1252 | security    | important | restart     | needed | Security update for libzypp, zypper               

Repository                                  | Name                                                | Category    | Severity  | Interactive | Status | Summary
--------------------------------------------+-----------------------------------------------------+-------------+-----------+-------------+--------+-------------------------------------------------------------
SLE-Module-Adv-Systems-Management12-Updates | SUSE-SLE-Module-Adv-Systems-Management-12-2017-1075 | recommended | low       | ---         | needed | Recommended update for python-PyYAML
SLE-Module-Adv-Systems-Management12-Updates | SUSE-SLE-Module-Adv-Systems-Management-12-2017-1126 | recommended | low       | ---         | needed | Recommended update for python-requests
SLE-Module-Adv-Systems-Management12-Updates | SUSE-SLE-Module-Adv-Systems-Management-12-2017-1457 | security    | important | ---         | needed | Security update for python-pycrypto
SLE-Module-Containers12-Updates             | SUSE-SLE-Module-Containers-12-2017-1075             | recommended | low       | ---         | needed | Recommended update for python-PyYAML
SLE-Module-Containers12-Updates             | SUSE-SLE-Module-Containers-12-2017-1143             | recommended | moderate  | message     | needed | Recommended update for Docker, RunC, Containerd
SLE-Module-Containers12-Updates             | SUSE-SLE-Module-Containers-12-2017-1167             | recommended | low       | ---         | needed | Recommended update for sle-module-containers-release
SLE-Module-Public-Cloud12-Updates           | SUSE-SLE-Module-Public-Cloud-12-2017-1075           | recommended | low       | ---         | needed | Recommended update for python-PyYAML
SLE-Module-Public-Cloud12-Updates           | SUSE-SLE-Module-Public-Cloud-12-2017-1126           | recommended | low       | ---         | needed | Recommended update for python-requests
SLE-Module-Public-Cloud12-Updates           | SUSE-SLE-Module-Public-Cloud-12-2017-1198           | recommended | low       | ---         | needed | Recommended update for python-boto, python-simplejson
SLE-Module-Public-Cloud12-Updates           | SUSE-SLE-Module-Public-Cloud-12-2017-1410           | recommended | low       | ---         | needed | Recommended update for cloud-regionsrv-client
SLE-Module-Public-Cloud12-Updates           | SUSE-SLE-Module-Public-Cloud-12-2017-1457           | security    | important | ---         | needed | Security update for python-pycrypto
SLE-Module-Web-Scripting12-Updates          | SUSE-SLE-Module-Web-Scripting-12-2017-1457          | security    | important | ---         | needed | Security update for python-pycrypto
SLE-SDK12-SP2-Updates                       | SUSE-SLE-SDK-12-SP2-2017-1429                       | security    | important | ---         | needed | Security update for git
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1002                    | security    | important | ---         | needed | Security update for sudo
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1025                    | recommended | low       | ---         | needed | Recommended update for xfsprogs
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1033                    | recommended | low       | ---         | needed | Recommended update for e2fsprogs
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1036                    | security    | moderate  | ---         | needed | Security update for libxml2
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1040                    | recommended | low       | ---         | needed | Recommended update for libsemanage, policycoreutils
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1058                    | security    | important | reboot      | needed | Security update for the Linux kernel
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1063                    | security    | moderate  | ---         | needed | Security update for vim
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1080                    | security    | important | ---         | needed | Security update for bind
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1082                    | recommended | low       | ---         | needed | Recommended update for dirmngr
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1086                    | security    | moderate  | ---         | needed | Security update for libxml2
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1087                    | security    | important | ---         | needed | Security update for xen
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1104                    | security    | moderate  | ---         | needed | Security update for systemd
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1105                    | security    | moderate  | ---         | needed | Security update for sudo
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1116                    | security    | moderate  | ---         | needed | Security update for libgcrypt
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1119                    | security    | important | ---         | needed | Recommended update for ncurses
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1124                    | recommended | moderate  | ---         | needed | Recommended update for binutils
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1126                    | recommended | low       | ---         | needed | Recommended update for python-requests
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1142                    | recommended | moderate  | ---         | needed | Recommended update for openssh
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1146                    | security    | important | reboot      | needed | Security update for the Linux Kernel
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1160                    | recommended | low       | ---         | needed | Recommended update for openldap2
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1174                    | security    | important | ---         | needed | Security update for systemd, dracut
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1192                    | recommended | low       | ---         | needed | Recommended update for iptables
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1204                    | recommended | low       | ---         | needed | Recommended update for perl-Bootloader
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1214                    | recommended | low       | ---         | needed | Recommended update for release-notes-sdk, release-notes-sles
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1217                    | recommended | low       | ---         | needed | Recommended update for yast2-bootloader
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1222                    | recommended | low       | ---         | needed | Recommended update for procps
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1232                    | recommended | low       | ---         | needed | Recommended update for yast2-support
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1243                    | recommended | low       | ---         | needed | Recommended update for lsscsi
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1251                    | security    | important | reboot      | needed | Security update for the Linux Kernel
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1268                    | recommended | moderate  | ---         | needed | Recommended update for openssl
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1279                    | security    | moderate  | ---         | needed | Security update for ncurses
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1307                    | recommended | low       | ---         | needed | Recommended update for autoyast2
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1316                    | recommended | moderate  | ---         | needed | Recommended update for cyrus-sasl
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1319                    | security    | important | reboot      | needed | Security update for the Linux Kernel
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1326                    | security    | low       | ---         | needed | Security update for libxml2
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1330                    | recommended | low       | ---         | needed | Recommended update for sed
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1334                    | recommended | important | ---         | needed | Recommended update for systemd
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1335                    | security    | moderate  | ---         | needed | Security update for curl
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1347                    | recommended | important | ---         | needed | Recommended update for procps
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1349                    | recommended | low       | ---         | needed | Recommended update for lua51
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1362                    | recommended | low       | ---         | needed | Recommended update for SuSEfirewall2
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1364                    | recommended | low       | ---         | needed | Recommended update for supportutils
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1419                    | security    | moderate  | ---         | needed | Security update for expat
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1424                    | recommended | low       | ---         | needed | Recommended update for tcsh
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1429                    | security    | important | ---         | needed | Security update for git
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1430                    | security    | moderate  | ---         | needed | Security update for icu
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1438                    | security    | important | ---         | needed | Security update for xen
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1439                    | recommended | important | ---         | needed | Recommended update for systemd
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1450                    | recommended | low       | ---         | needed | Recommended update for insserv-compat
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1453                    | recommended | moderate  | ---         | needed | Recommended update for libgcrypt
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1463                    | recommended | low       | ---         | needed | Recommended update for yast2-ntp-client
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-1483                    | recommended | moderate  | ---         | needed | Recommended update for dracut
SLES12-SP2-Updates                          | SUSE-SLE-SERVER-12-SP2-2017-902                     | recommended | low       | ---         | needed | Recommended update for nfs-utils

68 patches needed (27 security patches)


@kotakanbe kotakanbe force-pushed the suse-enterprise branch 4 times, most recently from 3d65a6c to 60c7026 Compare September 14, 2017 12:24
@kotakanbe
Copy link
Member Author

kotakanbe commented Sep 14, 2017

When multiple versions of the kernel are installed, Vuls should detect only the vulnerabilities of the running kernel.
Below is the memo of how to check the list of installed kernels, running kernel version, whether rebooting is necessary.

  • Before Update
$ zypper lu
v | SLES12-SP2-Updates                          | kernel-default                | 4.4.59-92.20.2              | 4.4.74-92.35.1              | x86_64
  • Update the kernel
The following 3 NEW packages are going to be installed:
  crash-kmp-default kernel-default-4.4.74-92.35.1 kernel-firmware
  • After udpate
ec2-user@ip-172-31-6-236:~> rpm -qa | grep kernel
kernel-default-4.4.74-92.35.1.x86_64
kernel-firmware-20170530-21.10.1.noarch
nfs-kernel-server-1.3.0-30.2.x86_64
kernel-default-4.4.59-92.20.2.x86_64

multiple kernel-default packages are installed.

  • uname -a
ec2-user@ip-172-31-6-236:~> uname -a
Linux ip-172-31-6-236 4.4.59-92.20-default #1 SMP Wed May 31 14:05:24 UTC 2017 (8cd473d) x86_64 x86_64 x86_64 GNU/Linux
  • How to detect reboot required
ec2-user@ip-172-31-6-236:~> rpm -q --last kernel-default
kernel-default-4.4.74-92.35.1.x86_64          Thu Sep 14 13:09:39 2017
kernel-default-4.4.59-92.20.2.x86_64          Mon Jun 19 17:41:43 2017

@kotakanbe kotakanbe changed the title [WIP]Support SUSE Enterprise Linux Support SUSE Enterprise Linux Sep 26, 2017
@kotakanbe kotakanbe merged commit 132432d into master Sep 28, 2017
@kotakanbe kotakanbe deleted the suse-enterprise branch September 29, 2017 06:08
kotakanbe added a commit that referenced this pull request Oct 16, 2017
* master:
  Fix OVAL detection on Debian and Ubuntu (#509)
  Add filter options to tui subcommand (#508)
  Add filter options to tui subcommand (#508)
  Add -ignore-unfixed option to report subcommand #485 (#507)
  Add goreleaser to distribute binaries (#460)
  Add goreportcard to README
  Support SUSE Enterprise Linux (#487)
  Debian: Use --showformat flag to get status of packages and ignore n(not-inst… (#484)
  fix vulsrepo dockerfile (#496)
  Update README.ja.md (#498)
  Fix typos (#499)
  Check repoquery with sudo nopasswd in deep scan mode on RedHat (#492)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant