|
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 See reader questions & answers on this topic! - Help others by sharing your knowledge
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 | Web FAQs | Documents | RFC Index ] Send corrections/additions to the FAQ Maintainer: hwr@pilhuhn.de (Heiko W.Rupp)
Last Update November 21 2011 @ 01:00 PM
|
