Wind River Support Network

HomeDefectsLIN7-5744
Fixed

LIN7-5744 : CLONE - invalid path in /etc/webmin/start

Created: Mar 4, 2016    Updated: Sep 8, 2018
Resolved Date: Mar 4, 2016
Found In Version: 7.0
Fix Version: 7.0.0.14
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Userspace

Description

Problem Description
======================
invalid path in /etc/webmin/start, the PERLLIB is a host path.

PERLLIB=/buildarea1/WRL8CGP_regression/build_dir/userspace/cav-octeon3/cn78xx_pass1_0_cgl_glibc_cgl_WR_systemd/lxbuilds/cn78xx-pass1-0_platform_up/cav-octeon3-cgl-glibc-cgl/wrlinux/bitbake_build/tmp/work/octeon3-n32-wrs-linux-gnun32/webmin/1.750-r0/image/usr/lib32/webmin/webmin

log:
root@octeon3:~# cat /etc/webmin/start
#!/bin/sh
echo Starting Webmin server in /usr/lib32/webmin/webmin
trap '' 1
LANG=
export LANG
#PERLIO=:raw
unset PERLIO
export PERLIO
PERLLIB=/buildarea1/WRL8CGP_regression/build_dir/userspace/cav-octeon3/cn78xx_pass1_0_cgl_glibc_cgl_WR_systemd/lxbuilds/cn78xx-pass1-0_platform_up/cav-octeon3-cgl-glibc-cgl/wrlinux/bitbake_build/tmp/work/octeon3-n32-wrs-linux-gnun32/webmin/1.750-r0/image/usr/lib32/webmin/webmin
export PERLLIB
exec '/usr/lib32/webmin/webmin/miniserv.pl' /etc/webmin/miniserv.conf
root@octeon3:~#

Expected Behavior
======================
set a correct path

Observed Behavior
======================
see log 

Steps to Reproduce

1.
configure --enable-board=cav-octeon3 --enable-kernel=cgl --with-template=feature/valgrind,feature/libhugetlbfs,feature/acl,feature/nfsd,feature/oprofile,feature/mariadb,feature/mysql-odbc,feature/LAMP,feature/ipv6,feature/target-toolchain,feature/lttng,feature/gcc-sanitizers,feature/cut --enable-build=profiling --enable-test=yes --enable-internet-download=yes --enable-jobs=8 --enable-parallel-pkgbuilds=8 --enable-reconfig=yes --with-rcpl-version=0
make -C build webmin.addpkg
make fs

2, deploy and boot

3, run:
cat /etc/webmin/start 

Other Downloads


Live chat
Online