Re: [LTP] IDcheck.sh - awk problem

Garrett Cooper
2009-07-08T14:49:07Z

On Tue, Jul 7, 2009 at 11:04 PM, Michal Simek<michal.simek@petalogix.com> 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?

Thanks,
-Garrett