Wind River Support Network

HomeDefectsLINCD-2569
Fixed

LINCD-2569 : newaliases : postalias: fatal: open database /etc/aliases.db: Permission denied

Created: Jul 13, 2020    Updated: Jul 23, 2020
Resolved Date: Jul 20, 2020
Found In Version: 10.20.30.0
Fix Version: 10.20.30.0
Severity: Standard
Applicable for: Wind River Linux CD
Component/s: Userspace

Description

$ setup.sh --machine intel-x86-64 --dl-layers --distro wrlinux-cgl --dl-layers
$ source oe-init-build-env
$ bitbake wrlinux-image-glibc-cgl
$ boot the target with selinux=1 enforcing=1

On target:
$ newaliases
postalias: fatal: open database /etc/aliases.db: Permission denied

Steps to Reproduce

1) setup.sh  --------------------  
    --machine intel-x86-64 --dl-layers --distro wrlinux-cgl --templates feature/cut feature/selinux --layers meta-filesystems meta-security-compliance meta-virtualization --dl-layers
 
2) . oe-init-build-env

3) vim conf/local.conf

DISTRO_FEATURES_append = " x11"
 IMAGE_FSTYPES += " tar.bz2"
 BB_NO_NETWORK_pn-lmbench = "0"
 IMAGE_FSTYPES_remove += " wic wic.bmap live"

 

5) bitbake wrlinux-image-glibc-cgl


6) boot the target with selinux=1 enforcing=1.
Live chat
Online