Fixed
Created: Oct 17, 2023
Updated: Mar 7, 2024
Resolved Date: Mar 7, 2024
Previous ID: LIN1023-2370
Found In Version: 10.22.33.13
Severity: Standard
Applicable for: Wind River Linux LTS 22
Component/s: Userspace
SysV service '/etc/init.d/conntrackd' and '/etc/init.d/conntrack-failover' lacks native systemd unit file.
Ubuntu have systemd services, please refer to:
[https://launchpad.net/ubuntu/+source/conntrack-tools/1:1.4.7-1]
[https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/conntrack-tools/1:1.4.7-1/conntrack-tools_1.4.7-1.debian.tar.xz]
root@intel-x86-64:/var/log# grep -r conntrack *
syslog:Jun 21 05:40:57 intel-x86-64 systemd-sysv-generator[148]: SysV service '/etc/init.d/conntrackd' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
syslog:Jun 21 05:40:57 intel-x86-64 systemd-sysv-generator[148]: SysV service '/etc/init.d/conntrack-failover' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
syslog:Jun 21 05:41:05 intel-x86-64 dnsmasq[1822]: compile time options: IPv6 GNU-getopt no-DBus no-UBus i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset no-nftset auth no-cryptohash no-DNSSEC loop-detect inotify dumpfile
root@intel-x86-64:/var/log# ls /etc/init.d/
conntrack-failover conntrackd
root@intel-x86-64:/var/log# rpm -qf /etc/init.d/conntrack-failover
conntrack-tools-1.4.7-r0.corei7_64
root@intel-x86-64:/var/log# rpm -qf /etc/init.d/conntrack
error: file /etc/init.d/conntrack: No such file or directory
root@intel-x86-64:/var/log# rpm -qf /etc/init.d/conntrackd
conntrack-tools-1.4.7-r0.corei7_64
Setup project:
/lpg-build/cdc/fast_prod/WRLINUX_MASTER_WR/MASTER_WR_GIT/wrlinux-10/setup.sh --machine intel-x86-64 --dl-layers=1 --distro wrlinux --accept-eula=yes
Update local.conf
IMAGE_INSTALL:append = " conntrack-tools"
Build:
bitbake wrlinux-image-std
Check service on target:
ls /etc/init.d
rpm -ql conntrack-tools
ls /lib/systemd/system/
And try to start/stop the services