Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 448872 - When ima_appraisal_tcb is enabled, system oops'es in bootmisc
Summary: When ima_appraisal_tcb is enabled, system oops'es in bootmisc
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Vermeulen (RETIRED)
Whiteboard: integrity
Depends on:
Reported: 2012-12-27 16:24 UTC by Sven Vermeulen (RETIRED)
Modified: 2014-06-01 12:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

Kernel oops (kernel_oops_with_ima_appraisal_tcb.txt,7.22 KB, text/plain)
2012-12-27 16:25 UTC, Sven Vermeulen (RETIRED)

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Vermeulen (RETIRED) gentoo-dev 2012-12-27 16:24:43 UTC
In the /etc/init.d/bootmisc file, the following activity is ran that generates an OOPS in the kernel (3.7-hardened):

dmesg > /var/log/dmesg

Running 'dmesg > /tmp/dmesg' doesn't trigger the oops, nor does moving /tmp/dmesg to /var/log/dmesg. Commenting out the activity (or replacing it with the following excerpt) makes the system behave as needed (no oops).

dmesg > /tmp/dmesg
mv /tmp/dmesg /var/log/dmesg
chcon -t var_log_t /var/log/dmesg

Oops will be attached.

Reproducible: Always
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2012-12-27 16:25:16 UTC
Created attachment 333488 [details]
Kernel oops
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2012-12-27 16:25:49 UTC
@hardened-kernel team: adding you in Cc just in case it reminds you of something
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2014-06-01 12:09:31 UTC
Doesn't come up anymore