Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.hawaii.edu!ames!news.larc.nasa.gov!news.msfc.nasa.gov!newsfeed.internetmci.com!in2.uu.net!EU.net!usenet2.news.uk.psi.net!uknet!usenet1.news.uk.psi.net!uknet!dispatch.news.demon.net!demon!jraynard.demon.co.uk!not-for-mail From: james@jraynard.demon.co.uk (James Raynard) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: setproctitle support Date: 26 Jul 1996 14:17:19 -0000 Organization: A FreeBSD Box Lines: 44 Message-ID: <4tak1f$1hl@jraynard.demon.co.uk> References: <4t88a0$66n@mtinsc01-mgt.ops.worldnet.att.net> NNTP-Posting-Host: localhost X-NNTP-Posting-Host: jraynard.demon.co.uk In article <4t88a0$66n@mtinsc01-mgt.ops.worldnet.att.net>, Charles Reese <reese@chem.duke.edu> wrote: >I am trying to install the qpop package on my FreeBSD 2.1R system. The >compile fails with an indication: > >popper.o: Undefined symbol `_setproctitle' referenced from text segment > >Inspecting the INSTALL file indicates that this is a feature that requires >OS support. So my question is does FreeBSD support setproctitle and if so > how do I enable it and if not can I just undefine SETPROCTITLE and run >the pop server without it. It's in -current (see below); basically it's just a bit of code that's been hacked out of sendmail. Sendmail uses it so that it shows up in the ps output as sendmail: accepting connections (sendmail) rather than just boring old "sendmail". Personally, I'd just run qpop without it, unless this is the fix for passwords showing up on the command line (in which I'd hack the code out of the sendmail source myself!) SETPROCTITLE(3) FreeBSD Programmer's Manual SETPROCTITLE(3) NAME setproctitle - set the process title for ps(1) SYNOPSIS #include <libutil.h> void setproctitle(const char *fmt, ...) Link with -lutil on the cc(1) command line. DESCRIPTION The setproctitle library routine sets the process title that appears on the ps(1) command. -- James Raynard, Edinburgh, Scotland james@jraynard.demon.co.uk http://www.freebsd.org/~jraynard/