RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1444864 - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=13
Summary: ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/me...
Keywords:
Status: CLOSED DUPLICATE of bug 1436689
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: selinux-policy
Version: 7.4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Lukas Vrabec
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-24 12:56 UTC by Sudhir Menon
Modified: 2017-04-25 20:54 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-25 20:54:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
ipa-server-install log (3.79 MB, text/plain)
2017-04-24 13:01 UTC, Sudhir Menon
no flags Details
dirsrv error log (267.30 KB, text/plain)
2017-04-24 13:02 UTC, Sudhir Menon
no flags Details

Description Sudhir Menon 2017-04-24 12:56:43 UTC
Description of problem: "ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=13" seen during ipa-server-install in SELinux enforcing mode.


Version-Release number of selected component (if applicable):
ipa-server-4.5.0-7.el7.x86_64
389-ds-base-1.3.6.1-9.el7.x86_64
selinux-policy-3.13.1-144.el7.noarch

How reproducible: Always

Steps to Reproduce:
1. Install IPA server with selinux in enforcing mode
2. Check /var/log/messages file.

Actual results:
Apr 24 06:42:57 localhost ns-slapd: [24/Apr/2017:06:42:57.616269079 -0400] - INFO - main - 389-Directory/1.3.6.1 B2017.109.1947 starting up
Apr 24 06:42:57 localhost ns-slapd: [24/Apr/2017:06:42:57.634814598 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=13
Apr 24 06:42:57 localhost ns-slapd: [24/Apr/2017:06:42:57.635648334 -0400] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.soft_limit_in_bytes. There may be no cgroup support on this platform
Apr 24 06:42:57 localhost ns-slapd: [24/Apr/2017:06:42:57.636286848 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=13
Apr 24 06:42:57 localhost ns-slapd: [24/Apr/2017:06:42:57.636950249 -0400] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform
Apr 24 06:42:57 localhost ns-slapd: [24/Apr/2017:06:42:57.637525300 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=13
Apr 24 06:42:57 localhost ns-slapd: [24/Apr/2017:06:42:57.638225466 -0400] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform
Apr 24 06:42:57 localhost ns-slapd: [24/Apr/2017:06:42:57.639646542 -0400] - ERR - ldbm_instance_config_cachememsize_set - force a minimal value 512000
Apr 24 06:42:57 localhost ns-slapd: [24/Apr/2017:06:42:57.640399098 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=13
Apr 24 06:42:57 localhost ns-slapd: [24/Apr/2017:06:42:57.641081226 -0400] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.soft_limit_in_bytes. There may be no cgroup support on this platform
Apr 24 06:42:57 localhost ns-slapd: [24/Apr/2017:06:42:57.641775343 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=13
Apr 24 06:42:57 localhost ns-slapd: [24/Apr/2017:06:42:57.642610059 -0400] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform
Apr 24 06:42:57 localhost ns-slapd: [24/Apr/2017:06:42:57.643148049 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=13
Apr 24 06:42:57 localhost ns-slapd: [24/Apr/2017:06:42:57.643809593 -0400] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform
Apr 24 06:42:57 localhost ns-slapd: [24/Apr/2017:06:42:57.644632611 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=13
Apr 24 06:42:57 localhost ns-slapd: [24/Apr/2017:06:42:57.645254793 -0400] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.soft_limit_in_bytes. There may be no cgroup support on this platform
Apr 24 06:42:57 localhost ns-slapd: [24/Apr/2017:06:42:57.645778840 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=13
Apr 24 06:42:57 localhost ns-slapd: [24/Apr/2017:06:42:57.646482064 -0400] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform
Apr 24 06:42:57 localhost ns-slapd: [24/Apr/2017:06:42:57.647052614 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=13
Apr 24 06:42:57 localhost ns-slapd: [24/Apr/2017:06:42:57.647626707 -0400] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform
Apr 24 06:42:57 localhost ns-slapd: [24/Apr/2017:06:42:57.648333241 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=13
Apr 24 06:42:57 localhost ns-slapd: [24/Apr/2017:06:42:57.649112101 -0400] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.soft_limit_in_bytes. There may be no cgroup support on this platform
Apr 24 06:42:57 localhost ns-slapd: [24/Apr/2017:06:42:57.649728292 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=13
Apr 24 06:42:57 localhost ns-slapd: [24/Apr/2017:06:42:57.650290778 -0400] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform
Apr 24 06:42:57 localhost ns-slapd: [24/Apr/2017:06:42:57.650825493 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=13
Apr 24 06:42:57 localhost ns-slapd: [24/Apr/2017:06:42:57.651419296 -0400] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.limit_in_bytes. There may be no cgroup support on this platform
Apr 24 06:42:57 localhost ns-slapd: [24/Apr/2017:06:42:57.653203632 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=13
Apr 24 06:42:57 localhost ns-slapd: [24/Apr/2017:06:42:57.653808284 -0400] - WARN - spal_meminfo_get - Unable to retrieve /sys/fs/cgroup/memory/memory.soft_limit_in_bytes. There may be no cgroup support on this platform


Expected results:Fix the error caused due to SELinux.

Additional info: Attaching install and dirsrv logs.

Comment 2 Sudhir Menon 2017-04-24 13:01:12 UTC
Created attachment 1273610 [details]
ipa-server-install log

Comment 3 Sudhir Menon 2017-04-24 13:02:22 UTC
Created attachment 1273611 [details]
dirsrv error log

Comment 5 mreynolds 2017-04-24 17:46:44 UTC
William, can you look into please?


Note You need to log in before you can comment on or make changes to this bug.