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):
on every boot with cgroup_disable=memory
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).