* Tests requiring root
@ 2013-05-04 10:26 Andreas Enge
2013-05-06 21:19 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Enge @ 2013-05-04 10:26 UTC (permalink / raw
To: bug-guix
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Tests requiring root
2013-05-04 10:26 Tests requiring root Andreas Enge
@ 2013-05-06 21:19 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2013-05-06 21:19 UTC (permalink / raw
To: Andreas Enge; +Cc: bug-guix
Andreas Enge <andreas@enge.fr> skribis:
> 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?
No. I think it’s fine to skip the test suite in such cases. I suspect
the only workaround is to run the test suite manually on your machine.
> 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").
I would stick to the upstream name, so apparently “lvm2” in this case.
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-05-06 21:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-04 10:26 Tests requiring root Andreas Enge
2013-05-06 21:19 ` Ludovic Courtès
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).