Wind River Support Network

HomeDefectsLIN1019-3059
Not to be fixed

LIN1019-3059 : There are some mess code debug mesages when restarting dnf-automatic-install.service

Created: Oct 22, 2019    Updated: Apr 29, 2021
Resolved Date: Apr 29, 2021
Found In Version: 10.19.45.1
Severity: Standard
Applicable for: Wind River Linux LTS 19
Component/s: Userspace

Description


======> /lib/systemd/system/dnf-automatic-install.service
Job for dnf-automatic-install.service failed because the control process exited with error code.
See "systemctl status dnf-automatic-install.service" and "journalctl -xe" for details.

    dnf-automatic-install.service - dnf automatic install updates
    Loaded: loaded (/lib/systemd/system/dnf-automatic-install.service; static; vendor preset: disabled)
    Active: failed (Result: exit-code) since Wed 2019-10-23 05:53:23 UTC; 3s ago
    Process: 5336 ExecStart=/usr/bin/dnf-automatic /etc/dnf/automatic.conf --timer --installupdates (code=exited, status=1/FAILURE)
    Main PID: 5336 (code=exited, status=1/FAILURE)

Oct 23 05:53:23 intel-x86-64 dnf-automatic[5336]: File "/usr/lib64/python3.7/site-packages/dnf/cli/cli.py", line 986, in _read_conf_file
Oct 23 05:53:23 intel-x86-64 dnf-automatic[5336]: conf._search_inside_installroot('config_file_path')
Oct 23 05:53:23 intel-x86-64 dnf-automatic[5336]: File "/usr/lib64/python3.7/site-packages/dnf/conf/config.py", line 263, in _search_inside_installroot
Oct 23 05:53:23 intel-x86-64 dnf-automatic[5336]: self._set_value(optname, self._prepend_installroot_path(val), prio)
Oct 23 05:53:23 intel-x86-64 dnf-automatic[5336]: File "/usr/lib64/python3.7/site-packages/dnf/conf/config.py", line 273, in _prepend_installroot_path
Oct 23 05:53:23 intel-x86-64 dnf-automatic[5336]: return libdnf.conf.ConfigParser.substitute(root_path, self.substitutions)
Oct 23 05:53:23 intel-x86-64 dnf-automatic[5336]: TypeError: in method 'ConfigParser_substitute', argument 2 of type 'std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > > const &'
Oct 23 05:53:23 intel-x86-64 systemd[1]: dnf-automatic-install.service: Main process exited, code=exited, status=1/FAILURE
Oct 23 05:53:23 intel-x86-64 systemd[1]: dnf-automatic-install.service: Failed with result 'exit-code'.
Oct 23 05:53:23 intel-x86-64 systemd[1]: Failed to start dnf automatic install updates.

Steps to Reproduce

TEST_STEP
/lpg-build/cdc/fast_prod/WRLINUX_MASTER_WR/MASTER_WR_GIT/wrlinux-10/setup.sh --machines=intel-x86-64 --distros=wrlinux-cgl --dl-layers --templates feature/tpm2 --accept-eula=yes . ./environment-setup-x86_64-wrlinuxsdk-linux
. ./oe-init-build-env build
bitbake-layers add-layer /net/pek-lpgtest15/buildarea1/jhu2/wrlinux/wr-testing/bts-dev
echo require templates/feature/bts/template.conf >> conf/local.conf echo PREFERRED_PROVIDER_virtual/kernel = "linux-yocto" >> conf/local.conf bitbake  wrlinux-image-cgl
 
In conf/local.conf :
#jhu2 append as below:
require templates/feature/bts/template.conf
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
BB_NUMBER_THREADS ?= "24"
PARALLEL_MAKE ?= "-j 24"
IMAGE_ROOTFS_EXTRA_SPACE = "1024000"
Live chat
Online