Project

General

Profile

Bug #43719

qa: "error New address family defined, please update secclass_map."

Added by Patrick Donnelly about 1 month ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Urgent
Category:
-
Target version:
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
qa-suite
Labels (FS):
Pull request ID:
Crash signature:

Description

2020-01-18T01:10:43.370 INFO:tasks.workunit.client.0.smithi061.stdout:  CC      scripts/mod/devicetable-offsets.s
2020-01-18T01:10:43.424 INFO:tasks.workunit.client.0.smithi061.stdout:  HOSTCC  scripts/kallsyms
2020-01-18T01:10:43.542 INFO:tasks.workunit.client.0.smithi061.stdout:  HOSTCC  scripts/selinux/genheaders/genheaders
2020-01-18T01:10:43.638 INFO:tasks.workunit.client.0.smithi061.stdout:  HOSTCC  scripts/selinux/mdp/mdp
2020-01-18T01:10:43.713 INFO:tasks.workunit.client.0.smithi061.stdout:  MKELF   scripts/mod/elfconfig.h
2020-01-18T01:10:43.839 INFO:tasks.workunit.client.0.smithi061.stdout:  HOSTCC  scripts/mod/modpost.o
2020-01-18T01:10:43.873 INFO:tasks.workunit.client.0.smithi061.stdout:  HOSTCC  scripts/mod/sumversion.o
2020-01-18T01:10:43.978 INFO:tasks.workunit.client.0.smithi061.stderr:In file included from scripts/selinux/genheaders/genheaders.c:19:
2020-01-18T01:10:43.978 INFO:tasks.workunit.client.0.smithi061.stderr:./security/selinux/include/classmap.h:247:2: error: #error New address family defined, please update secclass_map.
2020-01-18T01:10:43.979 INFO:tasks.workunit.client.0.smithi061.stderr: #error New address family defined, please update secclass_map.
2020-01-18T01:10:43.979 INFO:tasks.workunit.client.0.smithi061.stderr:  ^~~~~
2020-01-18T01:10:44.064 INFO:tasks.workunit.client.0.smithi061.stderr:In file included from scripts/selinux/mdp/mdp.c:49:
2020-01-18T01:10:44.064 INFO:tasks.workunit.client.0.smithi061.stderr:./security/selinux/include/classmap.h:247:2: error: #error New address family defined, please update secclass_map.
2020-01-18T01:10:44.065 INFO:tasks.workunit.client.0.smithi061.stderr: #error New address family defined, please update secclass_map.
2020-01-18T01:10:44.065 INFO:tasks.workunit.client.0.smithi061.stderr:  ^~~~~
2020-01-18T01:10:44.079 INFO:tasks.workunit.client.0.smithi061.stderr:make[3]: *** [scripts/Makefile.host:90: scripts/selinux/genheaders/genheaders] Error 1
2020-01-18T01:10:44.081 INFO:tasks.workunit.client.0.smithi061.stderr:make[2]: *** [scripts/Makefile.build:559: scripts/selinux/genheaders] Error 2
2020-01-18T01:10:44.081 INFO:tasks.workunit.client.0.smithi061.stderr:make[2]: *** Waiting for unfinished jobs....
2020-01-18T01:10:44.087 INFO:tasks.workunit.client.0.smithi061.stderr:make[3]: *** [scripts/Makefile.host:90: scripts/selinux/mdp/mdp] Error 1
2020-01-18T01:10:44.090 INFO:tasks.workunit.client.0.smithi061.stderr:make[2]: *** [scripts/Makefile.build:559: scripts/selinux/mdp] Error 2
2020-01-18T01:10:44.091 INFO:tasks.workunit.client.0.smithi061.stderr:make[1]: *** [scripts/Makefile.build:559: scripts/selinux] Error 2
2020-01-18T01:10:44.092 INFO:tasks.workunit.client.0.smithi061.stderr:make[1]: *** Waiting for unfinished jobs....
2020-01-18T01:10:44.439 INFO:tasks.workunit.client.0.smithi061.stdout:  CHK     scripts/mod/devicetable-offsets.h
2020-01-18T01:10:44.491 INFO:tasks.workunit.client.0.smithi061.stdout:  UPD     scripts/mod/devicetable-offsets.h
2020-01-18T01:10:44.846 INFO:tasks.workunit.client.0.smithi061.stdout:  HOSTCC  scripts/mod/file2alias.o
2020-01-18T01:10:44.871 INFO:tasks.workunit.client.0.smithi061.stdout:  CC      kernel/bounds.s
2020-01-18T01:10:45.128 INFO:tasks.workunit.client.0.smithi061.stdout:  CHK     include/generated/timeconst.h
2020-01-18T01:10:45.462 INFO:tasks.workunit.client.0.smithi061.stdout:  UPD     include/generated/timeconst.h
2020-01-18T01:10:45.475 INFO:tasks.workunit.client.0.smithi061.stdout:  HOSTLD  scripts/mod/modpost
2020-01-18T01:10:45.686 INFO:tasks.workunit.client.0.smithi061.stderr:make: *** [Makefile:1079: scripts] Error 2
2020-01-18T01:10:45.686 INFO:tasks.workunit.client.0.smithi061.stderr:make: *** Waiting for unfinished jobs....
2020-01-18T01:10:45.888 INFO:tasks.workunit.client.0.smithi061.stdout:  CHK     include/generated/bounds.h
2020-01-18T01:10:45.908 INFO:tasks.workunit.client.0.smithi061.stdout:  UPD     include/generated/bounds.h
2020-01-18T01:10:45.940 INFO:tasks.workunit.client.0.smithi061.stdout:  CC      arch/x86/kernel/asm-offsets.s
2020-01-18T01:10:48.436 INFO:tasks.workunit.client.0.smithi061.stdout:  CHK     include/generated/asm-offsets.h
2020-01-18T01:10:48.531 INFO:tasks.workunit.client.0.smithi061.stdout:  UPD     include/generated/asm-offsets.h
2020-01-18T01:10:48.535 INFO:tasks.workunit.client.0.smithi061.stdout:  CALL    scripts/checksyscalls.sh
2020-01-18T01:10:48.593 DEBUG:teuthology.orchestra.run:got remote process result: 2
2020-01-18T01:10:48.593 INFO:tasks.workunit:Stopping ['kernel_untar_build.sh'] on client.0...

From: /ceph/teuthology-archive/pdonnell-2020-01-17_22:34:19-fs-wip-pdonnell-testing-20200117.183318-distro-basic-smithi/4679420/teuthology.log

CentOS 8 only. Do we need to start building a newer kernel? (lame!)


Related issues

Duplicated by fs - Bug #43741: kernel_untar_build.sh failed Duplicate

History

#1 Updated by Jeff Layton about 1 month ago

Yep, I think so:

https://lkml.org/lkml/2019/4/23/517

Basically, building old kernels on really new userspace glibc got broken. See commit ff1bf4c071 in the kernel. The easiest fix is probably to just update this tarball to something newer (5.4-ish, ideally).

#2 Updated by Patrick Donnelly about 1 month ago

  • Duplicated by Bug #43741: kernel_untar_build.sh failed added

#3 Updated by Patrick Donnelly about 1 month ago

  • Status changed from New to In Progress
  • Assignee changed from Jeff Layton to Patrick Donnelly

#4 Updated by Patrick Donnelly about 1 month ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 32763
  • Component(FS) qa-suite added

#5 Updated by Patrick Donnelly about 1 month ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF