Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630128 - sys-libs/libhugetlbfs-2.20 fails tests: hugeadm:ERROR: Unable to create dir /var/lib/hugetlbfs, error: Permission denied
Summary: sys-libs/libhugetlbfs-2.20 fails tests: hugeadm:ERROR: Unable to create dir /...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2017-09-07 01:00 UTC by Kent Fredric (IRC: kent\n)
Modified: 2017-09-07 01:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (libhugetlbfs-2.20:20170907-005709.log,16.31 KB, text/plain)
2017-09-07 01:00 UTC, Kent Fredric (IRC: kent\n)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) gentoo-dev 2017-09-07 01:00:17 UTC
Created attachment 492920 [details]
build.log

Running with FEATURES="-userpriv" as instructed, tests fail:

make[1]: Leaving directory '/var/tmp/portage/sys-libs/libhugetlbfs-2.20/work/libhugetlbfs-2.20/tests'
 * Planning allocation
mkdir: cannot create directory ‘/var/lib/hugetlbfs’: Permission denied
 * Checking HugeTLB mountpoints
hugeadm:ERROR: Unable to create dir /var/lib/hugetlbfs, error: Permission denied
 * ERROR: sys-libs/libhugetlbfs-2.20::gentoo failed (test phase):
 *   Failed to set up hugetlb mountpoints.
 *
 * Call stack:
 *     ebuild.sh, line 115:  Called src_test
 *   environment, line 3232:  Called die
 * The specific snippet of code:
 *       ${hugeadm} --create-mounts || die "Failed to set up hugetlb mountpoints.";


Manually creating that dir doesn't help either:

make[1]: Leaving directory '/var/tmp/portage/sys-libs/libhugetlbfs-2.20/work/libhugetlbfs-2.20/tests'
 * Planning allocation
mkdir: cannot create directory ‘/var/lib/hugetlbfs/pagesize-2097152’: Permission denied
 * Checking HugeTLB mountpoints
hugeadm:ERROR: Unable to create dir /var/lib/hugetlbfs/pagesize-2MB, error: Permission denied