[rt-users] Gnupg interaction with speedycgi in RT 3.8.1

Dominic Hargreaves dominic.hargreaves at oucs.ox.ac.uk
Wed Nov 19 14:45:35 EST 2008


On Wed, Nov 19, 2008 at 08:55:11AM -0500, Jesse Vincent wrote:
> On Tue 18.Nov'08 at 23:45:50 +0000, Dominic Hargreaves wrote:

> > Heh. I wasn't aware that speedycgi was marginal, or deprecated :) Should
> > we be marking it as such?
> 
> Well, if it's otherwise working well AND in active use, I'm happy to
> allow it to return to the world of the living.
> 
> We had issues with FastCGI had our redirection of STDERR/STDOUT,
> prompting us to write some wrapper code. Does graphviz cause the same
> issue?

No, graphviz works fine with gnupg off.
I can easily imagine that gnupg tickles some file descriptor bug
somewhere though.

Attached is an strace showing the sequence of events in the backend,
resulting in the output going to STDERR rather than STDOUT, including an
exec of gnupg (note; does this mean that every request will hit exec gpg?)

Presumably the backend receiving EPIPE when writing the output is going
to be related, but I can't quite follow the strace well enough to see
why. If anyone else fancies digging a bit deeper, feel free :)

Dominic.

