From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Tests requiring root Date: Sat, 4 May 2013 12:26:34 +0200 Message-ID: <201305041226.34791.andreas@enge.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYZfu-00037x-G2 for bug-guix@gnu.org; Sat, 04 May 2013 06:26:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UYZfs-0007Pj-AL for bug-guix@gnu.org; Sat, 04 May 2013 06:26:42 -0400 Received: from moutng.kundenserver.de ([212.227.17.8]:49961) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYZfs-0007PY-10 for bug-guix@gnu.org; Sat, 04 May 2013 06:26:40 -0400 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: bug-guix@gnu.org 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