Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4327 - python hook in inn ebuild causes innd/nnrpd problems
Summary: python hook in inn ebuild causes innd/nnrpd problems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-29 15:29 UTC by Thomas Bullinger
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Bullinger 2002-06-29 15:29:43 UTC
Using the standard inn ebuild (Latest version Available: 2.3.3) with "python"  
enabled causes this problem in innd (innd crashes): 
  
innd: SERVER cant exec in 
Comment 1 Thomas Bullinger 2002-06-29 15:29:43 UTC
Using the standard inn ebuild (Latest version Available: 2.3.3) with "python"  
enabled causes this problem in innd (innd crashes): 
  
innd: SERVER cant exec in èHo/news/bin/nnrpd No such file or directory  
innd: SERVER cant exec in (Ìõ/news/bin/nnrpd No such file or directory  
...  
  
I build inn without "python" and the problem went away.  
 
Also, I changed the "/etc/init.d/innd" script so that it looks like this (use 
"rc.news" to start the daemon and use "ctlinnd" to throttle/stop it [and take 
take of innwatch if it runs as well]): 
 
#!/sbin/runscript 
# Copyright 1999-2002 Gentoo Technologies, Inc. 
# Distributed under the terms of the GNU General Public License, v2 or later 
# /space/gentoo/cvsroot/gentoo-x86/net-misc/bind/files/named.rc6,v 1.4 
2002/06/01 16:31:07 nitro Exp 
 
depend() { 
        need net 
} 
 
start() { 
        ebegin "Starting innd" 
        start-stop-daemon --start --quiet --chuid news:news --exec 
/usr/lib/news/bin/rc.news 
        eend $? 
} 
 
stop() { 
        ebegin "Stopping innd" 
        /usr/lib/news/bin/ctlinnd throttle "Shutdown in preparation" 
        if [ -f /var/spool/news/run/innwatch.pid ] 
        then 
                kill `cat /var/spool/news/run/innwatch.pid` 
        fi 
        start-stop-daemon --stop --quiet --pidfile 
/var/spool/news/run/innd.pid 
        eend $? 
}
Comment 2 Jon Nelson (RETIRED) 2002-07-01 22:13:38 UTC
When you say that you built inn with "python" enabled or disabled, how did you
go about enabling or disabling python support?

The inn ebuild doesn't contain any references to python support, either explicit
or implicit.

Comment 3 Thomas Bullinger 2002-07-02 02:06:45 UTC
The ebuild file contains the option "--with-python" for the "configure" 
script, which explicetly enables "python" hooks (in the same way that the line  
"--with-perl" does that for "perl").  Removing the "--with-python" line did  
configure and compile "inn" without any "python" hooks, which fixed the  
problem.  It might be a problem with "inn" itself ... but I did not 
investigate it any further since I had found a workaround :) 
 
Comment 4 Jon Nelson (RETIRED) 2002-07-02 07:58:06 UTC
Daiiii!  Look and look and I find nothing.  You spent probably *10 seconds* and
find it. 

Thanks. 

I'll hop back on this one and find out what's going on if I can.
Comment 5 Nicholas Henke (RETIRED) gentoo-dev 2002-11-03 09:05:03 UTC
I emerged 2.3.3 with python-2.2.1-r5, no problems as far as I can see. Where do
you see the error messages below? What compiler/CFLAGS ?