Bug 642664 - "early boot" spew: 'Unable to fix label of /sys/fs/cgroup/XXXX: Operation not supported'
Summary: "early boot" spew: 'Unable to fix label of /sys/fs/cgroup/XXXX: Operation not...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Lennart Poettering
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-13 14:24 UTC by Tom London
Modified: 2010-10-19 17:36 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-10-19 17:36:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Tom London 2010-10-13 14:24:43 UTC
Description of problem:
Every time I boot, I notice the following messages in boot.log:

[1;31mUnable to fix label of /sys/fs/cgroup/systemd: Operation not supported[0m
[1;31mUnable to fix label of /sys/fs/cgroup/cpuset: Operation not supported[0m
[1;31mUnable to fix label of /sys/fs/cgroup/ns: Operation not supported[0m
[1;31mUnable to fix label of /sys/fs/cgroup/cpu: Operation not supported[0m
[1;31mUnable to fix label of /sys/fs/cgroup/cpuacct: Operation not supported[0m
[1;31mUnable to fix label of /sys/fs/cgroup/memory: Operation not supported[0m
[1;31mUnable to fix label of /sys/fs/cgroup/devices: Operation not supported[0m
[1;31mUnable to fix label of /sys/fs/cgroup/freezer: Operation not supported[0m
[1;31mUnable to fix label of /sys/fs/cgroup/net_cls: Operation not supported[0m
[1;31mUnable to fix label of /sys/fs/cgroup/blkio: Operation not supported[0m
                Welcome to Fedora 

Could systemd be trying to fix the labels on a file system that does not support labeling?  So it is doing setfilecon("cgroup_t") and getting back an error ENOSUP and reporting this as a bug?

Should systemd check ENOSUP and not put out an error message?

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

How reproducible:
Every boot

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Daniel Walsh 2010-10-13 15:17:29 UTC
Lennart, I think the problem here is the cgroupfs does not support labeling so if you are calling the setfilecon on each directory it is returning ENOSUP errno.  In this case your code should just ignore the error and move on.

Comment 2 Lennart Poettering 2010-10-19 17:36:22 UTC
Fixed in git.


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