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: RESOLVED OBSOLETE
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: PMASKED, TESTFAILURE
Depends on:
Blocks:
 
Reported: 2017-09-07 01:00 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2024-04-13 14:46 UTC (History)
1 user (show)

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) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) 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
Comment 1 Larry the Git Cow gentoo-dev 2021-10-25 13:28:17 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9215f11d48a5f54263e700e10d91613b5735e1b9

commit 9215f11d48a5f54263e700e10d91613b5735e1b9
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-25 13:24:36 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-25 13:27:50 +0000

    profiles: last-rite sys-libs/libhugetlbfs
    
    Bug: https://bugs.gentoo.org/630128
    Bug: https://bugs.gentoo.org/715640
    Bug: https://bugs.gentoo.org/806079
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/package.mask | 6 ++++++
 1 file changed, 6 insertions(+)