Hi Luis,
thanks to your quick replay.
It is strange that portmap starts succseefull after the complete
loading of all lrp-modules. So which programs do I have to start
to disable the grsecurity patch? Or is it possible to disable it by
re-compiling the kernel? In which diff-file the grsec-patch is included?
You're right, that in the standard-linuxrc networking is not enabled at the
end, but just have a look at my special linuxrc-file :-)
-- snipp --
if [ $rc -ne 0 ]; then
echo "LINUXRC: Could not mount the boot device. Can't install packages."
exit 1
fi
/etc/init.d/networking start
/etc/init.d/portmap start
expr () { exp $@ ; }
if [ -r $MNT/pkgpath.cfg ]; then
PKGPATH="`sed s/$CR\$// $MNT/pkgpath.cfg`"
else
PKGPATH="`sed 's/.*PKGPATH=.*/PKGPATH/' /proc/cmdline`"
[ "$DEBUG" ] && echo "pkgpath is =$PKGPATH="
if [ "$PKGPATH" = "PKGPATH" ]; then
PKGPATH="`sed 's/.*PKGPATH=/\1/; s/ .*//1' /proc/cmdline`"
else
PKGPATH=""
fi
fi
-- snipp --
* Luis.F.Correia <[EMAIL PROTECTED]> [021202 10:08]:
> Hi!
>
> grsec is the GRSecurity patches that were applied to the kernel.
>
> I think that in the end of /linuxrc the is no networking enabled yet.
>
> But i'm not the expert here :)
>
> -----Original Message-----
> From: Thomas Wille [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 27, 2002 12:40 PM
> To: [EMAIL PROTECTED]
> Subject: [leaf-user] loading packages by nfs? please help
>
>
> Hello LEAF-users,
>
> since last weekend I work with Bering1.0 stable. It's a great thing to run
> a little initrd-system, which loads the lrp-packages.
>
> After a successful installation with packages on a hard disk, I now want to
> load the lrp-modules by nfs. So I copied all the networking related stuff in
> initrd.lrp. I placed the /etc/init.d/networking call in linuxrc direct after
> the creation of the directories, and it works correctly.
> For downloading I first tried the nfs-lrp-package, but it doesn't
> have a suitable mount-command which can be executed by linuxrc. Then I tried
>
> the traditional way with portmap, which I got as binary from the slink-
> distribution, called with /etc/init.d/portmap, taken from woody.
>
> But direct after the execution portmap gets a SIG 7 - bus-error, from grsec,
> and loading of the packages fails.
> >From a complete installed Bering-system it is possible to mount an
> nfs-share with portmap and mount.
>
> I tried this on two different machines, one with 32MB, the other with 512 MB
> Ram.
>
> Maybe someone can tell me, what is grsec, and what might be the reason for
> the
> bus error. Does someone have a working solution? I would be glad for any
> reply.
>
> Thanks and regards
> Thomas Wille
>
>
>
>
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Get the new Palm Tungsten T
> handheld. Power & Color in a compact size!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
> ------------------------------------------------------------------------
> leaf-user mailing list: [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/leaf-user
> SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> ------------------------------------------------------------------------
> leaf-user mailing list: [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/leaf-user
> SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
-------------------------------------------------------
This SF.net email is sponsored by: Microsoft Visual Studio.NET
comprehensive development tool, built to increase your
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html