On Tue, Nov 18, 2003 at 02:16:16AM -0500, Allen D. Parker II wrote: > Herbert, still having a problem (after this patch) with /dev/initctl :( > kernel 2.4.22-vs1.1.3 util-vserver-0.24
maybe Enrico or/and Jack could have a look at this issue and of course include the gentoo patch if it makes sense ... > Vi, pico, nano, whatever your /tmp/gentoo.patch to use my > script (including auto-backup) > Add this to /tmp/gentoo.patch to make it happen... you won't be happy, as I do not maintain the tools ;) but Enrico and Jack do, so they will do as appropriate thanks for adapting this, the community, especially the gentoo users will appreciate this ... > 471a472,473 > > elif [ -x $VROOTDIR/$1/usr/bin/emerge ] ; then > > STARTCMD="/sbin/rc default" > 584a587,588 > > elif [ -x $VROOTDIR/$1/usr/bin/emerge ] ; then > > STOPCMD="/sbin/rc shutdown" > > > > #!/bin/bash > # output the patch contents > cd /tmp > # that variable thing... > VSLOC=`whereis vserver | cut -d " " -f 2` > # backup the bitch > cp $VSLOC $VSLOC.unpatched > # patch the bitch > patch -p0 $VSLOC < /tmp/gentoo.patch > cd - > #end of script > > Hopefully this fixes the "Gentoo problem" in util-vserver :-p could this > possibly be added to util-vserver for Gentoo compatibility? Or perhaps bring > back the S_START and S_STOP config variables? > > This has been tested working by me personally... just keep in contact with the tool developers, they for sure will need someone to test it ;) > Just an fyi, if you're running Gentoo, it'd be a good idea to add > "/sbin/depscan.sh && sleep 2" to the 3 or 4th line of /sbin/rc to make sure > that your /var/lib/init.d tree gets regenerated automatically at boot. > > Allen "Chip" Parker > [EMAIL PROTECTED] > > Hosting in all shapes and sizes. thanks again, Herbert > _______________________________________________ > Vserver mailing list > [EMAIL PROTECTED] > http://list.linux-vserver.org/mailman/listinfo/vserver _______________________________________________ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
