Branch: refs/heads/SLE-15-SP2 Home: https://github.com/yast/yast-security Commit: 0930349f0eeb0eb724f7c77111cf5350f98870ba https://github.com/yast/yast-security/commit/0930349f0eeb0eb724f7c77111cf535... Author: David Díaz González <dgonzalez@suse.de> Date: 2021-02-09 (Tue, 09 Feb 2021) Changed paths: A src/lib/y2security/selinux.rb R src/lib/y2security/selinux_config.rb R test/y2security/selinux_config_test.rb A test/y2security/selinux_test.rb Log Message: ----------- Rename Y2Security::SelinuxConfig to Y2Security::Selinux Commit: 866d546bba2ba5a7166501f66adbf97085b488a3 https://github.com/yast/yast-security/commit/866d546bba2ba5a7166501f66adbf97... Author: David Díaz González <dgonzalez@suse.de> Date: 2021-02-09 (Tue, 09 Feb 2021) Changed paths: M src/lib/y2security/selinux.rb M test/y2security/selinux_test.rb Log Message: ----------- Change to a lazy mode proposal/initialization Instead of doing it in the constructor. Commit: ef3a18ea9fa1a23df891a1edbcb75163921a12b6 https://github.com/yast/yast-security/commit/ef3a18ea9fa1a23df891a1edbcb7516... Author: David Díaz González <dgonzalez@suse.de> Date: 2021-02-10 (Wed, 10 Feb 2021) Changed paths: M src/lib/y2security/selinux.rb Log Message: ----------- Remove leftover Commit: 15e43c0f57778fd3c6ebbed362e5edf9c6baa4cd https://github.com/yast/yast-security/commit/15e43c0f57778fd3c6ebbed362e5edf... Author: David Díaz González <dgonzalez@suse.de> Date: 2021-02-10 (Wed, 10 Feb 2021) Changed paths: M src/lib/y2security/selinux.rb M test/y2security/selinux_test.rb Log Message: ----------- Change how product features are read Since SELinux options from the control file were grouped in yast-installation-control 4.2.12. See https://github.com/yast/yast-installation-control/pull/108 Commit: 47eac9ab04b61e522edf7281bf08c071cfcababb https://github.com/yast/yast-security/commit/47eac9ab04b61e522edf7281bf08c07... Author: David Díaz González <dgonzalez@suse.de> Date: 2021-02-10 (Wed, 10 Feb 2021) Changed paths: M src/lib/y2security/selinux.rb M test/y2security/selinux_test.rb Log Message: ----------- Add method to know needed patterns Which should be defined in the control file, specifically in globals => selinux => pattenrs. See https://github.com/yast/yast-installation-control/pull/108 Commit: ef9adb1c6e146edae2339d8a9a5321f275c4acdd https://github.com/yast/yast-security/commit/ef9adb1c6e146edae2339d8a9a5321f... Author: David Díaz González <dgonzalez@suse.de> Date: 2021-02-10 (Wed, 10 Feb 2021) Changed paths: A src/lib/cfa/selinux.rb A test/cfa/selinux_test.rb A test/data/system/etc/selinux/config Log Message: ----------- Add a CFA::Selinux class to handle the SELinux config file Commit: 768b5f7c7123e3795b56c11ee01835a3d89812df https://github.com/yast/yast-security/commit/768b5f7c7123e3795b56c11ee01835a... Author: David Díaz González <dgonzalez@suse.de> Date: 2021-02-10 (Wed, 10 Feb 2021) Changed paths: M src/lib/y2security/selinux.rb Log Message: ----------- Load and save the mode from/to the configuration file Commit: cc3de2e290a22e93f184430fd2284ced59dab434 https://github.com/yast/yast-security/commit/cc3de2e290a22e93f184430fd2284ce... Author: David Díaz González <dgonzalez@suse.de> Date: 2021-02-10 (Wed, 10 Feb 2021) Changed paths: M src/lib/y2security/selinux.rb M test/y2security/selinux_test.rb Log Message: ----------- Improve Y2Security::Selinux#mode initialization Taking into account not only the running and boot mode, but the defined through the configuration file too. Commit: 19f34f97bd3fceced6799abf2e37d4ff3e73a3ce https://github.com/yast/yast-security/commit/19f34f97bd3fceced6799abf2e37d4f... Author: David Díaz González <dgonzalez@suse.de> Date: 2021-02-10 (Wed, 10 Feb 2021) Changed paths: M src/lib/y2security/selinux.rb Log Message: ----------- Improvements for Selinux#mode= Commit: c35a9f7e13f199dcd8910ad56e4a61f33f8db6b8 https://github.com/yast/yast-security/commit/c35a9f7e13f199dcd8910ad56e4a61f... Author: David Díaz González <dgonzalez@suse.de> Date: 2021-02-10 (Wed, 10 Feb 2021) Changed paths: M src/lib/y2security/selinux.rb M test/y2security/selinux_test.rb Log Message: ----------- Update the configuration value on Y2Security::Selinux#save Commit: c1c9cfd1f2cb236f333bb2ef2dff652dbc183ada https://github.com/yast/yast-security/commit/c1c9cfd1f2cb236f333bb2ef2dff652... Author: David Díaz González <dgonzalez@suse.de> Date: 2021-02-11 (Thu, 11 Feb 2021) Changed paths: M test/y2security/selinux_test.rb Log Message: ----------- Improve unit testing Commit: 3c106d2f51c63e5c2830cab63352b31c8efe0ba0 https://github.com/yast/yast-security/commit/3c106d2f51c63e5c2830cab63352b31... Author: David Díaz González <dgonzalez@suse.de> Date: 2021-02-11 (Thu, 11 Feb 2021) Changed paths: M package/yast2-security.changes M package/yast2-security.spec Log Message: ----------- Bump version and update changelog Commit: ba17a5afbbc16ba73bc511e9b09b1880824c4809 https://github.com/yast/yast-security/commit/ba17a5afbbc16ba73bc511e9b09b188... Author: David Díaz González <dgonzalez@suse.de> Date: 2021-02-11 (Thu, 11 Feb 2021) Changed paths: M package/yast2-security.changes Log Message: ----------- Fix Jira references in the changelog file Commit: ee5019c74ad0d24713f78be5c504c6c99cc10927 https://github.com/yast/yast-security/commit/ee5019c74ad0d24713f78be5c504c6c... Author: David Díaz González <dgonzalez@suse.de> Date: 2021-02-11 (Thu, 11 Feb 2021) Changed paths: M src/lib/y2security/selinux.rb Log Message: ----------- Update Y2Security::Selinux examples Commit: c3b4cc1d5695d951ac11080b018d165e4fc9476c https://github.com/yast/yast-security/commit/c3b4cc1d5695d951ac11080b018d165... Author: David Díaz González <dgonzalez@suse.de> Date: 2021-02-11 (Thu, 11 Feb 2021) Changed paths: M package/yast2-security.spec Log Message: ----------- Fix Y2Security::Selinux require in spec file Commit: 47de341bd23782b867161675d335d1d829d4ed72 https://github.com/yast/yast-security/commit/47de341bd23782b867161675d335d1d... Author: David Díaz González <dgonzalez@suse.de> Date: 2021-02-11 (Thu, 11 Feb 2021) Changed paths: M package/yast2-security.spec Log Message: ----------- Add augeas-lenses as requirement in spec file Commit: f7b428696fe33814530c243511d52c42822c7587 https://github.com/yast/yast-security/commit/f7b428696fe33814530c243511d52c4... Author: David Díaz González <dgonzalez@suse.de> Date: 2021-02-11 (Thu, 11 Feb 2021) Changed paths: M src/lib/cfa/selinux.rb M test/cfa/selinux_test.rb Log Message: ----------- Use the simplevars lens instead of semanage Because semanage lens was introduced in augeas-lenses 1.12, which might be not available in target products. See https://github.com/hercules-team/augeas/pull/594/files Commit: 9191e1564ae39466ebe982dc2760fa20c1bec0a8 https://github.com/yast/yast-security/commit/9191e1564ae39466ebe982dc2760fa2... Author: David Díaz González <dgonzalez@suse.de> Date: 2021-02-11 (Thu, 11 Feb 2021) Changed paths: M src/lib/y2security/selinux.rb M test/y2security/selinux_test.rb Log Message: ----------- Change the returned value by Y2Security::Selinux#needed_patterns It returns now an array instead of an string. Commit: 3eb049ac73183a7d38624e1bfc8f7c4ac3efd725 https://github.com/yast/yast-security/commit/3eb049ac73183a7d38624e1bfc8f7c4... Author: David Díaz González <dgonzalez@suse.de> Date: 2021-02-11 (Thu, 11 Feb 2021) Changed paths: M src/lib/y2security/selinux.rb M test/y2security/selinux_test.rb Log Message: ----------- Logs an error instead an info when mode not found As proposed in a code review. Commit: 787cbb6a49af9bc04cda204a4e3c1b5426a58ad8 https://github.com/yast/yast-security/commit/787cbb6a49af9bc04cda204a4e3c1b5... Author: David Díaz González <dgonzalez@suse.de> Date: 2021-02-11 (Thu, 11 Feb 2021) Changed paths: M src/lib/y2security/selinux.rb Log Message: ----------- Fix Y2Security::Selinux#proposed_mode documentation Commit: 0fc99c5cf22f61fe61d31db557b08f5dbcb76cfc https://github.com/yast/yast-security/commit/0fc99c5cf22f61fe61d31db557b08f5... Author: David Díaz González <dgonzalez@suse.de> Date: 2021-02-11 (Thu, 11 Feb 2021) Changed paths: M src/lib/y2security/selinux.rb Log Message: ----------- Simplify the Y2Security::Selinux#config_file method By using `||=` for memoization. Commit: 5c344adbf2e5d70ec33a3559fafe3c43e6ca14f5 https://github.com/yast/yast-security/commit/5c344adbf2e5d70ec33a3559fafe3c4... Author: David Díaz González <dgonzalez@suse.de> Date: 2021-02-11 (Thu, 11 Feb 2021) Changed paths: M src/lib/y2security/selinux.rb Log Message: ----------- Make the proposed returned value more explicit Commit: 7c23e55f7af44eae59691c91ef5a65c70c0b497e https://github.com/yast/yast-security/commit/7c23e55f7af44eae59691c91ef5a65c... Author: David Díaz <1691872+dgdavid@users.noreply.github.com> Date: 2021-02-11 (Thu, 11 Feb 2021) Changed paths: M package/yast2-security.changes M package/yast2-security.spec A src/lib/cfa/selinux.rb A src/lib/y2security/selinux.rb R src/lib/y2security/selinux_config.rb A test/cfa/selinux_test.rb A test/data/system/etc/selinux/config R test/y2security/selinux_config_test.rb A test/y2security/selinux_test.rb Log Message: ----------- Merge pull request #87 from yast/refactor-selinux-config Refactor Y2Security::SelinuxConfig (now Y2Security::Selinux) Compare: https://github.com/yast/yast-security/compare/293df2e791a2...7c23e55f7af4