Bug 655222

Summary: systemd complains "Failed to mount ..." when booting with cgroup_disable=memory
Product: [Fedora] Fedora Reporter: Michal Jaegermann <michal>
Component: systemdAssignee: Lennart Poettering <lpoetter>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: lpoetter, metherid, mschmidt, notting, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-21 21:31:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Michal Jaegermann 2010-11-19 22:08:50 UTC
Description of problem:

With cgroup_disable=memory present in a boot command the following shows up when booting with systemd:

Failed to mount /sys/fs/cgroup/memory: Invalid argument

That shows up between last dracut messages and just before messages identified as coming from systemd begin and is apparently from systemd.

That does not seem to have any real adverse effects but if such failure was designed to be benign then why to complain about it? 


Version-Release number of selected component (if applicable):
systemd-13-1.fc15

How reproducible:
on every boot with cgroup_disable=memory

Comment 1 Lennart Poettering 2010-11-21 21:31:13 UTC
Fixed in systemd git upstream. It will no longer try to mount cgroup controllers that aren't enabled. This should ensure that the message you saw goes away (even though that message had little impact anyway).