Re: [Vserver] 'new' vyum(?) issue
Roderick A. Anderson wrote: I'm currently stuffing in a few of the suggested rpms (Step #5) then I'll give it a new whirl. Stuffed with what I think will do the job this vserver is for. Web server! Others on the horizon. Has anyone created lists of RPMs ( yup I'm one of those ) for vservers of differing purposes? Rod -- ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] 'new' vyum(?) issue
Daniel Hokka Zakrisson wrote: Roderick A. Anderson wrote: Daniel Hokka Zakrisson wrote: Roderick A. Anderson wrote: I am getting the following when trying to use yum to install packages. # vyum test -- install yum Can not find file for 'RPMSTATEDIR'; aborting It shouldn't be. How did you create the guest? Are you using internal package management, without telling the utils? Probably too much cleverness on my part. I used rpm to remove the previous util-vserver install and then re-installed it. All ( so far ) seems to be working correctly. I do get the message from vyum: ---===+++***+++===--- You are using a version of yum which is insecure and broken in chroot related operations; either apply the patches shipped in the 'contrib/' directory of util-vserver, or ask the author of yum to apply them (preferred). In the meantime, 'vyum' will continue with dirty hacks which might not work when the vserver is running and local DOS attacks are possible. Execution will continue in 5 seconds... ---===+++***+++===--- but then goes on and installs. I'm currently stuffing in a few of the suggested rpms (Step #5) then I'll give it a new whirl. Thanks for all the help and suggestions. Rod -- ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] 'new' vyum(?) issue
Roderick A. Anderson wrote: Daniel Hokka Zakrisson wrote: Roderick A. Anderson wrote: I am getting the following when trying to use yum to install packages. # vyum test -- install yum Can not find file for 'RPMSTATEDIR'; aborting Well, everything is working fine here, with kernel-2.6.16-1.2123_FC5.vs2.0.2.0.rc21.1, util-vserver-0.30.210-14.fc5 and yum-2.6.1-0.fc5. Did you try without the patched yum? I think my first reply slipped off the list and went directly to Daniel. Currently I have replaced the patched yum with the latest 'standard' yum for FC5. I am still get the same error message. Looking in /usr/lib/util-vserver I find RPMSTATEDIR in two files; functions and pkgmgmt. Trying to chase them backwards I think the problem may be that I created /vservers as a link to /var/vservers because we decided recently to convert the system into a Linux-Vserver. ( Apache, mod_perl, Catalyst issues. ) Since '/var' is on a different partition than '/' I had to softlink it. Could this be the problem? It shouldn't be. How did you create the guest? Are you using internal package management, without telling the utils? -- Daniel Hokka Zakrisson GPG id: 06723412 GPG fingerprint: A455 4DF3 990A 431F FECA 7947 6136 DDA2 0672 3412 ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] 'new' vyum(?) issue
Guenther Fuchs wrote: Hi there, on Tuesday, May 23, 2006 at 6:42:03 PM there was posted: RAA> I am up to Step #5 of the Fedora Core 5 Linux-Vserver install with a RAA> side trip to the FC4 page to get the patched yum information/link -- RAA> yum-2.4.1-1.chroot.fc4.noarch.rpm file. Don't use FC4 yum with FC5 - FC5 is working fine "out of the box" as described, thank's to Daniel's RPMs. As I'm discovering. I'm back tracing my setup and going at it again! Thanks, Rod -- ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] 'new' vyum(?) issue
Daniel Hokka Zakrisson wrote: Roderick A. Anderson wrote: I am getting the following when trying to use yum to install packages. # vyum test -- install yum Can not find file for 'RPMSTATEDIR'; aborting Well, everything is working fine here, with kernel-2.6.16-1.2123_FC5.vs2.0.2.0.rc21.1, util-vserver-0.30.210-14.fc5 and yum-2.6.1-0.fc5. Did you try without the patched yum? I think my first reply slipped off the list and went directly to Daniel. Currently I have replaced the patched yum with the latest 'standard' yum for FC5. I am still get the same error message. Looking in /usr/lib/util-vserver I find RPMSTATEDIR in two files; functions and pkgmgmt. Trying to chase them backwards I think the problem may be that I created /vservers as a link to /var/vservers because we decided recently to convert the system into a Linux-Vserver. ( Apache, mod_perl, Catalyst issues. ) Since '/var' is on a different partition than '/' I had to softlink it. Could this be the problem? Rod -- ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] 'new' vyum(?) issue
Hi there, on Tuesday, May 23, 2006 at 6:42:03 PM there was posted: RAA> I am up to Step #5 of the Fedora Core 5 Linux-Vserver install with a RAA> side trip to the FC4 page to get the patched yum information/link -- RAA> yum-2.4.1-1.chroot.fc4.noarch.rpm file. Don't use FC4 yum with FC5 - FC5 is working fine "out of the box" as described, thank's to Daniel's RPMs. -- regards 'n greez, Guenther Fuchs (aka "muh" and "powerfox") ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] 'new' vyum(?) issue
Daniel Hokka Zakrisson wrote: Roderick A. Anderson wrote: Well, everything is working fine here, with kernel-2.6.16-1.2123_FC5.vs2.0.2.0.rc21.1, util-vserver-0.30.210-14.fc5 and yum-2.6.1-0.fc5. Did you try without the patched yum? Maybe I was being too clever and installed before trying. Been a few days ago and I've been 'into' another project so I can't remember why I did. I seem to remember there being a _good_ reason ;-) I'm going back to the old version now. It is looking difficult to do. No force/go-back option with yum. BTW, thanks for the excellant RPMs. They have made things much easier ( until my cleverness got the better of me. ) Rod -- ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] 'new' vyum(?) issue
Roderick A. Anderson wrote: I am getting the following when trying to use yum to install packages. # vyum test -- install yum Can not find file for 'RPMSTATEDIR'; aborting I am up to Step #5 of the Fedora Core 5 Linux-Vserver install with a side trip to the FC4 page to get the patched yum information/link -- yum-2.4.1-1.chroot.fc4.noarch.rpm file. This is the results of testme.sh # ./testme.sh Linux-VServer Test [V0.15] Copyright (C) 2003-2006 H.Poetzl chcontext is working. chbind is working. Linux 2.6.16-1.2111_FC5.vs2.0.2.0.rc19.1smp #1 SMP Fri May 5 23:34:27 EDT 2006 i686 Ea 0.30.210 273/glibc (DSa) VCI: 0002:0001 273 03010036 (TbLgnPD) --- [000]# succeeded. [001]# succeeded. [011]# succeeded. [031]# succeeded. [101]# succeeded. [102]# succeeded. [201]# succeeded. [202]# succeeded. The vserver guest 'test' does start and can be entered. I have used yum/rpm installs for all things. Any suggestions as to where to look to get the correct value(s) for RPMSTATEDIR and where to set it? TIA, Rod Well, everything is working fine here, with kernel-2.6.16-1.2123_FC5.vs2.0.2.0.rc21.1, util-vserver-0.30.210-14.fc5 and yum-2.6.1-0.fc5. Did you try without the patched yum? -- Daniel Hokka Zakrisson GPG id: 06723412 GPG fingerprint: A455 4DF3 990A 431F FECA 7947 6136 DDA2 0672 3412 ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] 'new' vyum(?) issue
I am getting the following when trying to use yum to install packages. # vyum test -- install yum Can not find file for 'RPMSTATEDIR'; aborting I am up to Step #5 of the Fedora Core 5 Linux-Vserver install with a side trip to the FC4 page to get the patched yum information/link -- yum-2.4.1-1.chroot.fc4.noarch.rpm file. This is the results of testme.sh # ./testme.sh Linux-VServer Test [V0.15] Copyright (C) 2003-2006 H.Poetzl chcontext is working. chbind is working. Linux 2.6.16-1.2111_FC5.vs2.0.2.0.rc19.1smp #1 SMP Fri May 5 23:34:27 EDT 2006 i686 Ea 0.30.210 273/glibc (DSa) VCI: 0002:0001 273 03010036 (TbLgnPD) --- [000]# succeeded. [001]# succeeded. [011]# succeeded. [031]# succeeded. [101]# succeeded. [102]# succeeded. [201]# succeeded. [202]# succeeded. The vserver guest 'test' does start and can be entered. I have used yum/rpm installs for all things. Any suggestions as to where to look to get the correct value(s) for RPMSTATEDIR and where to set it? TIA, Rod -- ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver