PLEX86  x86- Virtual Machine (VM) Program
 Plex86  |  CVS  |  Mailing List  |  Download  |  Linux  |  Newsgroups

help I installed rpm4.0.6 and now nothing works! 68


Your Ad Here

Your Ad Here

It sounds reasonably to me, with a few caveats.

First I must emphasize that I might have been wrong thinking that the rpm4 rpm was not for rh6.2. Moe's post indicated that rpm4 for rh6.2 did exist. Given this premise, upgrading rpm4 past the reportedly broken versions sounds perfectly sound to me.

My two major caveats, are that 1) if at all possible talk to the regular admins of the computer, and 2) do some investigation of what actually went wrong. With a small amount of luck, you may find out; not doing so is like walking with the eyes closed. You may think you are on the right path, but why not open the eyes.

The first problem is to get in. If the computer cannot successfully load libc, it's hard to do anything except exploiting already-running programs that do not rely on the "system()" call. Most likely you will have to take out the main disk and mount it on another computer. The other computer needs not run a similar version of Linux, at all.

It is most unfortunate that "chroot" is not a shell built-in, that prevents you from starting a shell on the hosting computer, and and then chroot to the mounted disk within the same shell. As it is, chroot needs to start a shell (or some program) inside the chroot environment.

DNS caching 70
Enrique Perez-Terron It works for me now that I have fixed theetc-named.conf file insrv-named-etc. Note that I run named in a chroot area. So mysrv-named-etc-named.conf now looks...

To work around this, do something like this, on the host, and as root:

This gives you a crude yet powerfull shell, but with no readline support. You can still edit the command line the old way, backspace-deleting back the to error and retyping. You can also write a perl script that defines a few handy functions, then executes the loop above.

DVDRW reformatting problem
I have a DVD-RW that contains some data. I can mount this DVD, and access that data from the shell command line without any problems. When I use the dvd+rw...

But the most interesting is perhaps, with no chroot,

catmnt-the-disk-etc-ld.so.conf

and

ldconfig -p -Cmnt-the-disk-etc-ld.so.cache

and

strace -ftmp-enigma.strace perl -e 'chroot "-mnt-the-disk"; exec "-bin-bash", "-i"'

LinuxUNIX More Vulnerable Than Windows says CERT !! 71
In comp.os.linux.advocacy, boson wrote on 1 Jan 2006 11:43:51 -0800 What a coinkydink. I got 5,556 hits per week on port 445...

Then you can analyze the system calls made by the process after the chroot. With suitable arguments to strace, you can have it log more of the contents of the buffers in calls to read() and write().

In the crude perl shell, instead of "ls", you have to do:

print join(" ", glob "*"), "-n"

or

# perl -e 'print join(" ", stat "-tmp-B"), "-n"' 839 1310992 16893 3 501 501 0 4096 1136366376 1136056815 1136343854 4096 16

where the numbers output are

0 1 2 3 4 5 6 7 8 9 10 11 12 dev ino mode nlink uid gid rdev size atime mtime ctime blksize blocks

and to get the mtime in human-readable form,

print scalar localtime((stat"-lib-libc-2.3.5.so")9), "-n"

(Notice how the parens are placed outside "stat".) In stead of cd

chdir "blah"

and early on

chroot "-mnt-the-disk"

To run static programs, do e.g.

system "-sbin-ldd", "-bin-bash"

perl will run a shell to execute the command, and that does not work.

Notice that ldconfig is not static.

To do installs, you may need the "--root" option to rpm, and run rpm on the host:

rpm --rootmnt-the-disk --force -Uvhoutside-thedisk-blah-1.0-1.0.i386.rpm

DNS caching 69
Enrique Perez-Terron 1.) Where did you find that? I could not find it in "DNS and BIND" 4th Edition" by Albitz & Liu. Is there...

-Enrique



Your Ad Here

List | Previous | Next

DNS caching 69

Linux groups from Newsgroups

The #1 Usenet Provider on the Internet

help I installed rpm4.0.6 and now nothing works! 67