All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Wysochanski <dwysocha@redhat.com>
To: lvm-devel@redhat.com
Subject: [PATCH] Add creation of dev/mapper/control to nightly tests.
Date: Fri, 16 Apr 2010 07:07:27 -0400	[thread overview]
Message-ID: <1271416047.2472.0.camel@f10-node1> (raw)
In-Reply-To: <20100416005830.GS13021@agk-dp.fab.redhat.com>

On Fri, 2010-04-16 at 01:58 +0100, Alasdair G Kergon wrote:
> On Thu, Apr 15, 2010 at 04:39:58PM -0400, Dave Wysochanski wrote:
> > +	minor=`cat /proc/misc | grep device-mapper | awk '{print $1}'`
> > +	mknod $DM_DEV_DIR/mapper/control c 10 $minor
>   
> Just to be clear, I don't want to see this hack enter the tree, and the problem
> is in the machine's configuration, not the test scripts.  At this stage we are
> not trying to test the selinux policy through these scripts. Maybe we can
> do that soon: I don't think it would be very hard to do.
> 
> If you enable selinux, then you abide by its restrictions.
> If you really don't like the default policy (which sensibly doesn't let
> you run tests like these in /tmp) you change it ('semanage fcontext' on
> the top-level testing dir).
> 

Sure - I will work on a better patch.



      reply	other threads:[~2010-04-16 11:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-15 20:39 [PATCH] Add creation of dev/mapper/control to nightly tests Dave Wysochanski
2010-04-15 22:15 ` Alasdair G Kergon
2010-04-16  0:58 ` Alasdair G Kergon
2010-04-16 11:07   ` Dave Wysochanski [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=1271416047.2472.0.camel@f10-node1 \
    --to=dwysocha@redhat.com \
    --cc=lvm-devel@redhat.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.