[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems using the grsecurity kernel source patch package in woody.



It looks like it could be that you configured the kernel, then applied
the patch. My suggestion would be to 
1) rm -rf the current kernel-source dir. 
2) untar "clean" source 
3) while in /usr/src/kernel-source-2.4.18 run
../kernel-patches/all/apply/grsecurity (I think that's the correct path)
4) run "make config" 
5) run make-kpkg 


hope that helps

On Wed, 2002-08-07 at 08:32, Chris wrote:
> Hello all,
> 
> I'm trying to update the kernel on my woody box with the grsecurity
> patch package.  I installed the 2.4.18 source package and the
> grsecurity patch package and untared the kernel source.  After
> configuring it to my taste and setting patch_the_kernel := true in
> /etc/kernel-pkg.conf, make-kpkg buildpackage fails with the errors
> included at the end of this email, near what looks like the end of the
> process.  Neither google nor the mailing list archives yielded any
> useful information.  Has anyone seen this behavior before?
> 
> -- 
> --Chris
> 
>  "Practice allows me to receive information like faxes."
>   Pharoahe Monch
> 
> 
> chmod -R og=rX debian/tmp-source
> chown -R root.root debian/tmp-source
> (cd debian/tmp-source/usr/src/; \
>            tar --bzip2 -cf kernel-source-2.4.18-grsec-1.9.4.tar.bz2 kernel-source-2.4.18-grsec-1.9.4;\
>              rm -rf kernel-source-2.4.18-grsec-1.9.4;)
> dpkg-gencontrol -isp -pkernel-source-2.4.18-grsec-1.9.4 -Pdebian/tmp-source/
> dpkg-gencontrol: error: package kernel-source-2.4.18-grsec-1.9.4 not in control info
> make[2]: *** [real_stamp_source] Error 29
> make[2]: Leaving directory `/usr/src/kernel-source-2.4.18'
> make[2]: Entering directory `/usr/src/kernel-source-2.4.18'
> The changelog says we are creating 2.4.18, but I thought the version is 2.4.18-grsec-1.9.4
> make[2]: *** [real_stamp_doc] Error 1
> make[2]: Leaving directory `/usr/src/kernel-source-2.4.18'
> make[2]: Entering directory `/usr/src/kernel-source-2.4.18'
> The changelog says we are creating 2.4.18, but I thought the version is 2.4.18-grsec-1.9.4
> make[2]: *** [real_stamp_image] Error 1
> make[2]: Leaving directory `/usr/src/kernel-source-2.4.18'
> make[2]: Entering directory `/usr/src/kernel-source-2.4.18'
> The changelog says we are creating 2.4.18, but I thought the version is 2.4.18-grsec-1.9.4
> make[2]: *** [real_stamp_headers] Error 1
> make[2]: Leaving directory `/usr/src/kernel-source-2.4.18'
> make[1]: Leaving directory `/usr/src/kernel-source-2.4.18'
>  dpkg-genchanges -mUnknown Kernel Package Maintainer <unknown@unconfigured.in.etc.kernel-pkg.conf>
> dpkg-genchanges: failure: cannot read files list file: No such file or directory
> make: *** [stamp-buildpackage] Error 2
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-security-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
-- 
Sean McAvoy
Network Analyst
Megawheels Technologies Inc.
Phone: 416.360.8211
Fax:   416.360.1403
Cell:  416.616.6599



Reply to: