fixed... problem was  that kernel no longer supports bsdi
Thank you for the observation by the other poster!

On 1/11/2011 9:04 AM, Paul Pruett wrote:
I upgraded from i386 openbsd 4.6 to openbsd 4.8
and everything seemed to make it.  it was brought to my attention that
while frontpage does log activity like counter to fpEXEC log,
/var/log/fpexec_log
when a form is used, it does not log and as a cgi has a premature end.

Yes the issue was that the kernel for 4.8 did not support bsdos emulation
so the line "kern.emul.bsdos=1" in /etc/sysctl.conf was not doing anything.

I don't know if a custom kernel will support emulating bsdos,
but the ports for emulating freebsd and linux appear to be adequately supported.

solution, set /etc/sysctl.conf
kern.emul.freebsd=1

(either reboot or use sysctl to set that)

cd /usr/ports/emulators/freebsd_lib
make install

and then change binaries in /usr/local/frontpage to use freebsd flavor
instead... similar to pkg message, using freebsd instead of bsdi

ftp ftp://ftp.microsoft.com/products/frontpage/fp50.freebsd.tar.Z
cd /usr/local/frontpage/version5.0
dd if=/dev/arandom of=apache-fp/suidkey bs=129 count=1
sh set_default_perms.sh
find . -type f -perm -4000 -exec chmod u-s {} \;

==== observations ====

I would suggest a modification to the port
mod_frontpage package message,
to say bsdi is no no longer supported by the kernel by default.
and to pick a flavor of frontpage and emulation that may work...

This port is used by so few, and most know it well, so I would
not suggest modifying port to have a dependency to require emulation
for linux or freebsd... to much trouble, but at least have a warning
in the package message that bsdos or the "bsdi" flavor is no longer
supported by the default kernel.   a clue would help others.


====================================================

existing openbsd 4.8 package message:

# cat /usr/ports/www/mod_frontpage/pkg/MESSAGE

To finish the install, you need to enable the module using the following
command

  ${PREFIX}/sbin/${MODAPACHE_ENABLE}

If you already have Apache running on your machine, you should not use
"apachectl restart" - instead, you should fully stop and then restart
the server.

This package only includes the mod_frontpage module for Apache.  It is
still necessary to download and install the server extensions from
Microsoft.  They can be retrieved and installed using the following
instructions.

  # ftp ftp://ftp.microsoft.com/products/frontpage/fp50.bsdi.tar.Z
  # tar -C /usr/local -xzpvf fp50.bsdi.tar.Z
  # cd /usr/local/frontpage/version5.0
  # dd if=/dev/arandom of=apache-fp/suidkey bs=129 count=1
  # sh set_default_perms.sh
  # find . -type f -perm -4000 -exec chmod u-s {} \;

Reply via email to