This is a preparation for defining EC2 images for RHEL-8.5.0. These extensions to image-info tool represent modifications done to the official EC2 images currently produced as RHEL release. It is important to be able to analyse these aspects of images, before we define them in osbuild-composer, to ensure that the resulting images will be consistent with the current state. - Read non-empty lines from /etc/hosts file and add them to the report. - Read content of /etc/machine-id and add it to the report. - Read uncommented key/values from /etc/systemd/logind.conf and add them to the report. - Read all ifcfg-* files from /etc/sysconfig/network-scripts/ and add their values to the report. - Read content of /etc/locale.conf and add it to the report. - Read SELinux configuration from /etc/selinux/config and add it to the report. - Inspect the filesystem tree for SELinux context mismatches and add them to the report. - Read configuration files from /etc/modprobe.d/ and for now report only all blacklisted kernel modules. - Read RHSM configuration from /etc/rhsm/rhsm.conf and add it to the report. - Read cloud-init configuration from /etc/cloud/cloud.conf and add it to the report. - Read all *.conf files from /etc/dracut.conf.d/ and add their content to the report. - Read VC and X11 keyboard configuration and add it to the report. - Read specific configuration directives from Chrony configuration and add them to the report. Specifically 'server', 'pool', 'peer' and 'leapsectz'. - Read drop-in configurations for *.service unit files from /etc/systemd/system/ and add them to the report. - Read all configuration files from /etc/tmpfiles.d/ and add them to the report. - Read all configuration files from /etc/sysctl.d/ and add them to the report. - Read the Tuned active profile and profile mode and add them to the report. - Read all configuration files from /etc/security/limits.d and add them to the report. - Read sudoers configuration from /etc/sudoers and files in /etc/sudoers.d/ and add uncommented lines to the report. No sophisticated parsing is done, because the configuration format grammar is too complicated for the purpose of image-info. - Read udev rules configuration files from /etc/udev/rules.d/ and add them to the report. - Read DNF configuration and defined vars and add them to the report. - Read profile ID and enabled features used by authselect. - Enable SELinux, extended attributes and POSIX ACLs support when unpacking 'tar' image type to prevent potential mismatches Regenerate all image test cases to reflect changes in the image-info output. Modify the distro-arch-imagetype-map.json to cover all combinations currently covered by existing image test cases. Add doc strings to all read_* functions. Signed-off-by: Tomas Hozza <thozza@redhat.com> |
||
|---|---|---|
| .. | ||
| ansible | ||
| azure | ||
| cloud-init | ||
| composer | ||
| kerberos | ||
| keyring | ||
| koji | ||
| manifests | ||
| repositories | ||
| worker | ||
| x509 | ||