Date: Wed, 22 Jan 1997 17:55:47 -0600 (CST) From: "Brent J. Nordquist" <bjn@visi.com> To: freebsd-hackers@freebsd.org Cc: bjn@visi.com Subject: News binaries run as root, but not as news Message-ID: <199701222355.RAA00270@undquirt.visi.com>
next in thread | raw e-mail | index | archive | help
PLEASE copy me on replies; I don't subscribe to -hackers. I tried to ask this in -questions and didn't get an answer. My setup: Fresh cvsup to RELENG_2_2 (the up-and-coming 2.2-RELEASE) of /usr/src and /usr/ports; fresh build and install of /usr/ports/news/cnews; edited files in /usr/local/news/lib but no other explicit configuration. I was able to add a local group and do a postnews/readnews and see the article show up. BUT it only works if I run newsrun as root. If I run newsrun as news, it creates a lock file and then hangs. It doesn't respond to normal kill (I had to kill -9). (I CAN do addgroup and delgroup as news.) I checked /usr/local/news; the entire hierarchy is owned by either bin or news; all files and directories are writable by the owner. Again, I didn't do anything explicit other than make install in /usr/ports/news/cnews, and editing the config files. The work/README has lines that it says should go in news's crontab, but I had to put them in root's to make it work. Is this normal? Any ideas what might be wrong? Thanks! -- Brent J. Nordquist bjn@visi.com +1 612 827-2747
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701222355.RAA00270>