Wind River Support Network

HomeDefectsLIN8-2935
Fixed

LIN8-2935 : invalid path in /etc/webmin/start

Created: Mar 3, 2016    Updated: Dec 3, 2018
Resolved Date: Mar 4, 2016
Previous ID: CGP8-250
Found In Version: 8.0
Fix Version: 8.0.0.3
Severity: Standard
Applicable for: Wind River Linux 8
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