Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!xyzoom!rob From: rob@xyzoom.info.com (Rob Lingelbach) Newsgroups: news.software.b Subject: Re: cnews spooling trouble Message-ID: <1991May12.234639.18084@xyzoom.info.com> Date: 12 May 91 23:46:39 GMT References: <1991May12.162822.14342@xyzoom.info.com> Sender: rob@xyzoom.info.com (Rob Lingelbach) Reply-To: rob@xyzoom.info.com (Rob Lingelbach) Organization: Altruistic Intentions, Hollywood CA Lines: 46 In article <1991May12.162822.14342@xyzoom.info.com> rob@xyzoom.info.com (Rob Lingelbach) writes: > >I just installed cnews and I am getting the following error message >right after I poll my news feed: > >newsspool failed!!! >/usr/lib/newsbin/input/newsrun: /usr/lib/news/L.13680: cannot create > >I elected during the build of cnews to have news spooled immediately. >The $binuid is news, /usr/lib/news is owned by news, and I don't >believe newsrun has to be suid news, does it? >My answer to "build"'s set(g)uid() question was yes, my system can do >the setuid system call; I'm running ISC 2.2.1 here. > >I'd appreciate any help; please use mail as my news for incoming >articles is broken. Thanks to the folks who responded to my plea. I got the answer from Neil Rickert: > newsrun must be invoked by a uid which has write permission to > /usr/lib/news . > If you are using a UUCP feed, it is best to be starting newsrun > independently from crontab. Make sure it runs as news. It might > be possible to have /usr/lib/news in group daemon, group > writeable, so that this also works from > uucp invocations. I would not recommend it. I rebuilt cnews with the answer to build's question about immediate processing as [no]. Then I kept having the problem, until I found the file $NEWSCTL/rnews.newsrun, which had the single word "yes". Ichanged it to "no", and still newsrun was invoked immediately...I deleted the file, and that seems to have worked. Doit.news does not write over or delete configuration files as a safety precaution. But I wonder how I could have news spooled immediately. Currently I have cron su'ing to news and calling newsrun twice an hour; is there a way to have it turned on with "newsrunning on" command? --Rob -- Rob Lingelbach rob@xyzoom.info.com -or- {well-connected}!uunet!xyzoom!rob 2641 Rinconia Dr L.A. CA 90068 voice: 213 464-6266