Fixed
Created: Jun 24, 2018
Updated: Apr 24, 2019
Resolved Date: Jul 5, 2018
Found In Version: 9.0.0.17
Fix Version: 9.0.0.17
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: Userspace
# systemctl start postfix
Job for postfix.service failed because the control process exited with error code.
See "systemctl status postfix.service" and "journalctl -xe" for details.
# systemctl status postfix.service
● postfix.service - Postfix Mail Transport Agent
Loaded: loaded (/lib/systemd/system/postfix.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2018-06-25 05:28:04 UTC; 11s ago
Process: 1911 ExecStart=/usr/sbin/postfix start (code=exited, status=1/FAILURE)
Process: 1907 ExecStartPre=/usr/libexec/aliasesdb (code=exited, status=0/SUCCESS)
Process: 1901 ExecStartPre=/usr/sbin/check_hostname.sh (code=exited, status=0/SUCCESS)
Jun 25 05:28:03 intel-x86-64 systemd[1]: Starting Postfix Mail Transport Agent...
Jun 25 05:28:03 intel-x86-64 postfix[1911]: Postfix is running with backwards-compatible default settings
Jun 25 05:28:03 intel-x86-64 postfix[1911]: See http://www.postfix.org/COMPATIBILITY_README.html for details
Jun 25 05:28:03 intel-x86-64 postfix[1911]: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload"
Jun 25 05:28:03 intel-x86-64 postfix/postfix-script[1920]: fatal: usage: postfix start (or stop, reload, abort, flush, check, status, set-permissions, upgrade-configuration)
Jun 25 05:28:04 intel-x86-64 systemd[1]: postfix.service: Control process exited, code=exited status=1
Jun 25 05:28:04 intel-x86-64 systemd[1]: Failed to start Postfix Mail Transport Agent.
Jun 25 05:28:04 intel-x86-64 systemd[1]: postfix.service: Unit entered failed state.
Jun 25 05:28:04 intel-x86-64 systemd[1]: postfix.service: Failed with result 'exit-code'.
1) setup.sh
--machines=intel-x86-64 --templates feature/acl feature/gcc-sanitizers feature/ipv6 feature/LAMP feature/libhugetlbfs feature/lttng feature/mariadb feature/mysql-odbc feature/nfsd feature/sysklogd feature/system-stats feature/target-toolchain feature/test feature/xfce feature/test --layers meta-filesystems meta-xfce --dl-layers --dl-layers
2) . ./environment-setup-x86_64-wrlinuxsdk-linux && . ./oe-init-build-env
3) vim conf/local.conf
IMAGE_INSTALL_append += " postfix shadow libpam"
4) bitbake wrlinux-image-glibc-std
5) boot the target
6) run command per description