[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tests requiring root

From: Andreas Enge
Subject: Tests requiring root
Date: Sat, 4 May 2013 12:26:34 +0200
User-agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; )

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


mknod: '/tmp/nix-build-
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").


reply via email to

[Prev in Thread] Current Thread [Next in Thread]