[Zope] Re: nonroot user running zope on 80

John Hunter jdhunter at ace.bsd.uchicago.edu
Wed Sep 22 08:25:30 EDT 2004


>>>>> "Calvin" == Calvin Hendryx-Parker <calvin at sixfeetup.com> writes:

    Calvin> This was on OS X, but I would think that the same would
    Calvin> apply for linux. I'm guessing that it is still some sort
    Calvin> of permission issue.

It's also worked for me too, on other linux boxes.  The strace I
posted yesterday indicates a failure on the set group call.  I'll just
post the tail here

  fstat(5, {st_mode=S_IFREG|0644, st_size=579, ...}) = 0
  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a983ae000
  lseek(5, 0, SEEK_CUR)                   = 0
  read(5, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 579
  read(5, "", 4096)                       = 0
  close(5)                                = 0
  munmap(0x2a983ae000, 4096)              = 0
  setgroups(1, [503])                     = 0
  --- SIGSEGV (Segmentation fault) @ 0 (0) ---
  +++ killed by SIGSEGV +++

I'm hoping that this give some zope guru-possibly-named-tim an idea of
what is going wrong.  Here is my /etc/group and /etc/passwd info for
the effective user

  [root at crcdocs Products]# grep zope /etc/group /etc/passwd
  /etc/group:zope:x:503:
  /etc/passwd:zope:x:503:503::/home/zope:/bin/bash

And my kernel info:

  [root at crcdocs Products]# uname -a
  Linux crcdocs.bsd.uchicago.edu 2.6.5-1.358 #1 Sat May 8 09:01:26 EDT 2004 x86_64 x86_64 x86_64 GNU/Linux

This is a brand-spanking new box from Monarch Systems with FC2
per-installed.  

JDH


More information about the Zope mailing list