K 10
svn:author
V 6
iulius
K 8
svn:date
V 27
2013-07-26T20:28:04.828595Z
K 7
svn:log
V 782
pullnews:  looks for the config file in the right home directory

After commits [9304] and [9330], INN 2.5.3 broke the legacy behaviour of
pullnews looking for its configuration file in the running user's home
directory.  Adding INN::Config changed the $HOME environment variable
to the news user's home directory (in fact the pathnews parameter set
in inn.conf).
Besides, pullnews was no longer useable outside INN.

Fixed these issues by:
- making INN::Config and INN::Utils::Shlock optional.  If these Perl
modules are not present, pullnews falls back to its legacy handle of locks
(that is unfortunately broken in Solaris);
- setting the home directory to the one of the running user (or to pathdb
if pullnews is run by the news user).

Thanks to Tony Evans for the bug report.

END