-- 
Dominic Hargreaves, Systems Development and Support Team
Computing Services, University of Oxford
-------------- next part --------------
Process 26315 attached - interrupt to quit
select(19, [18], [], NULL, {3586, 252000}) = 1 (in [18], left {3584, 392000})
accept(18, {sa_family=AF_FILE, path=@G1q??}, [2]) = 0
accept(18, {sa_family=AF_FILE, path=@G1q??}, [2]) = 1
accept(18, {sa_family=AF_FILE, path=@G1q??}, [2]) = 2
rt_sigpending([])                       = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGHUP, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0
gettimeofday({1227122230, 565181}, NULL) = 0
munmap(0xb7fdf000, 512)                 = 0
close(17)                               = 0
open("/tmp/speedy.6.21.F", O_RDWR|O_CREAT|O_LARGEFILE, 0600) = 9
dup2(9, 17)                             = 17
close(9)                                = 0
fcntl64(17, F_SETFD, FD_CLOEXEC)        = 0
fcntl64(17, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}, 0xbfcaf6e4) = 0
fstat64(17, {st_mode=S_IFREG|0600, st_size=512, ...}) = 0
mmap2(NULL, 512, PROT_READ|PROT_WRITE, MAP_SHARED, 17, 0) = 0xb7fdf000
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
fcntl64(17, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}, 0xbfcaf70c) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
close(1)                                = 0
read(0, "\10HTTPS=on#HTTP_USER_AGENT=w3m/0."..., 4096) = 1241
fstat64(19, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fchdir(19)                              = 0
write(1, "\0", 1)                       = -1 EBADF (Bad file descriptor)
shutdown(0, 1 /* send */)               = 0
shutdown(1, 0 /* receive */)            = -1 EBADF (Bad file descriptor)
shutdown(2, 0 /* receive */)            = 0
open(".", O_RDONLY|O_LARGEFILE)         = 1
chdir("/usr/local/share/request-tracker3.8") = 0
lstat64("lib", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}) = 0
chdir("lib")                            = 0
getcwd("/usr/local/share/request-tracker3.8/lib", 4096) = 40
fchdir(1)                               = 0
close(1)                                = 0
open(".", O_RDONLY|O_LARGEFILE)         = 1
chdir("/usr/share/request-tracker3.8")  = 0
lstat64("lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
chdir("lib")                            = 0
getcwd("/usr/share/request-tracker3.8/lib", 4096) = 34
fchdir(1)                               = 0
close(1)                                = 0
open(".", O_RDONLY|O_LARGEFILE)         = 1
chdir("/etc")                           = 0
lstat64("perl", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
chdir("perl")                           = 0
getcwd("/etc/perl", 4096)               = 10
fchdir(1)                               = 0
close(1)                                = 0
open(".", O_RDONLY|O_LARGEFILE)         = 1
chdir("/usr/local/lib/perl")            = 0
lstat64("5.8.8", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}) = 0
chdir("5.8.8")                          = 0
getcwd("/usr/local/lib/perl/5.8.8", 4096) = 26
fchdir(1)                               = 0
close(1)                                = 0
open(".", O_RDONLY|O_LARGEFILE)         = 1
chdir("/usr/local/share/perl")          = 0
lstat64("5.8.8", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}) = 0
chdir("5.8.8")                          = 0
getcwd("/usr/local/share/perl/5.8.8", 4096) = 28
fchdir(1)                               = 0
close(1)                                = 0
open(".", O_RDONLY|O_LARGEFILE)         = 1
chdir("/usr/lib")                       = 0
lstat64("perl5", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
chdir("perl5")                          = 0
getcwd("/usr/lib/perl5", 4096)          = 15
fchdir(1)                               = 0
close(1)                                = 0
open(".", O_RDONLY|O_LARGEFILE)         = 1
chdir("/usr/share")                     = 0
lstat64("perl5", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
chdir("perl5")                          = 0
getcwd("/usr/share/perl5", 4096)        = 17
fchdir(1)                               = 0
close(1)                                = 0
open(".", O_RDONLY|O_LARGEFILE)         = 1
chdir("/usr/lib/perl")                  = 0
lstat64("5.8", {st_mode=S_IFLNK|0777, st_size=5, ...}) = 0
readlink("5.8", "5.8.8", 4095)          = 5
lstat64("5.8.8", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
chdir("5.8.8")                          = 0
getcwd("/usr/lib/perl/5.8.8", 4096)     = 20
fchdir(1)                               = 0
close(1)                                = 0
open(".", O_RDONLY|O_LARGEFILE)         = 1
chdir("/usr/share/perl")                = 0
lstat64("5.8", {st_mode=S_IFLNK|0777, st_size=5, ...}) = 0
readlink("5.8", "5.8.8", 4095)          = 5
lstat64("5.8.8", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
chdir("5.8.8")                          = 0
getcwd("/usr/share/perl/5.8.8", 4096)   = 22
fchdir(1)                               = 0
close(1)                                = 0
open(".", O_RDONLY|O_LARGEFILE)         = 1
chdir("/usr/local/lib")                 = 0
lstat64("site_perl", 0xbfcaf55c)        = -1 ENOENT (No such file or directory)
getcwd("/usr/local/lib", 4096)          = 15
fchdir(1)                               = 0
close(1)                                = 0
open(".", O_RDONLY|O_LARGEFILE)         = 1
lstat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
chdir(".")                              = 0
getcwd("/usr/share/request-tracker3.8/libexec", 4096) = 38
fchdir(1)                               = 0
close(1)                                = 0
time(NULL)                              = 1227122230
time(NULL)                              = 1227122230
fcntl64(3, F_SETLK64, {type=F_RDLCK, whence=SEEK_SET, start=1073741824, len=1}, 0xbfcaeec4) = 0
fcntl64(3, F_SETLK64, {type=F_RDLCK, whence=SEEK_SET, start=1073741826, len=510}, 0xbfcaeec4) = 0
fcntl64(3, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=1073741824, len=1}, 0xbfcaeec4) = 0
access("/var/lib/dbconfig-common/sqlite3/request-tracker3.8/rtdb-journal", F_OK) = -1 ENOENT (No such file or directory)
fstat64(3, {st_mode=S_IFREG|0660, st_size=94208, ...}) = 0
_llseek(3, 0, [0], SEEK_SET)            = 0
read(3, "SQLite format 3\0\4\0\1\1\0@  \0\0\0j\0\0\0\0"..., 1024) = 1024
_llseek(3, 26624, [26624], SEEK_SET)    = 0
read(3, "\r\0\0\0\3\1\317\0\0030\2g\1\317\0\0\0\0\0\0\0\0\0\0\0"..., 1024) = 1024
fcntl64(3, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}, 0xbfcaea04) = 0
brk(0xa712000)                          = 0xa712000
time(NULL)                              = 1227122230
time(NULL)                              = 1227122230
time(NULL)                              = 1227122230
time(NULL)                              = 1227122230
time(NULL)                              = 1227122230
time(NULL)                              = 1227122230
fcntl64(3, F_SETLK64, {type=F_RDLCK, whence=SEEK_SET, start=1073741824, len=1}, 0xbfcaeec4) = 0
fcntl64(3, F_SETLK64, {type=F_RDLCK, whence=SEEK_SET, start=1073741826, len=510}, 0xbfcaeec4) = 0
fcntl64(3, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=1073741824, len=1}, 0xbfcaeec4) = 0
access("/var/lib/dbconfig-common/sqlite3/request-tracker3.8/rtdb-journal", F_OK) = -1 ENOENT (No such file or directory)
fstat64(3, {st_mode=S_IFREG|0660, st_size=94208, ...}) = 0
_llseek(3, 0, [0], SEEK_SET)            = 0
read(3, "SQLite format 3\0\4\0\1\1\0@  \0\0\0j\0\0\0\0"..., 1024) = 1024
_llseek(3, 26624, [26624], SEEK_SET)    = 0
read(3, "\r\0\0\0\3\1\317\0\0030\2g\1\317\0\0\0\0\0\0\0\0\0\0\0"..., 1024) = 1024
fcntl64(3, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}, 0xbfcaea04) = 0
time(NULL)                              = 1227122230
time(NULL)                              = 1227122230
time(NULL)                              = 1227122230
time(NULL)                              = 1227122230
stat64("/var/cache/request-tracker3.8/data/gpg", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfcaf2c8) = -1 EINVAL (Invalid argument)
_llseek(0, 0, 0xbfcaf2f0, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
fstat64(0, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
fcntl64(0, F_SETFD, 0)                  = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfcaf2c8) = -1 EBADF (Bad file descriptor)
_llseek(1, 0, 0xbfcaf2f0, SEEK_CUR)     = -1 EBADF (Bad file descriptor)
fstat64(1, 0x8055068)                   = -1 EBADF (Bad file descriptor)
close(1)                                = -1 EBADF (Bad file descriptor)
ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfcaf2c8) = -1 EINVAL (Invalid argument)
_llseek(2, 0, 0xbfcaf2f0, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
fstat64(2, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
fcntl64(2, F_SETFD, 0)                  = 0
ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfcaf2c8) = -1 EINVAL (Invalid argument)
_llseek(2, 0, 0xbfcaf2f0, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
pipe([1, 9])                            = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfcaf468) = -1 EINVAL (Invalid argument)
_llseek(1, 0, 0xbfcaf490, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
ioctl(9, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfcaf468) = -1 EINVAL (Invalid argument)
_llseek(9, 0, 0xbfcaf490, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
fcntl64(1, F_SETFD, 0)                  = 0
fcntl64(9, F_SETFD, FD_CLOEXEC)         = 0
pipe([10, 11])                          = 0
ioctl(10, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfcaf468) = -1 EINVAL (Invalid argument)
_llseek(10, 0, 0xbfcaf490, SEEK_CUR)    = -1 ESPIPE (Illegal seek)
ioctl(11, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfcaf468) = -1 EINVAL (Invalid argument)
_llseek(11, 0, 0xbfcaf490, SEEK_CUR)    = -1 ESPIPE (Illegal seek)
fcntl64(10, F_SETFD, FD_CLOEXEC)        = 0
fcntl64(11, F_SETFD, FD_CLOEXEC)        = 0
pipe([12, 13])                          = 0
ioctl(12, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfcaf468) = -1 EINVAL (Invalid argument)
_llseek(12, 0, 0xbfcaf490, SEEK_CUR)    = -1 ESPIPE (Illegal seek)
ioctl(13, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfcaf468) = -1 EINVAL (Invalid argument)
_llseek(13, 0, 0xbfcaf490, SEEK_CUR)    = -1 ESPIPE (Illegal seek)
fcntl64(12, F_SETFD, FD_CLOEXEC)        = 0
fcntl64(13, F_SETFD, FD_CLOEXEC)        = 0
pipe([14, 15])                          = 0
ioctl(14, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfcaf468) = -1 EINVAL (Invalid argument)
_llseek(14, 0, 0xbfcaf490, SEEK_CUR)    = -1 ESPIPE (Illegal seek)
ioctl(15, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfcaf468) = -1 EINVAL (Invalid argument)
_llseek(15, 0, 0xbfcaf490, SEEK_CUR)    = -1 ESPIPE (Illegal seek)
fcntl64(14, F_SETFD, FD_CLOEXEC)        = 0
fcntl64(15, F_SETFD, FD_CLOEXEC)        = 0
pipe([16, 20])                          = 0
ioctl(16, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfcaf468) = -1 EINVAL (Invalid argument)
_llseek(16, 0, 0xbfcaf490, SEEK_CUR)    = -1 ESPIPE (Illegal seek)
ioctl(20, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfcaf468) = -1 EINVAL (Invalid argument)
_llseek(20, 0, 0xbfcaf490, SEEK_CUR)    = -1 ESPIPE (Illegal seek)
fcntl64(16, F_SETFD, FD_CLOEXEC)        = 0
fcntl64(20, F_SETFD, FD_CLOEXEC)        = 0
pipe([21, 22])                          = 0
ioctl(21, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfcaf468) = -1 EINVAL (Invalid argument)
_llseek(21, 0, 0xbfcaf490, SEEK_CUR)    = -1 ESPIPE (Illegal seek)
ioctl(22, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfcaf468) = -1 EINVAL (Invalid argument)
_llseek(22, 0, 0xbfcaf490, SEEK_CUR)    = -1 ESPIPE (Illegal seek)
fcntl64(21, F_SETFD, FD_CLOEXEC)        = 0
fcntl64(22, F_SETFD, FD_CLOEXEC)        = 0
clone(Process 26348 attached
child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7d18b28) = 26348
[pid 26348] getppid()                   = 26315
[pid 26348] ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfcaf2c8) = -1 EINVAL (Invalid argument)
[pid 26348] _llseek(1, 0, 0xbfcaf2f0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
[pid 26348] fstat64(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
[pid 26348] fcntl64(1, F_SETFD, 0)      = 0
[pid 26348] ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfcaf2c8) = -1 EINVAL (Invalid argument)
[pid 26348] _llseek(0, 0, 0xbfcaf2f0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
[pid 26348] fstat64(0, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
[pid 26348] fcntl64(0, F_SETFD, 0)      = 0
[pid 26348] ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfcaf2c8) = -1 EINVAL (Invalid argument)
[pid 26348] _llseek(2, 0, 0xbfcaf2f0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
[pid 26348] fstat64(2, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
[pid 26348] fcntl64(2, F_SETFD, 0)      = 0
[pid 26348] ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfcaf2c8) = -1 EINVAL (Invalid argument)
[pid 26348] _llseek(2, 0, 0xbfcaf2f0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
[pid 26348] close(9)                    = 0
[pid 26348] ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfcaf2c8) = -1 EINVAL (Invalid argument)
[pid 26348] _llseek(1, 0, 0xbfcaf2f0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
[pid 26348] fstat64(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
[pid 26348] dup2(1, 0)                  = 0
[pid 26348] dup(1)                      = 9
[pid 26348] fcntl64(1, F_GETFD)         = 0
[pid 26348] dup2(9, 1)                  = 1
[pid 26348] fcntl64(1, F_SETFD, 0)      = 0
[pid 26348] close(9)                    = 0
[pid 26348] fcntl64(0, F_SETFD, 0)      = 0
[pid 26348] close(16)                   = 0
[pid 26348] ioctl(20, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfcaf2c8) = -1 EINVAL (Invalid argument)
[pid 26348] _llseek(20, 0, 0xbfcaf2f0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
[pid 26348] fstat64(20, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
[pid 26348] dup2(20, 1)                 = 1
[pid 26348] dup(20)                     = 9
[pid 26348] fcntl64(20, F_GETFD)        = 0x1 (flags FD_CLOEXEC)
[pid 26348] dup2(9, 20)                 = 20
[pid 26348] fcntl64(20, F_SETFD, FD_CLOEXEC) = 0
[pid 26348] close(9)                    = 0
[pid 26348] fcntl64(1, F_SETFD, 0)      = 0
[pid 26348] close(10)                   = 0
[pid 26348] ioctl(11, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfcaf2c8) = -1 EINVAL (Invalid argument)
[pid 26348] _llseek(11, 0, 0xbfcaf2f0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
[pid 26348] fstat64(11, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
[pid 26348] dup2(11, 2)                 = 2
[pid 26348] dup(11)                     = 9
[pid 26348] fcntl64(11, F_GETFD)        = 0x1 (flags FD_CLOEXEC)
[pid 26348] dup2(9, 11)                 = 11
[pid 26348] fcntl64(11, F_SETFD, FD_CLOEXEC) = 0
[pid 26348] close(9)                    = 0
[pid 26348] fcntl64(2, F_SETFD, 0)      = 0
[pid 26348] close(12)                   = 0
[pid 26348] fcntl64(13, F_SETFD, 0)     = 0
[pid 26348] close(14)                   = 0
[pid 26348] fcntl64(15, F_SETFD, 0)     = 0
[pid 26348] close(22)                   = 0
[pid 26348] fcntl64(21, F_SETFD, 0)     = 0
[pid 26348] rt_sigaction(SIGFPE, {SIG_DFL}, {SIG_IGN}, 8) = 0
[pid 26348] execve("/usr/local/bin/gpg", ["gpg", "--batch", "--no-tty", "--homedir", "/var/cache/request-tracker3.8/da"..., "--armor", "--status-fd", "13", "--logger-fd", "15", "--command-fd", "21", "--version"], [/* 31 vars */]) = -1 ENOENT (No such file or directory)
[pid 26348] execve("/usr/bin/gpg", ["gpg", "--batch", "--no-tty", "--homedir", "/var/cache/request-tracker3.8/da"..., "--armor", "--status-fd", "13", "--logger-fd", "15", "--command-fd", "21", "--version"], [/* 31 vars */] <unfinished ...>
[pid 26315] close(1)                    = 0
[pid 26315] close(11)                   = 0
[pid 26315] close(13)                   = 0
[pid 26315] close(15)                   = 0
[pid 26315] close(20)                   = 0
[pid 26315] close(21)                   = 0
[pid 26315] close(9)                    = 0
[pid 26315] waitpid(26348, Process 26315 suspended
 <unfinished ...>
[pid 26348] <... execve resumed> )      = 0
[pid 26348] uname({sys="Linux", node="gunboat-diplomat", ...}) = 0
[pid 26348] brk(0)                      = 0x8116000
[pid 26348] fcntl64(0, F_GETFD)         = 0
[pid 26348] fcntl64(1, F_GETFD)         = 0
[pid 26348] fcntl64(2, F_GETFD)         = 0
[pid 26348] access("/etc/suid-debug", F_OK) = -1 ENOENT (No such file or directory)
[pid 26348] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
[pid 26348] mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fbb000
[pid 26348] access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
[pid 26348] open("/etc/ld.so.cache", O_RDONLY) = 4
[pid 26348] fstat64(4, {st_mode=S_IFREG|0644, st_size=61220, ...}) = 0
[pid 26348] mmap2(NULL, 61220, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb7fac000
[pid 26348] close(4)                    = 0
[pid 26348] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
[pid 26348] open("/lib/tls/i686/cmov/libresolv.so.2", O_RDONLY) = 4
[pid 26348] read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200$\0"..., 512) = 512
[pid 26348] fstat64(4, {st_mode=S_IFREG|0644, st_size=67364, ...}) = 0
[pid 26348] mmap2(NULL, 75976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7f99000
[pid 26348] mmap2(0xb7fa8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0xf) = 0xb7fa8000
[pid 26348] mmap2(0xb7faa000, 6344, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7faa000
[pid 26348] close(4)                    = 0
[pid 26348] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
[pid 26348] open("/usr/lib/libz.so.1", O_RDONLY) = 4
[pid 26348] read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\26"..., 512) = 512
[pid 26348] fstat64(4, {st_mode=S_IFREG|0644, st_size=78500, ...}) = 0
[pid 26348] mmap2(NULL, 81456, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7f85000
[pid 26348] mmap2(0xb7f98000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x12) = 0xb7f98000
[pid 26348] close(4)                    = 0
[pid 26348] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
[pid 26348] open("/lib/libbz2.so.1.0", O_RDONLY) = 4
[pid 26348] read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\20"..., 512) = 512
[pid 26348] fstat64(4, {st_mode=S_IFREG|0644, st_size=66200, ...}) = 0
[pid 26348] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f84000
[pid 26348] mmap2(NULL, 65060, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7f74000
[pid 26348] mmap2(0xb7f83000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0xf) = 0xb7f83000
[pid 26348] close(4)                    = 0
[pid 26348] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
[pid 26348] open("/lib/libreadline.so.5", O_RDONLY) = 4
[pid 26348] read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\274\0"..., 512) = 512
[pid 26348] fstat64(4, {st_mode=S_IFREG|0644, st_size=188760, ...}) = 0
[pid 26348] mmap2(NULL, 196196, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7f44000
[pid 26348] mmap2(0xb7f6f000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x2a) = 0xb7f6f000
[pid 26348] mmap2(0xb7f73000, 3684, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f73000
[pid 26348] close(4)                    = 0
[pid 26348] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
[pid 26348] open("/lib/tls/i686/cmov/libdl.so.2", O_RDONLY) = 4
[pid 26348] read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\f\0"..., 512) = 512
[pid 26348] fstat64(4, {st_mode=S_IFREG|0644, st_size=9592, ...}) = 0
[pid 26348] mmap2(NULL, 12404, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7f40000
[pid 26348] mmap2(0xb7f42000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x1) = 0xb7f42000
[pid 26348] close(4)                    = 0
[pid 26348] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
[pid 26348] open("/lib/libusb-0.1.so.4", O_RDONLY) = 4
[pid 26348] read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\22"..., 512) = 512
[pid 26348] fstat64(4, {st_mode=S_IFREG|0644, st_size=28740, ...}) = 0
[pid 26348] mmap2(NULL, 31768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7f38000
[pid 26348] mmap2(0xb7f3e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x5) = 0xb7f3e000
[pid 26348] close(4)                    = 0
[pid 26348] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
[pid 26348] open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 4
[pid 26348] read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240O\1"..., 512) = 512
[pid 26348] fstat64(4, {st_mode=S_IFREG|0644, st_size=1241392, ...}) = 0
[pid 26348] mmap2(NULL, 1247388, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7e07000
[pid 26348] mmap2(0xb7f2e000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x127) = 0xb7f2e000
[pid 26348] mmap2(0xb7f35000, 10396, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f35000
[pid 26348] close(4)                    = 0
[pid 26348] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
[pid 26348] open("/lib/libncurses.so.5", O_RDONLY) = 4
[pid 26348] read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\345"..., 512) = 512
[pid 26348] fstat64(4, {st_mode=S_IFREG|0644, st_size=263040, ...}) = 0
[pid 26348] mmap2(NULL, 264196, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7dc6000
[pid 26348] mmap2(0xb7dfe000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x38) = 0xb7dfe000
[pid 26348] mmap2(0xb7e06000, 2052, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7e06000
[pid 26348] close(4)                    = 0
[pid 26348] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7dc5000
[pid 26348] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7dc4000
[pid 26348] mprotect(0xb7f2e000, 20480, PROT_READ) = 0
[pid 26348] set_thread_area({entry_number:-1 -> 6, base_addr:0xb7dc46c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
[pid 26348] munmap(0xb7fac000, 61220)   = 0
[pid 26348] fstat64(0, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
[pid 26348] fstat64(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
[pid 26348] fstat64(2, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
[pid 26348] brk(0)                      = 0x8116000
[pid 26348] brk(0x8137000)              = 0x8137000
[pid 26348] setrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=0}) = 0
[pid 26348] rt_sigaction(SIGINT, NULL, {SIG_DFL}, 8) = 0
[pid 26348] rt_sigaction(SIGINT, {0x8077190, [], 0}, NULL, 8) = 0
[pid 26348] rt_sigaction(SIGHUP, NULL, {SIG_DFL}, 8) = 0
[pid 26348] rt_sigaction(SIGHUP, {0x8077190, [], 0}, NULL, 8) = 0
[pid 26348] rt_sigaction(SIGTERM, NULL, {SIG_DFL}, 8) = 0
[pid 26348] rt_sigaction(SIGTERM, {0x8077190, [], 0}, NULL, 8) = 0
[pid 26348] rt_sigaction(SIGQUIT, NULL, {SIG_DFL}, 8) = 0
[pid 26348] rt_sigaction(SIGQUIT, {0x8077190, [], 0}, NULL, 8) = 0
[pid 26348] rt_sigaction(SIGSEGV, NULL, {SIG_DFL}, 8) = 0
[pid 26348] rt_sigaction(SIGSEGV, {0x8077190, [], 0}, NULL, 8) = 0
[pid 26348] rt_sigaction(SIGUSR1, {0x8076fb0, [], 0}, NULL, 8) = 0
[pid 26348] rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
[pid 26348] fcntl64(13, F_GETFL)        = 0x1 (flags O_WRONLY)
[pid 26348] fstat64(13, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
[pid 26348] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fba000
[pid 26348] _llseek(13, 0, 0xbfeeba2c, SEEK_CUR) = -1 ESPIPE (Illegal seek)
[pid 26348] mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fb2000
[pid 26348] getuid32()                  = 33
[pid 26348] mlock(0xb7fb2000, 32768)    = 0
[pid 26348] geteuid32()                 = 0
[pid 26348] setuid32(33)                = 0
[pid 26348] getuid32()                  = 33
[pid 26348] geteuid32()                 = 33
[pid 26348] setuid32(0)                 = -1 EPERM (Operation not permitted)
[pid 26348] getuid32()                  = 33
[pid 26348] geteuid32()                 = 33
[pid 26348] access("/var/cache/request-tracker3.8/data/gpg/gpg.conf-1.4.6", R_OK) = -1 ENOENT (No such file or directory)
[pid 26348] access("/var/cache/request-tracker3.8/data/gpg/gpg.conf-1.4", R_OK) = -1 ENOENT (No such file or directory)
[pid 26348] access("/var/cache/request-tracker3.8/data/gpg/gpg.conf-1", R_OK) = -1 ENOENT (No such file or directory)
[pid 26348] access("/var/cache/request-tracker3.8/data/gpg/gpg.conf", R_OK) = -1 ENOENT (No such file or directory)
[pid 26348] stat64("/var/cache/request-tracker3.8/data/gpg", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
[pid 26348] stat64("/var/cache/request-tracker3.8/data", {st_mode=S_IFDIR|S_ISGID|0750, st_size=4096, ...}) = 0
[pid 26348] getuid32()                  = 33
[pid 26348] open("/var/cache/request-tracker3.8/data/gpg/options", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 26348] fcntl64(15, F_GETFL)        = 0x1 (flags O_WRONLY)
[pid 26348] fcntl64(15, F_SETFL, O_WRONLY|O_APPEND) = 0
[pid 26348] fstat64(15, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
[pid 26348] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fb1000
[pid 26348] _llseek(15, 0, 0xbfeeba2c, SEEK_CUR) = -1 ESPIPE (Illegal seek)
[pid 26348] fstat64(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
[pid 26348] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fb0000
[pid 26348] write(1, "gpg (GnuPG) 1.4.6\nCopyright (C) "..., 507) = 507
[pid 26348] munmap(0xb7fb0000, 4096)    = 0
[pid 26348] exit_group(0)               = ?
Process 26315 resumed
Process 26348 detached
<... waitpid resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 26348
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
close(10)                               = 0
close(12)                               = 0
close(16)                               = 0
close(14)                               = 0
close(22)                               = 0
gettimeofday({1227122230, 598923}, NULL) = 0
open("/var/cache/request-tracker3.8/session_data/Apache-Session-c3d5a996d18927fcd915bd2fdbaa8124.lock", O_RDWR|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 1
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfcaee28) = -1 ENOTTY (Inappropriate ioctl for device)
_llseek(1, 0, [0], SEEK_CUR)            = 0
fstat64(1, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
fcntl64(1, F_SETFD, 0)                  = 0
flock(1, LOCK_EX)                       = 0
flock(1, LOCK_SH)                       = 0
stat64("/var/cache/request-tracker3.8/session_data/c3d5a996d18927fcd915bd2fdbaa8124", {st_mode=S_IFREG|0600, st_size=197, ...}) = 0
open("/var/cache/request-tracker3.8/session_data/c3d5a996d18927fcd915bd2fdbaa8124", O_RDWR|O_CREAT|O_LARGEFILE, 0666) = 9
ioctl(9, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfcaee08) = -1 ENOTTY (Inappropriate ioctl for device)
_llseek(9, 0, [0], SEEK_CUR)            = 0
fstat64(9, {st_mode=S_IFREG|0600, st_size=197, ...}) = 0
fcntl64(9, F_SETFD, FD_CLOEXEC)         = 0
read(9, "\5\7\3\0\0\0\2\4\21\17RT::CurrentUser\3\0\0\0\4\4\21"..., 4096) = 197
read(9, "", 4096)                       = 0
write(2, "Pragma: no-cache\r\nCache-control:"..., 4096) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
Process 26315 detached


More information about the rt-users mailing list