automaticaly adding -grsec to kernel version is evil :(
Posted: Mon Aug 14, 2006 3:16 am
hey guys,
just updated my box from an old 2.6.11 to 2.6.17.8, both with grsec and found a very strange behavior.
I'm using Debian Sarge. Got latest kernel from kernel.org, applied your nice patch and did as usual 'fakeroot make-kpkg --append-to-version -grsec-mykernel kernel-image modules-image' (modules-image is for the out-of-tree loop-aes modules).
That produced me two nice debs, which I'm installed an rebooted. Works fine so far, but now comes the big but:
$ uname -r
2.6.17.8-grsec-mykernel-grsec
-grsec is double
That would not hurt, if I wouldn't use oot modules. Guess where there are installed - yeah: /lib/modules/2.6.17.8-grsec-mykernel. Whether the kernel looks for modules in /lib/modules/`uname -r`, so /lib/modules/2.6.17.8-grsec-mykernel-grsec
The old kernel/grsec did not do that, both - the normal and the oot modules were in /lib/modules/2.6.11.12-grsec-mykernel
How could I handle this best with kernel-package?
Regards
Zhenech
just updated my box from an old 2.6.11 to 2.6.17.8, both with grsec and found a very strange behavior.
I'm using Debian Sarge. Got latest kernel from kernel.org, applied your nice patch and did as usual 'fakeroot make-kpkg --append-to-version -grsec-mykernel kernel-image modules-image' (modules-image is for the out-of-tree loop-aes modules).
That produced me two nice debs, which I'm installed an rebooted. Works fine so far, but now comes the big but:
$ uname -r
2.6.17.8-grsec-mykernel-grsec
-grsec is double
That would not hurt, if I wouldn't use oot modules. Guess where there are installed - yeah: /lib/modules/2.6.17.8-grsec-mykernel. Whether the kernel looks for modules in /lib/modules/`uname -r`, so /lib/modules/2.6.17.8-grsec-mykernel-grsec
The old kernel/grsec did not do that, both - the normal and the oot modules were in /lib/modules/2.6.11.12-grsec-mykernel
How could I handle this best with kernel-package?
Regards
Zhenech