Package: libapache-mod-ssl
Severity: normal

Hi there,

The "SSLSessionCache" dbm creation seems to be able to be wedged
pretty easily.

eg, if I set:

  SSLSessionCache dbm:/tmp/foo

Then:

  touch /tmp/__db.foo.db

When I start apache, it gets stuck in a loop:

  stat64("/tmp/foo.db", 0xbfed5ae0)       = -1 ENOENT (No such file or directory
)
  open("/tmp/__db.foo.db", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = -1 EEXIST 
(File exists)
  open("/tmp/__db.foo.db", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = -1 EEXIST 
(File exists)
  open("/tmp/__db.foo.db", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = -1 EEXIST 
(File exists)
  stat64("/tmp/foo.db", 0xbfed5ae0)       = -1 ENOENT (No such file or directory
)
  open("/tmp/__db.foo.db", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = -1 EEXIST 
(File exists)
  open("/tmp/__db.foo.db", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = -1 EEXIST 
(File exists)
  open("/tmp/__db.foo.db", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = -1 EEXIST 
(File exists)

Instead of the normal (abridged):

  10105 stat64("/tmp/foo.db", 0xbfc39020) = -1 ENOENT (No such file or directory
)
  10105 open("/tmp/__db.foo.db", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = 3
  10105 stat64("/tmp/__db.foo.db", {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
  10105 stat64("/tmp/foo.db", 0xbfc39020) = -1 ENOENT (No such file or directory
)
  10105 rename("/tmp/__db.foo.db", "/tmp/foo.db") = 0

Sam.


-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.16.4
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages libapache-mod-ssl depends on:
ii  apache-common             1.3.33-6sarge3 support files for all Apache webse
ii  libc6                     2.3.2.ds1-22   GNU C Library: Shared libraries an
ii  libdb4.2                  4.2.52-18      Berkeley v4.2 Database Libraries [
ii  libexpat1                 1.95.8-3       XML parsing C library - runtime li
ii  libssl0.9.7               0.9.7e-3       SSL shared libraries
ii  openssl                   0.9.7e-3sarge4 Secure Socket Layer (SSL) binary a

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to