A different approach which is clean and elegant.
If Continuus CM is not serving as a server, you can use www.virtualbox.org,
just to get you going. You can also use XEN but its harder to configure, but
you know what is going on.
You just need to create your RH8 inside a new virtual machine.
This will solve your issues of updating your OS.

On Nov 12, 2007 10:54 AM, Leonid Podolny <[EMAIL PROTECTED]> wrote:

> Hi,
> I have an issue that I fail to solve on my own.
> My workstation is an F7 box, but I have an ancient RH8 installation
> sitting in one of the directories. I need it to run a GUI for Continuus
> CM, that crashes on any modern distro.
> Yesterday I upgraded a box to F8, and the old "su->chroot->su - user"
> sequence stopped working. When I the "su - user" part inside chroot. I
> recieve "could not open session" message.
> I tried to strace a sudo process, and discovered that after it changes
> its permissions, it fails to open *any* file. So I wrote a following
> program:
> #include <unistd.h>
> #include <stdlib.h>
> #include <stdio.h>
>
> int main()
> {
>    setreuid(759, 759); //Uid of the user
>    FILE* f = fopen("1.c", "r"); //Filename of this program
>    fclose(f);
> }
>
> The last line of strace on it are:
>
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
> -1, 0) = 0xf7fce000
> munmap(0xf7fcf000, 111502)              = 0
> setreuid32(0x2f7, 0x2f7)                = 0
> brk(0)                                  = 0x804a000
> brk(0x804b000)                          = 0x804b000
> open("1.c", O_RDONLY)                   = -1 EACCES (Permission denied)
> --- SIGSEGV (Segmentation fault) ---
> +++ killed by SIGSEGV +++
>
>
> I fail to see why is that.
>
> --
>
>
>  Leonid Podolny       |  [EMAIL PROTECTED]
>                       |
>  Software Engineer    |  +972- 3-7668960
>  Linux Platform Team  |  +972-54-5696948
>
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
>

Reply via email to