From: "Serge E. Hallyn" <serue@us.ibm.com>
To: "Jiří Paleček" <jpalecek@web.de>
Cc: Subrata Modak <subrata@linux.vnet.ibm.com>,
Stephen Smalley <sds@tycho.nsa.gov>,
ltp-list <ltp-list@lists.sf.net>,
SE Linux <selinux@tycho.nsa.gov>
Subject: Re: [LTP] Fwd: [PATCH] Create $SELINUXTMPDIR in each of the tests
Date: Mon, 20 Apr 2009 08:36:12 -0500 [thread overview]
Message-ID: <20090420133612.GB603@us.ibm.com> (raw)
In-Reply-To: <op.usoj4f1cu2flwt@marcela-gaxm89c>
Quoting Jiří Paleček (jpalecek@web.de):
> On Mon, 20 Apr 2009 03:32:43 +0200, Serge E. Hallyn <serue@us.ibm.com> wrote:
>
> > Quoting Subrata Modak (subrata@linux.vnet.ibm.com):
> >> Stephen,
> >>
> >> Would you like to say something about the following Patch ?
> >
> > If the motivation is to support multiple concurrent ltp runs, wouldn't
> > it be better to have selinux-testsuite/tests/runtest.sh set/export
> > SELINUXTMPDIR to a per-run tempdir? Even as simple as
> > /tmp/selinux-$pid.
>
> No, the motivation was mostly to allow running these tests directly from PAN, without any supporting scripts. The ability to run the tests concurrently is just a pleasant bonus. I chose this way, because I find the needed changes pretty small.
Yeah - seems like a good idea.
If the directories sometimes don't get deleted, then you might help out
the admin by giving the directories easy to spot names so they can
manually clean up... i.e. use mktemp -d /tmp/ltpselinuxXXXX or maybe
even better mkdir -p /tmp/ltpselinux; mktemp -d -p /tmp/ltpselinux
thanks,
-serge
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
next prev parent reply other threads:[~2009-04-20 13:36 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-18 18:47 Fwd: [LTP] [PATCH] Create $SELINUXTMPDIR in each of the tests Subrata Modak
2009-04-20 1:32 ` [LTP] Fwd: " Serge E. Hallyn
2009-04-20 1:35 ` Serge E. Hallyn
[not found] ` <op.usoj4f1cu2flwt@marcela-gaxm89c>
2009-04-20 13:36 ` Serge E. Hallyn [this message]
2009-04-29 19:07 ` Stephen Smalley
[not found] ` <op.us5xofaeu2flwt@debian>
2009-04-29 19:40 ` Stephen Smalley
2009-04-29 19:52 ` Stephen Smalley
[not found] ` <op.us51ezmiu2flwt@debian>
2009-04-30 12:45 ` Stephen Smalley
2009-05-11 6:44 ` Subrata Modak
2009-04-30 15:20 ` [PATCH] Fix MLS handling in selinux tests Stephen Smalley
2009-05-11 6:44 ` Subrata Modak
[not found] ` <1241087321.5983.12.camel@subratamodak.linux.ibm.com>
[not found] ` <1241097725.27331.13.camel@localhost.localdomain>
2009-05-01 11:52 ` [LTP] Fwd: [PATCH] Create $SELINUXTMPDIR in each of the tests Stephen Smalley
2009-05-05 13:52 ` Stephen Smalley
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=20090420133612.GB603@us.ibm.com \
--to=serue@us.ibm.com \
--cc=jpalecek@web.de \
--cc=ltp-list@lists.sf.net \
--cc=sds@tycho.nsa.gov \
--cc=selinux@tycho.nsa.gov \
--cc=subrata@linux.vnet.ibm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.