Bug 655222 - systemd complains "Failed to mount ..." when booting with cgroup_disable=memory
Summary: systemd complains "Failed to mount ..." when booting with cgroup_disable=memory
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Lennart Poettering
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2010-11-19 22:08 UTC by Michal Jaegermann
Modified: 2010-11-21 21:31 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-11-21 21:31:13 UTC
Type: ---

Attachments (Terms of Use)

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):

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).

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