From: Dave Chinner <david@fromorbit.com>
To: "Kinzel, David" <David.Kinzel@encana.com>
Cc: xfs@oss.sgi.com
Subject: Re: [PATCH] xfstests: fix NIS detection damage
Date: Wed, 11 Aug 2010 09:19:06 +1000 [thread overview]
Message-ID: <20100810231905.GJ26402@dastard> (raw)
In-Reply-To: <F57F2AD357626644AF76410876025D75529750@CGYEX705.encana.com>
On Tue, Aug 10, 2010 at 07:44:10AM -0600, Kinzel, David wrote:
> Dave Chinner <dchinner@redhat.com> said,
> >
> >NIS detection wasn't tested on machines without NIS enabled,
> >so many tests are
> >failing on non-NIS machines. the _yp_active function has no
> >specific return
> >value so always evaluates as 0 (active) and the "_cat_passwd"
> >function is
> >called from within an awk script which is not valid as the
> >shell may run with a
> >sanitised environment. Hence the functions do not need
> >specific export calls,
> >either, as unsanitised subshells will automatically inherit
> >the parent's
> >environment.
> >
>
> Is there any reason why getent passwd/group cannot be used for these, as
> it would get local and nss defined accounts? This would add support for
> people using LDAP as well.
If you want your test box to use this stuff, then feel free to
submit patches that support this.
In general, though, I think that running anything other than a
single user account on a filesystem test box is not necessary - you
don't want random users to be able to log in to the machine you are
running potentially destructive tests on.
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
prev parent reply other threads:[~2010-08-10 23:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-06 1:18 [PATCH] xfstests: fix NIS detection damage Dave Chinner
2010-08-06 13:03 ` Christoph Hellwig
2010-08-10 13:44 ` Kinzel, David
2010-08-10 23:19 ` Dave Chinner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100810231905.GJ26402@dastard \
--to=david@fromorbit.com \
--cc=David.Kinzel@encana.com \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox