Bug (?) report: inn-2.4.3

Ernst Boetsch Ernst.Boetsch at lrz-muenchen.de
Wed Apr 5 17:50:52 UTC 2006


Hello *,


"inncheck"  is warning after a  "make install"  under  "root":

   inncheck -pedantic
   /local/news/etc/control.ctl:0: mode 644, should be 640
   /local/news/etc/expire.ctl:0: mode 644, should be 640
   /local/news/etc/nntpsend.ctl:0: mode 644, should be 640
   /local/news/etc/readers.conf:0: mode 644, should be 640

I have run  "configure"  with  "--with-news-umask=022".


Following untested patch (unified diff)

########################################################################
--- ./site/Makefile.orig	2006-03-20 05:14:57.000000000 +0100
+++ ./site/Makefile	2006-04-05 19:39:20.000000000 +0200
@@ -165,18 +168,18 @@
 ##  Order:  innd, control, expire, inews, sending, misc
 $D$(PATH_INNDHOSTS):	incoming.conf	; $(COPY_RPRI) $? $@
 $D$(PATH_NEWSFEEDS):	newsfeeds	; $(COPY_RPUB) $? $@
-$D$(PATH_READERSCONF):	readers.conf	; $(COPY_RPUB) $? $@
+$D$(PATH_READERSCONF):	readers.conf	; $(COPY_RPRI) $? $@
 $D$(PATH_RADIUS_CONF):	radius.conf	; $(COPY_RPRI) $? $@
 $D$(PATH_NNRPDTRACK):	nnrpd.track	; $(COPY_RPUB) $? $@
 $D$(PATH_SCHEMA):	overview.fmt	; $(COPY_RPUB) $? $@
-$D$(PATH_CONTROLCTL):	control.ctl	; $(COPY_RPUB) $? $@
+$D$(PATH_CONTROLCTL):	control.ctl	; $(COPY_RPRI) $? $@
 $D$(PATH_CTLWATCH):	innwatch.ctl	; $(COPY_RPUB) $? $@
-$D$(PATH_EXPIRECTL):	expire.ctl	; $(COPY_RPUB) $? $@
+$D$(PATH_EXPIRECTL):	expire.ctl	; $(COPY_RPRI) $? $@
 $D$(PATH_CONFIG):	inn.conf	; $(COPY_RPUB) $? $@
 $D$(PATH_MODERATORS):	moderators	; $(COPY_RPUB) $? $@
 $D$(PATH_DISTPATS):	distrib.pats	; $(COPY_RPUB) $? $@
 $D$(PATH_NNTPPASS):	passwd.nntp	; $(COPY_RPRI) $? $@
-$D$(PATHETC)/nntpsend.ctl: nntpsend.ctl	; $(COPY_RPUB) $? $@
+$D$(PATHETC)/nntpsend.ctl: nntpsend.ctl	; $(COPY_RPRI) $? $@
 $D$(PATHETC)/news2mail.cf: news2mail.cf	; $(COPY_RPUB) $? $@
 $D$(PATHETC)/innreport.conf: innreport.conf	; $(COPY_RPUB) $? $@
 $D$(PATH_STORAGECONF): storage.conf	; $(COPY_RPUB) $? $@
########################################################################

may prevent the warnings.


Please consider a new make target  "install-root"  specifically for all
operations which require the root login.
This would be at least the installation of "inndstart"  and 
"startinnfeed".


Kind regards,
    Ernst Boetsch

-- 
******************************************************************
Ernst N. Boetsch                     |  Leibniz Computer Center
                                     |     of the Bavarian Academy
E-Mail:  boetsch at lrz.de              |     of Sciences
Phone:   +49 89 289-28831 (/-28784)  |  Barer Strasse 21
Fax:     +49 89 2809460              |  D-80333 Muenchen, Germany



More information about the inn-bugs mailing list