[Bug 1179894] New: warnings in OBS builds from kernel+initrd about "Warning: running kernel does not support fscaps"
https://bugzilla.suse.com/show_bug.cgi?id=1179894 Bug ID: 1179894 Summary: warnings in OBS builds from kernel+initrd about "Warning: running kernel does not support fscaps" Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: okurz@suse.com QA Contact: qa-bugs@suse.de CC: fvogt@suse.com, jslaby@suse.com, msuchanek@suse.com, okurz@suse.com, thomas.blume@suse.com, tiwai@suse.com Depends on: 1178401 Found By: --- Blocker: --- +++ This bug was initially created as a clone of Bug #1178401 +++ ## Observation https://build.opensuse.org/build/openSUSE:Factory/images/local/000product:op... shows repeated warnings about: ``` [ 14s] Warning: running kernel does not support fscaps [ 14s] Warning: running kernel does not support fscaps [ 14s] Warning: running kernel does not support fscaps [ 14s] Warning: running kernel does not support fscaps [ 14s] Warning: running kernel does not support fscaps [ 14s] Warning: running kernel does not support fscaps [ 14s] Warning: running kernel does not support fscaps [ 14s] Warning: running kernel does not support fscaps ``` ## Steps to reproduce Seemingly reproducible in any build of packages, e.g. https://build.opensuse.org/public/build/openSUSE:Factory/standard/x86_64/000... shows the same ## Expected result Only errors and warnings in the log that I as package/project maintainer can fix -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1179894 https://bugzilla.suse.com/show_bug.cgi?id=1179894#c1 --- Comment #1 from Takashi Iwai <tiwai@suse.com> --- The message comes from permissions package. It checks the presence of /sys/kernel/fscaps and its content being "1". But the kernel must have this feature set (you cannot disable it), so it's either the mount of /sys isn't done at the moment or something else is wrong. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1179894 https://bugzilla.suse.com/show_bug.cgi?id=1179894#c2 Miroslav Bene�� <mbenes@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mbenes@suse.com --- Comment #2 from Miroslav Bene�� <mbenes@suse.com> --- Oliver, is there anything new here? Some time has passed, so I wonder if it is still an issue. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1179894 https://bugzilla.suse.com/show_bug.cgi?id=1179894#c3 --- Comment #3 from Oliver Kurz <okurz@suse.com> --- (In reply to Miroslav Bene�� from comment #2)
Oliver, is there anything new here? Some time has passed, so I wonder if it is still an issue.
Well, just following the steps to reproduce as in the original description still shows the same message so it's still the same issue -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1179894 https://bugzilla.suse.com/show_bug.cgi?id=1179894#c4 --- Comment #4 from Miroslav Bene�� <mbenes@suse.com> --- Hm, I suppose "running kernel" means kernel-obs-build here. Is it any different from the common kernel? Because my TW kernel definitely has "1" in /sys/kernel/fscaps. So it is suspicious as Takashi said above. Is there a way to spin up the OBS environment locally and take a look around? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1179894 https://bugzilla.suse.com/show_bug.cgi?id=1179894#c5 --- Comment #5 from Jiri Slaby <jslaby@suse.com> --- (In reply to Miroslav Bene�� from comment #4)
Hm, I suppose "running kernel" means kernel-obs-build here. Is it any different from the common kernel? Because my TW kernel definitely has "1" in /sys/kernel/fscaps. So it is suspicious as Takashi said above.
As we tried, fscaps is 1 also in the obs-build kernel (it cannot be different as it is repackaged kernel-default package). Looking at the output: [ 16s] util-linux-2.37.2-2.3 ######################################## [ 16s] Warning: running kernel does not support fscaps [ 16s] /usr/bin/mount: setting to root:root 4755 (wrong permissions 0755) Clearly it warns even before mount(1) is installed. So /sys/ is definitely not instantiated at that phase. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1179894 https://bugzilla.suse.com/show_bug.cgi?id=1179894#c6 Jiri Slaby <jslaby@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Kernel |build process Version|Current |master Assignee|kernel-bugs@opensuse.org |mls@suse.com Product|openSUSE Tumbleweed |openSUSE Build Service QA Contact|qa-bugs@suse.de |adrian.schroeter@suse.com --- Comment #6 from Jiri Slaby <jslaby@suse.com> --- (In reply to Jiri Slaby from comment #5)
Clearly it warns even before mount(1) is installed. So /sys/ is definitely not instantiated at that phase.
Which appears to be an error in an OBS instantiation of the root. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com