HomeFreeBSD

Nitpicks for the comms/qpage port

Description

Nitpicks for the comms/qpage port

The comms/qpage port has a few minor problems. A default installation gives
the following errors when the /usr/local/etc/rc.d/qpage.sh script is
execute:

	    qpage[68438]: cannot open /etc/qpage.cf: No such file or directory
	    qpage[68438]: cannot access LockDir(/var/spool/lock): Permission denied
	    qpage[68438]: cannot access QueueDir(/var/spool/qpage): No such file or directory
	    qpage[68438]: cannot chdir to QueueDir(/var/spool/qpage): No such file or directory

In short:

  1. qpage looks for its configuration file in /etc instead of /usr/local/etc
  2. It setuid()'s to a user (daemon) without permission to access /var/spool/lock

but does not document this anywhere outside of the source.

  1. It's queue directory is not created by installing the port.

PR: ports/48059
Submitted by: Kirk Strauser <kirk@strauser.com>

Details

Provenance
edwinAuthored on
Parents
rP97848: [PATCH] benchmarks/rawio has a bug in commandline option parser
Branches
Unknown
Tags
Unknown

Event Timeline