[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    busybox rpm is not working
From:       "praveenya kumar" <praveenya.g () gmail ! com>
Date:       2008-05-28 10:13:58
Message-ID: c442fe290805280313u41258a8et5f517238ccaf0e4 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hai!

I made one binary rpm using rpmbuild. In my spec file of rpm I included a
pre install command mkdir to create a directory and some files to be
installed.
When I install using busybox rpm the files are installed successfully but it
could not create the directory (pre-install command did not run). But when I
use proper rpm binary, directory also been created along with successfull
installation of files.
So What should I do to have proper support for rpm installation using
busybox rpm.
I am sending my rpmbuild spec file and strace of rpm -i my-binary-rpm are as
follows.

spec file:

Summary: Trial Package
Name: trial
Version: 0.1
Release: 1
License: GPL
Group: Application/icons
Packager: GPK
BuildArch: i386
BuildRoot: %_topdir/BUILD/trial

%description

%files
%defattr(-,root,0)
/etc/share/pixmaps

%pre
mkdir /etc/abc

%post
mkdir /etc/xyz


log file:

execve("/home/autobuild/stc_repository/busybox_1.7.1/bin/busybox",
["/home/autobuild/stc_repository/b"..., "rpm"..., "-i"...,
"/home/sumanth/rpm/RPMS/i386/tria"...], [/* 31 vars */]) = 0
brk(0)                                  = 0x86d9000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=110930, ...}) = 0
mmap2(NULL, 110930, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7eeb000
close(3)                                = 0
open("/lib/libcrypt.so.1", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0
\327\327\0034\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=45316, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7eea000
mmap2(0x3d7d000, 201020, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3d7d000
mmap2(0x3d86000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8) = 0x3d86000
mmap2(0x3d88000, 155964, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3d88000
close(3)                                = 0
open("/lib/libm.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\364\205\0004\0\0\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=210324, ...}) = 0
mmap2(0x85c000, 163952, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x85c000
mmap2(0x883000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x26) = 0x883000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360tq\0004\0\0\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1692524, ...}) = 0
mmap2(0x701000, 1410608, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x701000
mmap2(0x854000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x153) = 0x854000
mmap2(0x857000, 9776, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x857000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7ee9000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7ee96c0,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,
limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0x854000, 8192, PROT_READ)     = 0
mprotect(0x883000, 4096, PROT_READ)     = 0
mprotect(0x3d86000, 4096, PROT_READ)    = 0
mprotect(0x6fd000, 4096, PROT_READ)     = 0
munmap(0xb7eeb000, 110930)              = 0
getuid32()                              = 0
getpid()                                = 11481
brk(0)                                  = 0x86d9000
brk(0x86fa000)                          = 0x86fa000
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=77962480, ...}) = 0
mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ce9000
close(3)                                = 0
open("/home/sumanth/rpm/RPMS/i386/trial-0.1-1.i386.rpm",
O_RDONLY|O_LARGEFILE) = 3
_llseek(3, 96, [96], SEEK_CUR)          = 0
read(3, "\216\255\350\1\0\0\0\0\0\0\0\5\0\0\0T", 16) = 16
_llseek(3, 0, [112], SEEK_CUR)          = 0
read(3, "\0\0\0>\0\0\0\7\0\0\0D\0\0\0\20", 16) = 16
read(3, "\0\0\1\r\0\0\0\6\0\0\0\0\0\0\0\1", 16) = 16
read(3, "\0\0\3\350\0\0\0\4\0\0\0,\0\0\0\1", 16) = 16
read(3, "\0\0\3\354\0\0\0\7\0\0\0000\0\0\0\20", 16) = 16
read(3, "\0\0\3\357\0\0\0\4\0\0\0@\0\0\0\1", 16) = 16
_llseek(3, 84, [276], SEEK_CUR)         = 0
_llseek(3, 0, [276], SEEK_CUR)          = 0
_llseek(3, 4, [280], SEEK_CUR)          = 0
read(3, "\216\255\350\1\0\0\0\0\0\0\0007\0\0\3\315", 16) = 16
_llseek(3, 0, [296], SEEK_CUR)          = 0
read(3, "\0\0\0?\0\0\0\7\0\0\3\275\0\0\0\20", 16) = 16
read(3, "\0\0\0d\0\0\0\10\0\0\0\0\0\0\0\1", 16) = 16
read(3, "\0\0\3\350\0\0\0\6\0\0\0\2\0\0\0\1", 16) = 16
read(3, "\0\0\3\351\0\0\0\6\0\0\0\10\0\0\0\1", 16) = 16
read(3, "\0\0\3\352\0\0\0\6\0\0\0\f\0\0\0\1", 16) = 16
read(3, "\0\0\3\354\0\0\0\t\0\0\0\16\0\0\0\1", 16) = 16
read(3, "\0\0\3\355\0\0\0\t\0\0\0\34\0\0\0\1", 16) = 16
read(3, "\0\0\3\356\0\0\0\4\0\0\0 \0\0\0\1", 16) = 16
read(3, "\0\0\3\357\0\0\0\6\0\0\0$\0\0\0\1", 16) = 16
read(3, "\0\0\3\361\0\0\0\4\0\0\0,\0\0\0\1", 16) = 16
read(3, "\0\0\3\366\0\0\0\6\0\0\0000\0\0\0\1", 16) = 16
read(3, "\0\0\3\367\0\0\0\6\0\0\0004\0\0\0\1", 16) = 16
read(3, "\0\0\3\370\0\0\0\t\0\0\0008\0\0\0\1", 16) = 16
read(3, "\0\0\3\375\0\0\0\6\0\0\0J\0\0\0\1", 16) = 16
read(3, "\0\0\3\376\0\0\0\6\0\0\0P\0\0\0\1", 16) = 16
read(3, "\0\0\3\377\0\0\0\6\0\0\0U\0\0\0\1", 16) = 16
read(3, "\0\0\4\0\0\0\0\6\0\0\0d\0\0\0\1", 16) = 16
read(3, "\0\0\4\4\0\0\0\4\0\0\0t\0\0\0\3", 16) = 16
read(3, "\0\0\4\6\0\0\0\3\0\0\0\200\0\0\0\3", 16) = 16
read(3, "\0\0\4\t\0\0\0\3\0\0\0\206\0\0\0\3", 16) = 16
read(3, "\0\0\4\n\0\0\0\4\0\0\0\214\0\0\0\3", 16) = 16
read(3, "\0\0\4\v\0\0\0\10\0\0\0\230\0\0\0\3", 16) = 16
read(3, "\0\0\4\f\0\0\0\10\0\0\0\333\0\0\0\3", 16) = 16
read(3, "\0\0\4\r\0\0\0\4\0\0\0\340\0\0\0\3", 16) = 16
read(3, "\0\0\4\17\0\0\0\10\0\0\0\354\0\0\0\3", 16) = 16
read(3, "\0\0\4\20\0\0\0\10\0\0\0\373\0\0\0\3", 16) = 16
read(3, "\0\0\4\24\0\0\0\6\0\0\1\1\0\0\0\1", 16) = 16
read(3, "\0\0\4\25\0\0\0\4\0\0\1\30\0\0\0\3", 16) = 16
read(3, "\0\0\4\27\0\0\0\10\0\0\1$\0\0\0\1", 16) = 16
read(3, "\0\0\4\30\0\0\0\4\0\0\1,\0\0\0\4", 16) = 16
read(3, "\0\0\4\31\0\0\0\10\0\0\1<\0\0\0\4", 16) = 16
read(3, "\0\0\4\32\0\0\0\10\0\0\1\207\0\0\0\4", 16) = 16
read(3, "\0\0\4(\0\0\0\6\0\0\1\227\0\0\0\1", 16) = 16
read(3, "\0\0\4=\0\0\0\6\0\0\1\237\0\0\0\1", 16) = 16
read(3, "\0\0\4>\0\0\0\6\0\0\1\247\0\0\0\1", 16) = 16
read(3, "\0\0\4G\0\0\0\4\0\0\1\260\0\0\0\3", 16) = 16
read(3, "\0\0\4H\0\0\0\4\0\0\1\274\0\0\0\3", 16) = 16
read(3, "\0\0\4I\0\0\0\10\0\0\1\310\0\0\0\3", 16) = 16
read(3, "\0\0\4X\0\0\0\4\0\0\1\314\0\0\0\1", 16) = 16
read(3, "\0\0\4Y\0\0\0\10\0\0\1\320\0\0\0\1", 16) = 16
read(3, "\0\0\4\\\0\0\0\4\0\0\1\330\0\0\0\3", 16) = 16
read(3, "\0\0\4]\0\0\0\10\0\0\1\344\0\0\0\3", 16) = 16
read(3, "\0\0\4^\0\0\0\10\0\0\2\n\0\0\0\2", 16) = 16
read(3, "\0\0\4b\0\0\0\6\0\0\2*\0\0\0\1", 16) = 16
read(3, "\0\0\4d\0\0\0\6\0\0\2\313\0\0\0\1", 16) = 16
read(3, "\0\0\4e\0\0\0\6\0\0\2\320\0\0\0\1", 16) = 16
read(3, "\0\0\4f\0\0\0\6\0\0\2\325\0\0\0\1", 16) = 16
read(3, "\0\0\4k\0\0\0\6\0\0\2\327\0\0\0\1", 16) = 16
read(3, "\0\0\4l\0\0\0\6\0\0\2\334\0\0\0\1", 16) = 16
read(3, "\0\0\4t\0\0\0\4\0\0\2\364\0\0\0\3", 16) = 16
read(3, "\0\0\4u\0\0\0\4\0\0\3\0\0\0\0\3", 16) = 16
read(3, "\0\0\4v\0\0\0\10\0\0\3\f\0\0\0\3", 16) = 16
read(3, "\0\0\4w\0\0\0\4\0\0\3T\0\0\0\3", 16) = 16
read(3, "\0\0\4x\0\0\0\4\0\0\3`\0\0\0\3", 16) = 16
read(3, "\0\0\4{\0\0\0\10\0\0\3l\0\0\0\3", 16) = 16
_llseek(3, 973, [2149], SEEK_CUR)       = 0
_llseek(3, 0, [2149], SEEK_CUR)         = 0
mmap2(NULL, 4096, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f06000
read(3, "\37\213", 2)                   = 2
read(3, "\10\0\0\0\0\0\0\3", 8)         = 8
chdir("/")                              = 0
pipe([4, 5])                            = 0
clone(child_stack=0,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7ee9708) = 11482
close(5)                                = 0
read(4, "07070100b00915000041ed0000000000"..., 110) = 110
read(4, "./etc/share/pixmaps\0", 20)    = 20
--- SIGCHLD (Child exited) @ 0 (0) ---
read(4, "\0\0", 2)                      = 2
umask(0)                                = 022
umask(022)                              = 0
mkdir("./", 0777)                       = -1 EEXIST (File exists)
stat64("./", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
mkdir("./etc/", 0777)                   = -1 EEXIST (File exists)
stat64("./etc/", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
mkdir("./etc/share", 0777)              = -1 EEXIST (File exists)
stat64("./etc/share", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
umask(022)                              = 022
mkdir("./etc/share/pixmaps", 040755)    = 0
lchown32("./etc/share/pixmaps", 0, 0)   = 0
chmod("./etc/share/pixmaps", 040755)    = 0
utime("./etc/share/pixmaps", [2008/05/26-14:04:05, 2008/05/26-14:04:05]) = 0
read(4, "07070100b00911000081a40000000000"..., 110) = 110
read(4, "./etc/share/pixmaps/apple-green."..., 36) = 36
read(4, "\0\0", 2)                      = 2
umask(0)                                = 022
umask(022)                              = 0
mkdir("./", 0777)                       = -1 EEXIST (File exists)
stat64("./", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
mkdir("./etc/", 0777)                   = -1 EEXIST (File exists)
stat64("./etc/", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
mkdir("./etc/share/", 0777)             = -1 EEXIST (File exists)
stat64("./etc/share/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
mkdir("./etc/share/pixmaps", 0777)      = -1 EEXIST (File exists)
stat64("./etc/share/pixmaps", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
umask(022)                              = 022
open("./etc/share/pixmaps/apple-green.png",
O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0100644) = 5
read(4, "\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0000\0\0\0000\10\6\0\0\0W\2\371"...,
3056) = 3056
write(5, "\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0000\0\0\0000\10\6\0\0\0W\2\371"...,
3056) = 3056
close(5)                                = 0
lchown32("./etc/share/pixmaps/apple-green.png", 0, 0) = 0
chmod("./etc/share/pixmaps/apple-green.png", 0100644) = 0
utime("./etc/share/pixmaps/apple-green.png", [2008/05/26-13:22:48,
2008/05/26-13:22:48]) = 0
read(4, "07070100b00910000081a40000000000"..., 110) = 110
read(4, "./etc/share/pixmaps/apple-red.pn"..., 34) = 34
umask(0)                                = 022
umask(022)                              = 0
mkdir("./", 0777)                       = -1 EEXIST (File exists)
stat64("./", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
mkdir("./etc/", 0777)                   = -1 EEXIST (File exists)
stat64("./etc/", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
mkdir("./etc/share/", 0777)             = -1 EEXIST (File exists)
stat64("./etc/share/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
mkdir("./etc/share/pixmaps", 0777)      = -1 EEXIST (File exists)
stat64("./etc/share/pixmaps", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
umask(022)                              = 022
open("./etc/share/pixmaps/apple-red.png",
O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0100644) = 5
read(4, "\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0000\0\0\0000\10\6\0\0\0W\2\371"...,
3100) = 3100
write(5, "\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0000\0\0\0000\10\6\0\0\0W\2\371"...,
3100) = 3100
close(5)                                = 0
lchown32("./etc/share/pixmaps/apple-red.png", 0, 0) = 0
chmod("./etc/share/pixmaps/apple-red.png", 0100644) = 0
utime("./etc/share/pixmaps/apple-red.png", [2008/05/26-13:22:47,
2008/05/26-13:22:47]) = 0
read(4, "07070100000000000000000000000000"..., 110) = 110
read(4, "TRAILER!!!\0", 11)             = 11
read(4, "\0\0\0", 3)                    = 3
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7f05000
write(1, "14 blocks\n", 10)             = 10
open("/etc/passwd", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=2327, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7f04000
read(5, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 2327
close(5)                                = 0
munmap(0xb7f04000, 4096)                = 0
open("/etc/group", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=994, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7f04000
read(5, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 994
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0xb7f04000, 4096)                = 0
write(2, "rpm: unknown group name: 0\n", 27) = 27
exit_group(1)                           = ?



thanks and waiting for reply.

[Attachment #5 (text/html)]

Hai!<br>

<br>

I made one binary rpm using rpmbuild. In my spec file of rpm I included
a pre install command mkdir to create a directory and some files to be
installed.<br>

When I install using busybox rpm the files are installed successfully
but it could not create the directory (pre-install command did not
run). But when I use proper rpm binary, directory also been created
along with successfull installation of files.<br>

So What should I do to have proper support for rpm installation using busybox \
rpm.<br>

I am sending my rpmbuild spec file and strace of rpm -i my-binary-rpm are as \
follows.<br> <br>
<span style="text-decoration: underline;">spec file:</span><br>
<br>
<pre>Summary: Trial Package<br>Name: trial<br>Version: 0.1<br>Release: 1<br>License: \
GPL<br>Group: Application/icons<br>Packager: GPK<br>BuildArch: i386<br>BuildRoot: \
%_topdir/BUILD/trial<br><br>%description<br><br>%files<br> \
%defattr(-,root,0)<br>/etc/share/pixmaps<br><br>%pre<br>mkdir \
/etc/abc<br><br>%post<br>mkdir /etc/xyz<br><br><br><span style="text-decoration: \
underline;">log file:<br><br></span>execve(&quot;/home/autobuild/stc_repository/busybox_1.7.1/bin/busybox&quot;, \
[&quot;/home/autobuild/stc_repository/b&quot;..., &quot;rpm&quot;..., \
&quot;-i&quot;..., &quot;/home/sumanth/rpm/RPMS/i386/tria&quot;...], [/* 31 vars */]) \
= 0<br> brk(0)                                  = \
0x86d9000<br>access(&quot;/etc/ld.so.preload&quot;, R_OK)      = -1 ENOENT (No such \
file or directory)<br>open(&quot;/etc/ld.so.cache&quot;, O_RDONLY)      = \
3<br>fstat64(3, {st_mode=S_IFREG|0644, st_size=110930, ...}) = 0<br> mmap2(NULL, \
110930, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7eeb000<br>close(3)                        \
= 0<br>open(&quot;/lib/libcrypt.so.1&quot;, O_RDONLY)    = 3<br>read(3, \
&quot;\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \327\327\0034\0\0\0&quot;..., \
512) = 512<br> fstat64(3, {st_mode=S_IFREG|0755, st_size=45316, ...}) = \
0<br>mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = \
0xb7eea000<br>mmap2(0x3d7d000, 201020, PROT_READ|PROT_EXEC, \
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3d7d000<br> mmap2(0x3d86000, 8192, \
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8) = \
0x3d86000<br>mmap2(0x3d88000, 155964, PROT_READ|PROT_WRITE, \
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3d88000<br>close(3)                   \
= 0<br> open(&quot;/lib/libm.so.6&quot;, O_RDONLY)        = 3<br>read(3, \
&quot;\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\364\205\0004\0\0\0&quot;..., \
512) = 512<br>fstat64(3, {st_mode=S_IFREG|0755, st_size=210324, ...}) = 0<br> \
mmap2(0x85c000, 163952, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = \
0x85c000<br>mmap2(0x883000, 8192, PROT_READ|PROT_WRITE, \
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x26) = 0x883000<br>close(3)                  \
= 0<br> open(&quot;/lib/libc.so.6&quot;, O_RDONLY)        = 3<br>read(3, \
&quot;\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360tq\0004\0\0\0&quot;..., 512) \
= 512<br>fstat64(3, {st_mode=S_IFREG|0755, st_size=1692524, ...}) = 0<br> \
mmap2(0x701000, 1410608, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = \
0x701000<br>mmap2(0x854000, 12288, PROT_READ|PROT_WRITE, \
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x153) = 0x854000<br>mmap2(0x857000, 9776, \
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x857000<br> \
close(3)                                = 0<br>mmap2(NULL, 4096, \
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = \
0xb7ee9000<br>set_thread_area({entry_number:-1 -&gt; 6, base_addr:0xb7ee96c0, \
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, \
seg_not_present:0, useable:1}) = 0<br> mprotect(0x854000, 8192, PROT_READ)     = \
0<br>mprotect(0x883000, 4096, PROT_READ)     = 0<br>mprotect(0x3d86000, 4096, \
PROT_READ)    = 0<br>mprotect(0x6fd000, 4096, PROT_READ)     = \
0<br>munmap(0xb7eeb000, 110930)              = 0<br> getuid32()                       \
= 0<br>getpid()                                = 11481<br>brk(0)                      \
= 0x86d9000<br>brk(0x86fa000)                          = \
0x86fa000<br>open(&quot;/usr/lib/locale/locale-archive&quot;, O_RDONLY|O_LARGEFILE) = \
3<br> fstat64(3, {st_mode=S_IFREG|0644, st_size=77962480, ...}) = 0<br>mmap2(NULL, \
2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ce9000<br>close(3)                       \
= 0<br>open(&quot;/home/sumanth/rpm/RPMS/i386/trial-0.1-1.i386.rpm&quot;, \
O_RDONLY|O_LARGEFILE) = 3<br> _llseek(3, 96, [96], SEEK_CUR)          = 0<br>read(3, \
&quot;\216\255\350\1\0\0\0\0\0\0\0\5\0\0\0T&quot;, 16) = 16<br>_llseek(3, 0, [112], \
SEEK_CUR)          = 0<br>read(3, &quot;\0\0\0&gt;\0\0\0\7\0\0\0D\0\0\0\20&quot;, 16) \
= 16<br> read(3, &quot;\0\0\1\r\0\0\0\6\0\0\0\0\0\0\0\1&quot;, 16) = 16<br>read(3, \
&quot;\0\0\3\350\0\0\0\4\0\0\0,\0\0\0\1&quot;, 16) = 16<br>read(3, \
&quot;\0\0\3\354\0\0\0\7\0\0\0000\0\0\0\20&quot;, 16) = 16<br>read(3, \
&quot;\0\0\3\357\0\0\0\4\0\0\0@\0\0\0\1&quot;, 16) = 16<br> _llseek(3, 84, [276], \
SEEK_CUR)         = 0<br>_llseek(3, 0, [276], SEEK_CUR)          = 0<br>_llseek(3, 4, \
[280], SEEK_CUR)          = 0<br>read(3, \
&quot;\216\255\350\1\0\0\0\0\0\0\0007\0\0\3\315&quot;, 16) = 16<br>_llseek(3, 0, \
[296], SEEK_CUR)          = 0<br> read(3, \
&quot;\0\0\0?\0\0\0\7\0\0\3\275\0\0\0\20&quot;, 16) = 16<br>read(3, \
&quot;\0\0\0d\0\0\0\10\0\0\0\0\0\0\0\1&quot;, 16) = 16<br>read(3, \
&quot;\0\0\3\350\0\0\0\6\0\0\0\2\0\0\0\1&quot;, 16) = 16<br>read(3, \
&quot;\0\0\3\351\0\0\0\6\0\0\0\10\0\0\0\1&quot;, 16) = 16<br> read(3, \
&quot;\0\0\3\352\0\0\0\6\0\0\0\f\0\0\0\1&quot;, 16) = 16<br>read(3, \
&quot;\0\0\3\354\0\0\0\t\0\0\0\16\0\0\0\1&quot;, 16) = 16<br>read(3, \
&quot;\0\0\3\355\0\0\0\t\0\0\0\34\0\0\0\1&quot;, 16) = 16<br>read(3, \
&quot;\0\0\3\356\0\0\0\4\0\0\0 \0\0\0\1&quot;, 16) = 16<br> read(3, \
&quot;\0\0\3\357\0\0\0\6\0\0\0$\0\0\0\1&quot;, 16) = 16<br>read(3, \
&quot;\0\0\3\361\0\0\0\4\0\0\0,\0\0\0\1&quot;, 16) = 16<br>read(3, \
&quot;\0\0\3\366\0\0\0\6\0\0\0000\0\0\0\1&quot;, 16) = 16<br>read(3, \
&quot;\0\0\3\367\0\0\0\6\0\0\0004\0\0\0\1&quot;, 16) = 16<br> read(3, \
&quot;\0\0\3\370\0\0\0\t\0\0\0008\0\0\0\1&quot;, 16) = 16<br>read(3, \
&quot;\0\0\3\375\0\0\0\6\0\0\0J\0\0\0\1&quot;, 16) = 16<br>read(3, \
&quot;\0\0\3\376\0\0\0\6\0\0\0P\0\0\0\1&quot;, 16) = 16<br>read(3, \
&quot;\0\0\3\377\0\0\0\6\0\0\0U\0\0\0\1&quot;, 16) = 16<br> read(3, \
&quot;\0\0\4\0\0\0\0\6\0\0\0d\0\0\0\1&quot;, 16) = 16<br>read(3, \
&quot;\0\0\4\4\0\0\0\4\0\0\0t\0\0\0\3&quot;, 16) = 16<br>read(3, \
&quot;\0\0\4\6\0\0\0\3\0\0\0\200\0\0\0\3&quot;, 16) = 16<br>read(3, \
&quot;\0\0\4\t\0\0\0\3\0\0\0\206\0\0\0\3&quot;, 16) = 16<br> read(3, \
&quot;\0\0\4\n\0\0\0\4\0\0\0\214\0\0\0\3&quot;, 16) = 16<br>read(3, \
&quot;\0\0\4\v\0\0\0\10\0\0\0\230\0\0\0\3&quot;, 16) = 16<br>read(3, \
&quot;\0\0\4\f\0\0\0\10\0\0\0\333\0\0\0\3&quot;, 16) = 16<br>read(3, \
&quot;\0\0\4\r\0\0\0\4\0\0\0\340\0\0\0\3&quot;, 16) = 16<br> read(3, \
&quot;\0\0\4\17\0\0\0\10\0\0\0\354\0\0\0\3&quot;, 16) = 16<br>read(3, \
&quot;\0\0\4\20\0\0\0\10\0\0\0\373\0\0\0\3&quot;, 16) = 16<br>read(3, \
&quot;\0\0\4\24\0\0\0\6\0\0\1\1\0\0\0\1&quot;, 16) = 16<br>read(3, \
&quot;\0\0\4\25\0\0\0\4\0\0\1\30\0\0\0\3&quot;, 16) = 16<br> read(3, \
&quot;\0\0\4\27\0\0\0\10\0\0\1$\0\0\0\1&quot;, 16) = 16<br>read(3, \
&quot;\0\0\4\30\0\0\0\4\0\0\1,\0\0\0\4&quot;, 16) = 16<br>read(3, \
&quot;\0\0\4\31\0\0\0\10\0\0\1&lt;\0\0\0\4&quot;, 16) = 16<br>read(3, \
&quot;\0\0\4\32\0\0\0\10\0\0\1\207\0\0\0\4&quot;, 16) = 16<br> read(3, \
&quot;\0\0\4(\0\0\0\6\0\0\1\227\0\0\0\1&quot;, 16) = 16<br>read(3, \
&quot;\0\0\4=\0\0\0\6\0\0\1\237\0\0\0\1&quot;, 16) = 16<br>read(3, \
&quot;\0\0\4&gt;\0\0\0\6\0\0\1\247\0\0\0\1&quot;, 16) = 16<br>read(3, \
&quot;\0\0\4G\0\0\0\4\0\0\1\260\0\0\0\3&quot;, 16) = 16<br> read(3, \
&quot;\0\0\4H\0\0\0\4\0\0\1\274\0\0\0\3&quot;, 16) = 16<br>read(3, \
&quot;\0\0\4I\0\0\0\10\0\0\1\310\0\0\0\3&quot;, 16) = 16<br>read(3, \
&quot;\0\0\4X\0\0\0\4\0\0\1\314\0\0\0\1&quot;, 16) = 16<br>read(3, \
&quot;\0\0\4Y\0\0\0\10\0\0\1\320\0\0\0\1&quot;, 16) = 16<br> read(3, \
&quot;\0\0\4\\\0\0\0\4\0\0\1\330\0\0\0\3&quot;, 16) = 16<br>read(3, \
&quot;\0\0\4]\0\0\0\10\0\0\1\344\0\0\0\3&quot;, 16) = 16<br>read(3, \
&quot;\0\0\4^\0\0\0\10\0\0\2\n\0\0\0\2&quot;, 16) = 16<br>read(3, \
&quot;\0\0\4b\0\0\0\6\0\0\2*\0\0\0\1&quot;, 16) = 16<br> read(3, \
&quot;\0\0\4d\0\0\0\6\0\0\2\313\0\0\0\1&quot;, 16) = 16<br>read(3, \
&quot;\0\0\4e\0\0\0\6\0\0\2\320\0\0\0\1&quot;, 16) = 16<br>read(3, \
&quot;\0\0\4f\0\0\0\6\0\0\2\325\0\0\0\1&quot;, 16) = 16<br>read(3, \
&quot;\0\0\4k\0\0\0\6\0\0\2\327\0\0\0\1&quot;, 16) = 16<br> read(3, \
&quot;\0\0\4l\0\0\0\6\0\0\2\334\0\0\0\1&quot;, 16) = 16<br>read(3, \
&quot;\0\0\4t\0\0\0\4\0\0\2\364\0\0\0\3&quot;, 16) = 16<br>read(3, \
&quot;\0\0\4u\0\0\0\4\0\0\3\0\0\0\0\3&quot;, 16) = 16<br>read(3, \
&quot;\0\0\4v\0\0\0\10\0\0\3\f\0\0\0\3&quot;, 16) = 16<br> read(3, \
&quot;\0\0\4w\0\0\0\4\0\0\3T\0\0\0\3&quot;, 16) = 16<br>read(3, \
&quot;\0\0\4x\0\0\0\4\0\0\3`\0\0\0\3&quot;, 16) = 16<br>read(3, \
&quot;\0\0\4{\0\0\0\10\0\0\3l\0\0\0\3&quot;, 16) = 16<br>_llseek(3, 973, [2149], \
SEEK_CUR)       = 0<br> _llseek(3, 0, [2149], SEEK_CUR)         = 0<br>mmap2(NULL, \
4096, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f06000<br>read(3, &quot;\37\213&quot;, 2)   \
= 2<br>read(3, &quot;\10\0\0\0\0\0\0\3&quot;, 8)         = 8<br> chdir(&quot;/&quot;) \
= 0<br>pipe([4, 5])                            = 0<br>clone(child_stack=0, \
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7ee9708) = \
11482<br>close(5)                                = 0<br> read(4, \
&quot;07070100b00915000041ed0000000000&quot;..., 110) = 110<br>read(4, \
&quot;./etc/share/pixmaps\0&quot;, 20)    = 20<br>--- SIGCHLD (Child exited) @ 0 (0) \
---<br>read(4, &quot;\0\0&quot;, 2)                      = 2<br> umask(0)             \
= 022<br>umask(022)                              = 0<br>mkdir(&quot;./&quot;, 0777)   \
= -1 EEXIST (File exists)<br>stat64(&quot;./&quot;, {st_mode=S_IFDIR|0755, \
st_size=4096, ...}) = 0<br> mkdir(&quot;./etc/&quot;, 0777)                   = -1 \
EEXIST (File exists)<br>stat64(&quot;./etc/&quot;, {st_mode=S_IFDIR|0755, \
st_size=12288, ...}) = 0<br>mkdir(&quot;./etc/share&quot;, 0777)              = -1 \
EEXIST (File exists)<br> stat64(&quot;./etc/share&quot;, {st_mode=S_IFDIR|0755, \
st_size=4096, ...}) = 0<br>umask(022)                              = \
022<br>mkdir(&quot;./etc/share/pixmaps&quot;, 040755)    = \
0<br>lchown32(&quot;./etc/share/pixmaps&quot;, 0, 0)   = 0<br> \
chmod(&quot;./etc/share/pixmaps&quot;, 040755)    = \
0<br>utime(&quot;./etc/share/pixmaps&quot;, [2008/05/26-14:04:05, \
2008/05/26-14:04:05]) = 0<br>read(4, &quot;07070100b00911000081a40000000000&quot;..., \
110) = 110<br>read(4, &quot;./etc/share/pixmaps/apple-green.&quot;..., 36) = 36<br> \
read(4, &quot;\0\0&quot;, 2)                      = 2<br>umask(0)                     \
= 022<br>umask(022)                              = 0<br>mkdir(&quot;./&quot;, 0777)   \
= -1 EEXIST (File exists)<br> stat64(&quot;./&quot;, {st_mode=S_IFDIR|0755, \
st_size=4096, ...}) = 0<br>mkdir(&quot;./etc/&quot;, 0777)                   = -1 \
EEXIST (File exists)<br>stat64(&quot;./etc/&quot;, {st_mode=S_IFDIR|0755, \
st_size=12288, ...}) = 0<br> mkdir(&quot;./etc/share/&quot;, 0777)             = -1 \
EEXIST (File exists)<br>stat64(&quot;./etc/share/&quot;, {st_mode=S_IFDIR|0755, \
st_size=4096, ...}) = 0<br>mkdir(&quot;./etc/share/pixmaps&quot;, 0777)      = -1 \
EEXIST (File exists)<br> stat64(&quot;./etc/share/pixmaps&quot;, \
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0<br>umask(022)                          \
= 022<br>open(&quot;./etc/share/pixmaps/apple-green.png&quot;, \
O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0100644) = 5<br> read(4, \
&quot;\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0000\0\0\0000\10\6\0\0\0W\2\371&quot;..., \
3056) = 3056<br>write(5, \
&quot;\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0000\0\0\0000\10\6\0\0\0W\2\371&quot;..., \
3056) = 3056<br>close(5)                                = 0<br> \
lchown32(&quot;./etc/share/pixmaps/apple-green.png&quot;, 0, 0) = \
0<br>chmod(&quot;./etc/share/pixmaps/apple-green.png&quot;, 0100644) = \
0<br>utime(&quot;./etc/share/pixmaps/apple-green.png&quot;, [2008/05/26-13:22:48, \
2008/05/26-13:22:48]) = 0<br> read(4, \
&quot;07070100b00910000081a40000000000&quot;..., 110) = 110<br>read(4, \
&quot;./etc/share/pixmaps/<a href="http://apple-red.pn">apple-red.pn</a>&quot;..., \
34) = 34<br>umask(0)                                = 022<br> umask(022)              \
= 0<br>mkdir(&quot;./&quot;, 0777)                       = -1 EEXIST (File \
exists)<br>stat64(&quot;./&quot;, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = \
0<br>mkdir(&quot;./etc/&quot;, 0777)                   = -1 EEXIST (File exists)<br> \
stat64(&quot;./etc/&quot;, {st_mode=S_IFDIR|0755, st_size=12288, ...}) = \
0<br>mkdir(&quot;./etc/share/&quot;, 0777)             = -1 EEXIST (File \
exists)<br>stat64(&quot;./etc/share/&quot;, {st_mode=S_IFDIR|0755, st_size=4096, \
...}) = 0<br> mkdir(&quot;./etc/share/pixmaps&quot;, 0777)      = -1 EEXIST (File \
exists)<br>stat64(&quot;./etc/share/pixmaps&quot;, {st_mode=S_IFDIR|0755, \
st_size=4096, ...}) = 0<br>umask(022)                              = \
022<br>open(&quot;./etc/share/pixmaps/apple-red.png&quot;, \
O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0100644) = 5<br> read(4, \
&quot;\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0000\0\0\0000\10\6\0\0\0W\2\371&quot;..., \
3100) = 3100<br>write(5, \
&quot;\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0000\0\0\0000\10\6\0\0\0W\2\371&quot;..., \
3100) = 3100<br>close(5)                                = 0<br> \
lchown32(&quot;./etc/share/pixmaps/apple-red.png&quot;, 0, 0) = \
0<br>chmod(&quot;./etc/share/pixmaps/apple-red.png&quot;, 0100644) = \
0<br>utime(&quot;./etc/share/pixmaps/apple-red.png&quot;, [2008/05/26-13:22:47, \
2008/05/26-13:22:47]) = 0<br> read(4, \
&quot;07070100000000000000000000000000&quot;..., 110) = 110<br>read(4, \
&quot;TRAILER!!!\0&quot;, 11)             = 11<br>read(4, &quot;\0\0\0&quot;, 3)      \
= 3<br>fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0<br> \
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = \
0xb7f05000<br>write(1, &quot;14 blocks\n&quot;, 10)             = \
10<br>open(&quot;/etc/passwd&quot;, O_RDONLY|O_LARGEFILE) = 5<br>fstat64(5, \
{st_mode=S_IFREG|0644, st_size=2327, ...}) = 0<br> mmap2(NULL, 4096, \
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f04000<br>read(5, \
&quot;root:x:0:0:root:/root:/bin/bash\n&quot;..., 4096) = 2327<br>close(5)            \
= 0<br>munmap(0xb7f04000, 4096)                = 0<br> open(&quot;/etc/group&quot;, \
O_RDONLY|O_LARGEFILE) = 5<br>fstat64(5, {st_mode=S_IFREG|0644, st_size=994, ...}) = \
0<br>mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = \
0xb7f04000<br>read(5, &quot;root:x:0:root\nbin:x:1:root,bin,d&quot;..., 4096) = \
994<br> read(5, &quot;&quot;, 4096)                       = 0<br>close(5)             \
= 0<br>munmap(0xb7f04000, 4096)                = 0<br>write(2, &quot;rpm: unknown \
group name: 0\n&quot;, 27) = 27<br>exit_group(1)                           = ?<br> \
<br><br><br>thanks and waiting for reply.<br><br></pre> <br>



_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic