On 8/24/07, Luca Falavigna <[EMAIL PROTECTED]> wrote:
> Your fix olny works if you run it as root.
> Does newsx need to be run as root?

It has to be run only by the unprivileged user "news". And yes, for
this reason the workaround I've proposed is ineffective.

After a more accurate investigation, I've found in my system a copy of
those lines also in the cron job I set up to call newsx hourly. I
can't remember why I had a copy of them in /usr/lib/news/bin/newsx too
("install and forget" feature can be sometimes a drawback ;-)
I suppose I forgot to delete them after having found they were ineffective...

However, the fix I'm currently using is not generally valid: it makes
sense to call newsx from a cron job only if the Internet connection is
of an "always-on" kind; if you're stuck with a 56k modem (as I was
when I installed newsx for the first time) you're supposed to execute
newsx manually from a console.

INN2, the news server commonly installed with newsx, has the very same
problem: it needs to have a directory under /var/run accessible by the
user "news"; the default Ubuntu package does this with the script
/etc/init.d/inn2, so I suppose this is the right way to go for newsx
too.

-- 
Ciao,
  Pino

-- 
/var/run/newsx not created at start time
https://bugs.launchpad.net/bugs/72856
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to