[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]
Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page
Top Document: INN FAQ Part 7/9: Problems with INN already running
Previous Document: (7.51) innd get a non-zero ``nice'' value?
Next Document: (7.53) Makehistory is slow on inn 1.x , x<5.1
-
Search the FAQ Archives
Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page
Top Document: INN FAQ Part 7/9: Problems with INN already running
Previous Document: (7.51) innd get a non-zero ``nice'' value?
Next Document: (7.53) Makehistory is slow on inn 1.x , x<5.1
(7.52) innd runs as root, even if configured to run as 'news'
We had a little debuging session due to inn 1.5.1 starting as root instead of
the configured value news. The problem was caused by _PATH_INNDDIR and the
following lines of inndstart.c:
/* Make sure INND directory exists. */
if (stat(INNDDIR, &Sb) < 0 || !S_ISDIR(Sb.st_mode)) {
syslog(L_FATAL, "inndstart cant stat %s %m", INNDDIR);
exit(1);
}
NewsUID = Sb.st_uid;
NewsGID = Sb.st_gid;
So inndstart takes user and group values from _PATH_INNDDIR, and our
dir was owned by root =).
Top Document: INN FAQ Part 7/9: Problems with INN already running
Previous Document: (7.51) innd get a non-zero ``nice'' value?
Next Document: (7.53) Makehistory is slow on inn 1.x , x<5.1
Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page
[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]
Send corrections/additions to the FAQ Maintainer:
hwr@pilhuhn.de (Heiko W.Rupp)
Last Update October 12 2008 @ 00:13 AM