From: Andreas Enge <andreas@enge.fr>
To: bug-guix@gnu.org
Subject: Tests requiring root
Date: Sat, 4 May 2013 12:26:34 +0200 [thread overview]
Message-ID: <201305041226.34791.andreas@enge.fr> (raw)
I am trying to package lvm2 as a prerequisite for cryptsetup. Most tests
fail with:
## teardown.../dev/mapper/control: open failed: Permission denied
Failure to communicate with kernel device-mapper driver.
Command failed
and
mknod: '/tmp/nix-build-
lvm-2.02.98.drv-0/LVM2.2.02.98/test/LVMTEST9148.yiDcLm67OP/dev/testnull':
Operation not permitted
mknod failed
I suspect one needs to be root to run the tests instead of a build user. Do
you see a way of carrying out the tests?
Another question: Should we use the name "lvm" or "lvm2"? I am not a fan of
version numbers being used inside the name of a package, but the official
name appears to be "lvm2" (used in a non-consistent way; the mailing list
is called "linux-lvm").
Andreas
next reply other threads:[~2013-05-04 10:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-04 10:26 Andreas Enge [this message]
2013-05-06 21:19 ` Tests requiring root Ludovic Courtès
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201305041226.34791.andreas@enge.fr \
--to=andreas@enge.fr \
--cc=bug-guix@gnu.org \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).