Return-Path: Received: from sfi-mx-4.v28.ch3.sourceforge.com ([172.29.28.124] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1Ngvs5-0000LI-N2 for ltp-list@lists.sourceforge.net; Mon, 15 Feb 2010 07:59:57 +0000 Received: from mail-pz0-f179.google.com ([209.85.222.179]) by sfi-mx-4.v28.ch3.sourceforge.com with esmtp (Exim 4.69) id 1Ngvs4-0003JE-MF for ltp-list@lists.sourceforge.net; Mon, 15 Feb 2010 07:59:57 +0000 Received: by pzk9 with SMTP id 9so2951107pzk.28 for ; Sun, 14 Feb 2010 23:59:50 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <364299f41002142320p24b3e50fj8b56bb15dad2a524@mail.gmail.com> References: <4b9fdcd01002142251l2cb9036fvde4fbc60bbae85a4@mail.gmail.com> <364299f41002142303t19a2dd85ve9d87245084ff4ff@mail.gmail.com> <4b9fdcd01002142309p2bc18e0yfaa0876694cc4f57@mail.gmail.com> <364299f41002142320p24b3e50fj8b56bb15dad2a524@mail.gmail.com> Date: Mon, 15 Feb 2010 13:29:48 +0530 Message-ID: <4b9fdcd01002142359w4b275c73s91ea258eee1de146@mail.gmail.com> From: vishwanath govind Subject: Re: [LTP] facing issue "TBROK : nobody not in /etc/passwd" List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1629520040874035075==" Errors-To: ltp-list-bounces@lists.sourceforge.net To: Garrett Cooper Cc: ltp-list@lists.sourceforge.net --===============1629520040874035075== Content-Type: multipart/alternative; boundary=000e0cd104f44fce61047f9f007d --000e0cd104f44fce61047f9f007d Content-Type: text/plain; charset=ISO-8859-1 Yes, I checked this before, It return errorno "0". Somehow mknod02 won't display the errorno when it exit with "tst_brkm(TBROK, cleanup, "%s not in /etc/passwd", LTPUSER)" but I have similar tests return errorno 0. I see "nobody" user and uid/gid -99 is present in /etc/passwd file. Do I need to enable anything in KERNEL config or /etc? ============================log=============================== <<>> tag=nftw01 stime=1170483127 cmdline="nftw01" contacts="" analysis=exit <<>> nobody not found in /etc/passwd: No such file or directory <<>> initiation_status="ok" duration=0 termination_type=exited termination_id=1 corefile=no cutime=1 cstime=2 <<>> <<>> tag=nftw6401 stime=1170483127 cmdline="nftw6401" contacts="" analysis=exit <<>> change_owner: nobody not found in /etc/passwd: No such file or directory <<>> initiation_status="ok" duration=0 termination_type=exited termination_id=1 corefile=no cutime=2 cstime=1 <<>> ==============================end================================== Regards Vishwa On Mon, Feb 15, 2010 at 12:50 PM, Garrett Cooper wrote: > On Sun, Feb 14, 2010 at 11:09 PM, vishwanath govind > wrote: > > Garrett, > > Thanks for your quick reply. I am using "ltp-full-20091231". > > Regards > > Vishwa > > > > On Mon, Feb 15, 2010 at 12:33 PM, Garrett Cooper > wrote: > >> > >> On Sun, Feb 14, 2010 at 10:51 PM, vishwanath govind > >> wrote: > >> > > >> > Hi, > >> > I am facing common issue which causing many of the LTP syscalls test > >> > cases > >> > to fail. I have taken mknod02 test to show this issue here. Definitely > I > >> > am > >> > missing something out here, could you guys please point me to right > >> > direction? Please let me know if you need some more info/log > >> > > >> > ======================log================================ > >> > # ls /etc > >> > group passwd > >> > > >> > # ./IDcheck.sh > >> > Checking for required user/group ids > >> > 'nobody' user id and group found. > >> > 'bin' user id and group found. > >> > 'daemon' user id and group found. > >> > Users group found. > >> > Sys group found. > >> > Required users/groups exist. > >> > > >> > # cat /etc/passwd > >> > root:x:0:0:root:: > >> > nobody:x:99:99:nobody:: > >> > bin:x:1:1:bin:: > >> > daemon:x:2:2:daemon:: > >> > > >> > #uname -a > >> > Linux (none) 2.6.29 #4 PREEMPT Thu Feb 11 23:37:46 PST 2010 armv6l > >> > GNU/Linux > >> > > >> > # ./mknod02 > >> > mknod02 1 TBROK : nobody not in /etc/passwd > >> > >> What version of LTP is this? > > That's a lousy diagnostic, as any one of the following errors could be > the culprit: > > ERRORS > 0 or ENOENT or ESRCH or EBADF or EPERM or ... > The given name or uid was not found. > > EINTR A signal was caught. > > EIO I/O error. > > EMFILE The maximum number (OPEN_MAX) of files was open already > in the calling process. > > ENFILE The maximum number of files was open already in the system. > > ENOMEM Insufficient memory to allocate passwd structure. > > ERANGE Insufficient buffer space supplied. > > What are the permissions on the file and is there any way where you > could grab the latest copy of the file from git and try that out (the > patch is available at: > < > http://ltp.git.sourceforge.net/git/gitweb.cgi?p=ltp/ltp-dev.git;a=patch;h=HEAD;hp=8686ad72fbe76a7de8fe8e93ef68a71fff8a049d > >)? > Thanks! > -Garrett > --000e0cd104f44fce61047f9f007d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Yes, I checked this before, It return errorno "0". Somehow mknod02 won't display the erro= rno when it=A0exit with "tst= _brkm(TBROK, cleanup, "%s not in /etc/passwd", LTPUSER)"=A0b= ut I have similar tests return errorno 0. I see "nobody" user= =A0and uid/gid -99=A0is present in /etc/passwd file. Do=A0I need to enable = anything in KERNEL config or /etc?
=A0
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3Dlog=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
<<<test_start>>>
tag=3Dnftw01 stime=3D1170483127<= br>cmdline=3D"nftw01"
contacts=3D""
analysis=3Dex= it
<<<test_output>>>
nobody not found in /etc/passw= d: No such file or directory
<<<execution_status>>>
initiation_status=3D"ok&qu= ot;
duration=3D0 termination_type=3Dexited termination_id=3D1 corefile= =3Dno
cutime=3D1 cstime=3D2
<<<test_end>>>
<&= lt;<test_start>>>
tag=3Dnftw6401 stime=3D1170483127
cmdline=3D"nftw6401"
cont= acts=3D""
analysis=3Dexit
<<<test_output>>&g= t;
change_owner: nobody not found in /etc/passwd: No such file or direct= ory
<<<execution_status>>>
initiation_status=3D"ok&qu= ot;
duration=3D0 termination_type=3Dexited termination_id=3D1 corefile= =3Dno
cutime=3D2 cstime=3D1
<<<test_end>>>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3Dend=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Regards
Vishwa
=A0
On Mon, Feb 15, 2010 at 12:50 PM, Garrett Cooper= <yanegomi@gmail= .com> wrote:
On Sun, Feb 14, 2010 at 11:09 PM= , vishwanath govind
<vishwa= .hochihally@gmail.com> wrote:
> Garrett,
> =A0Thanks for= your quick reply. I am using "ltp-full-20091231".
> Regard= s
> Vishwa
>
> On Mon, Feb 15, 2010 at 12:33 PM, Garrett Coope= r <yanegomi@gmail.com> wrot= e:
>>
>> On Sun, Feb 14, 2010 at 10:51 PM, vishwanath gov= ind
>> <vishwa.hochihal= ly@gmail.com> wrote:
>> >
>> > Hi,
>&g= t; > I am facing common issue which causing many of the LTP syscalls tes= t
>> > cases
>> > to fail. I have taken mknod02 test to = show this issue here. Definitely I
>> > am
>> > mis= sing something out here, could you guys please point me to right
>>= ; > direction?=A0 Please let me know if you need some more info/log
>> >
>> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3Dlog=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>> > # ls /etc=
>> > group=A0=A0 passwd
>> >
>> > # ./= IDcheck.sh
>> > Checking for required user/group ids
>> > 'nobody' user id and group found.
>> > &#= 39;bin' user id and group found.
>> > 'daemon' user= id and group found.
>> > Users group found.
>> > S= ys group found.
>> > Required users/groups exist.
>> >
>> >= ; # cat /etc/passwd
>> > root:x:0:0:root::
>> > nob= ody:x:99:99:nobody::
>> > bin:x:1:1:bin::
>> > daem= on:x:2:2:daemon::
>> >
>> > #uname -a
>> > Linux (none) 2.6.= 29 #4 PREEMPT Thu Feb 11 23:37:46 PST 2010 armv6l
>> > GNU/Linu= x
>> >
>> > # ./mknod02
>> > mknod02=A0= =A0=A0=A0 1=A0 TBROK=A0 :=A0 nobody not in /etc/passwd
>>
>> What version of LTP is this?

That&#= 39;s a lousy diagnostic, as any one of the following errors could be
the= culprit:

ERRORS
=A0 =A0 =A0 0 or ENOENT or ESRCH or EBADF or EPE= RM or ...
=A0 =A0 =A0 =A0 =A0 =A0 =A0The given name or uid was not found.

=A0 = =A0 =A0 EINTR =A0A signal was caught.

=A0 =A0 =A0 EIO =A0 =A0I/O err= or.

=A0 =A0 =A0 EMFILE The maximum number (OPEN_MAX) of files was op= en already
in the calling process.

=A0 =A0 =A0 ENFILE The maximum number of files was open already in the = system.

=A0 =A0 =A0 ENOMEM Insufficient memory to allocate passwd st= ructure.

=A0 =A0 =A0 ERANGE Insufficient buffer space supplied.
<= br>What are the permissions on the file and is there any way where you
could grab the latest copy of the file from git and try that out (the
pa= tch is available at:
<http://ltp.git.sourceforge.net/git/g= itweb.cgi?p=3Dltp/ltp-dev.git;a=3Dpatch;h=3DHEAD;hp=3D8686ad72fbe76a7de8fe8= e93ef68a71fff8a049d>)?
Thanks!
-Garrett
--000e0cd104f44fce61047f9f007d-- --===============1629520040874035075== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev --===============1629520040874035075== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list --===============1629520040874035075==--