From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sfi-mx-4.v28.ch3.sourceforge.com ([172.29.28.124] helo=mx.sourceforge.net) by 3yr0jf1.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1MOYjH-0005p6-Th for ltp-list@lists.sourceforge.net; Wed, 08 Jul 2009 15:06:39 +0000 Received: from mail-fx0-f208.google.com ([209.85.220.208]) by 1b2kzd1.ch3.sourceforge.com with esmtp (Exim 4.69) id 1MOYjB-0006bd-Px for ltp-list@lists.sourceforge.net; Wed, 08 Jul 2009 15:06:39 +0000 Received: by fxm4 with SMTP id 4so4284753fxm.10 for ; Wed, 08 Jul 2009 08:06:29 -0700 (PDT) Message-ID: <4A54AEFA.3030100@petalogix.com> Date: Wed, 08 Jul 2009 16:36:42 +0200 From: Michal Simek MIME-Version: 1.0 References: <4A5436D4.6070201@petalogix.com> <364299f40907080719q4ab01842v7e47a352b8214b8a@mail.gmail.com> In-Reply-To: <364299f40907080719q4ab01842v7e47a352b8214b8a@mail.gmail.com> Subject: Re: [LTP] IDcheck.sh - awk problem Reply-To: michal.simek@petalogix.com List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-list-bounces@lists.sourceforge.net To: Garrett Cooper Cc: LTP , Mike Frysinger Garrett Cooper wrote: > On Tue, Jul 7, 2009 at 11:04 PM, Michal Simek wrote: > >> Hi All, >> >> There will be good to prevent missing /etc/passwd for installing to >> different folder. >> >> export DESTDIR=`pwd`/nfs >> mkdir -p nfs >> make install >> >> Thanks, >> Michal >> >> >> Checking for required user/group ids >> >> awk: cmd. line:1: fatal: cannot open file >> `/home/projects/xils/ltp-microblaze.git/nfs/etc/passwd' for reading (No >> such file or directory) >> bin => 2 >> awk: cmd. line:1: fatal: cannot open file >> `/home/projects/xils/ltp-microblaze.git/nfs/etc/passwd' for reading (No >> such file or directory) >> daemon => 2 >> awk: cmd. line:1: fatal: cannot open file >> `/home/projects/xils/ltp-microblaze.git/nfs/etc/passwd' for reading (No >> such file or directory) >> nobody => 2 >> awk: cmd. line:1: fatal: cannot open file >> `/home/projects/xils/ltp-microblaze.git/nfs/etc/group' for reading (No >> such file or directory) >> bin => 2 >> awk: cmd. line:1: fatal: cannot open file >> `/home/projects/xils/ltp-microblaze.git/nfs/etc/group' for reading (No >> such file or directory) >> daemon => 2 >> awk: cmd. line:1: fatal: cannot open file >> `/home/projects/xils/ltp-microblaze.git/nfs/etc/group' for reading (No >> such file or directory) >> nobody => 2 >> awk: cmd. line:1: fatal: cannot open file >> `/home/projects/xils/ltp-microblaze.git/nfs/etc/group' for reading (No >> such file or directory) >> sys => 2 >> awk: cmd. line:1: fatal: cannot open file >> `/home/projects/xils/ltp-microblaze.git/nfs/etc/group' for reading (No >> such file or directory) >> users => 2 >> 'nobody' user id and group found. >> 'bin' user id and group found. >> 'daemon' user id and group found. >> Users group found. >> Sys group found. >> awk: cmd. line:1: fatal: cannot open file >> `/home/projects/xils/ltp-microblaze.git/nfs/etc/group' for reading (No >> such file or directory) >> nobody => 2 >> awk: cmd. line:1: fatal: cannot open file >> `/home/projects/xils/ltp-microblaze.git/nfs/etc/passwd' for reading (No >> such file or directory) >> nobody => 2 >> awk: cmd. line:1: fatal: cannot open file >> `/home/projects/xils/ltp-microblaze.git/nfs/etc/group' for reading (No >> such file or directory) >> bin => 2 >> awk: cmd. line:1: fatal: cannot open file >> `/home/projects/xils/ltp-microblaze.git/nfs/etc/passwd' for reading (No >> such file or directory) >> bin => 2 >> awk: cmd. line:1: fatal: cannot open file >> `/home/projects/xils/ltp-microblaze.git/nfs/etc/group' for reading (No >> such file or directory) >> daemon => 2 >> awk: cmd. line:1: fatal: cannot open file >> `/home/projects/xils/ltp-microblaze.git/nfs/etc/passwd' for reading (No >> such file or directory) >> daemon => 2 >> awk: cmd. line:1: fatal: cannot open file >> `/home/projects/xils/ltp-microblaze.git/nfs/etc/passwd' for reading (No >> such file or directory) >> users => 2 >> awk: cmd. line:1: fatal: cannot open file >> `/home/projects/xils/ltp-microblaze.git/nfs/etc/passwd' for reading (No >> such file or directory) >> sys => 2 >> Required users/groups exist. >> > > That's part of the reason why I wanted it to be reviewed before it was > committed, and I halfway expected Mike to provide that assistance but > he didn't... *sigh*. > > Does the /etc/passwd // /etc/group file exist? > Of course not because I cross compile ltp for Microblaze - correct /etc/passwd - group is on target system. Maybe worth to remove calling IDcheck.sh from make install and call it only before running the test. Michal > Thanks, > -Garrett > -- Michal Simek, Ing. (M.Eng) PetaLogix - Linux Solutions for a Reconfigurable World w: www.petalogix.com p: +61-7-30090663,+42-0-721842854 f: +61-7-30090663 ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list