I installed linux 2.6.36 with tomoyo enabled. The Kernel panics as it cannot use the 2.2.0 tomoyo-tools to load a policy. tomoyo-tools-2.3.0 is a hard requirement in order to being able to boot a 2.6.36 tomoyo-enabled kernel.
Updating summary... - sys-apps/tomoyo-tools: linux 2.6.36 with TOMOYO 2.3 will panic on boot with <= 2.3.0 + sys-apps/tomoyo-tools-2.3.0-p20100820 bump request
Created attachment 259619 [details, diff] tomoyo-tools-2.3.0_p20100820 update patch Compiling tomoyo-tools-2.3.0 with parallel building fails. This ebuild is based on old one with a number of updates and parallel building disabled for one of the makefiles. I would like to make this very clear: You can not use Linux 2.6.36 or newer with tomoyo enabled without tomoyo-tools-2.3.0.
Created attachment 260063 [details, diff] Fix compile flags of 2.3.0_p20100820
Created attachment 260065 [details, diff] tomoyo-tools-2.3.0_p20100820 update patch PS: The patch posted before fixes LDFLAGS too, an outstanding issue.
I am running a 2.6.37 kernel with Tomoyo enabled right now. It boots _without_ tomoyo-tools-2.3.0 installed. What do I need to do to reproduce that kernel panic boot issue?
(In reply to comment #5) > What do I need to do to reproduce that kernel panic boot issue? This seems to be the answer: 1) $ zgrep TOMOYO /proc/config.gz CONFIG_SECURITY_TOMOYO=y CONFIG_DEFAULT_SECURITY_TOMOYO=y 2) Have tomoyo-tools-2.2.0_p20090727 installed I have bumped tomoyo tools now - booting again here. This ebuild and patches applied finally will appear online here: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/tomoyo-tools/ +*tomoyo-tools-2.3.0_p20100820 (17 Jan 2011) + + 17 Jan 2011; Sebastian Pipping <sping@gentoo.org> + +tomoyo-tools-2.3.0_p20100820.ebuild, + +files/tomoyo-tools-2.3.0_p20100820-flags-parallel.patch, + +files/tomoyo-tools-2.3.0_p20100820-gentoo.patch: + Bump to 2.3.0_p20100820 (bug #342169) + - Move to EAPI 2 + - Start respecting LDFLAGS + - Port patch from 2.2.0_p20090727 + - Fix parallel make issue + While I do have applied care while bumping, please bare with me if I broke anything. In that case please re-open this bug.