Thread View: news.software.nntp
1 messages
1 total messages
Started by Heiko W.Rupp
Tue, 15 Jul 1997 00:00
Changes to INN FAQ Part part7/9: part7
Author: Heiko W.Rupp
Date: Tue, 15 Jul 1997 00:00
Date: Tue, 15 Jul 1997 00:00
40 lines
1919 bytes
1919 bytes
--- part7 1997/05/08 10:18:59 2.20
+++ part7 1997/07/12 07:56:57
@@ -82,6 +82,7 @@
7.49 NNTP-Posting-Host is localhost.do.main even if host has a name
7.50 uuxqt says: rnews exit status 1
7.51 innd get a non-zero ``nice'' value?
+ 7.52 innd runs as root, even if configured to run as 'news'
=====================================================================
@@ -1152,3 +1153,21 @@
with AUTONICETIME set to 0.
------------------------------
+
+Subject: (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 =).
+
--
Heiko W.Rupp Gerwigstr.5 D-76131 Karlsruhe +49 721 9661524
Tower: you have traffic at 10 o'clock, 6 miles!
Pilot: give us another hint, we have digital watches!
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads