Re: [gentoo-user] leafnode and xinetd.conf

2006-03-27 Thread Alexander Skwar
THUFIR HAWAT wrote:
 On 3/26/06, Alexander Skwar [EMAIL PROTECTED] wrote:
 ..
 /etc/xinetd.d/leafnode

  such that it's appended /etc/xinetd.conf when xinetd runs?

 Check out your /etc/xinetd.conf.

 But /etc/xinetd.d/leafnode will be included, yes.

 [EMAIL PROTECTED] ~ $ cat -n /etc/xinetd.d/leafnode-nntp
  1  # default: off
  2  # description: Leafnode - accepts connections on port 119 (NNTP)
  3
  4  service nntp
  5  {
  6  socket_type = stream
  7  protocol= tcp
  8  wait= no
  9  user= news
 10  server  = /usr/sbin/leafnode
 11  disable = yes
 12  }


Sure? Why disable=yes?

 After I have this done, I might be inclined adding to the gentoo wiki on this 
 :)

Well, go ahead - but I don't think that changing disable = yes
to disable = no is a good enough reason for adding something
to the Wiki. But that's just me.

Alexander Skwar
-- 
People who go to conferences are the ones who shouldn't.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] leafnode and xinetd.conf

2006-03-26 Thread THUFIR HAWAT
I'd crosspost this from news.softwear.readers, but I don't have
leafnode configured yet ;)




Here is a sample /etc/xinetd/leafnode entry. The entry in the server
field has to point to your locally installed leafnode executable.
Dependent on the installation, this executable may not reside in
/usr/sbin but elsewhere (e.g. /usr/local/sbin if you installed
leafnode from the source code).

service nntp
{
disable = no
flags   = REUSE
socket_type = stream
wait= no
user= news
server  = /usr/sbin/leafnode
log_on_failure  += USERID
}

http://leafnode.sourceforge.net/wuerzburg/faq.html#4


How do I know where leafnode is, please?  I can create a file

[EMAIL PROTECTED] ~ $
[EMAIL PROTECTED] ~ $ cat /etc/xinetd/leafnode
cat: /etc/xinetd/leafnode: No such file or directory
[EMAIL PROTECTED] ~ $ date
Sun Mar 26 21:21:07 IST 2006
[EMAIL PROTECTED] ~ $



such that it's appended /etc/xinetd.conf when xinetd runs?


thanks,

Thufir

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] leafnode and xinetd.conf

2006-03-26 Thread Alexander Skwar
THUFIR HAWAT wrote:

 How do I know where leafnode is, please?

cat /var/db/pkg/*/leafnode*/CONTENTS

  I can create a file
 
 [EMAIL PROTECTED] ~ $
 [EMAIL PROTECTED] ~ $ cat /etc/xinetd/leafnode

/etc/xinetd.d/leafnode

 such that it's appended /etc/xinetd.conf when xinetd runs?

Check out your /etc/xinetd.conf.

But /etc/xinetd.d/leafnode will be included, yes.

Alexander Skwar
-- 
Yes, I've now got this nice little apartment in New York, one of those
L-shaped ones.  Unfortunately, it's a lower case l.
-- Rita Rudner
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] leafnode and xinetd.conf

2006-03-26 Thread THUFIR HAWAT
On 3/26/06, Alexander Skwar [EMAIL PROTECTED] wrote:
..
 /etc/xinetd.d/leafnode

  such that it's appended /etc/xinetd.conf when xinetd runs?

 Check out your /etc/xinetd.conf.

 But /etc/xinetd.d/leafnode will be included, yes.

 Alexander Skwar
..

[EMAIL PROTECTED] ~ $
[EMAIL PROTECTED] ~ $
[EMAIL PROTECTED] ~ $ cat /etc/xinetd/leafnode
cat: /etc/xinetd/leafnode: No such file or directory
[EMAIL PROTECTED] ~ $ date
Sun Mar 26 21:21:07 IST 2006
[EMAIL PROTECTED] ~ $ ls -lh /etc/xinetd.d/
total 56K
-rw-r--r--  1 root root 643 Mar 22 13:29 README.services
-rw-r--r--  1 root root 246 Mar 22 13:29 chargen-tcp
-rw-r--r--  1 root root 266 Mar 22 13:29 chargen-udp
-rw-r--r--  1 root root 368 Mar 20 19:39 cups-lpd
-rw-r--r--  1 root root 246 Mar 22 13:29 daytime-tcp
-rw-r--r--  1 root root 272 Mar 22 13:29 daytime-udp
-rw-r--r--  1 root root 238 Mar 22 13:29 echo-tcp
-rw-r--r--  1 root root 263 Mar 22 13:29 echo-udp
-rw-r--r--  1 root root 250 Mar 21 11:37 fingerd
-rw-r--r--  1 root root 230 Mar 22 13:34 leafnode-nntp
-rw-r--r--  1 root root 528 Mar 20 19:59 swat
-rw-r--r--  1 root root 205 Mar 26 19:46 telnetd
-rw-r--r--  1 root root 270 Mar 22 13:29 time-tcp
-rw-r--r--  1 root root 272 Mar 22 13:29 time-udp
[EMAIL PROTECTED] ~ $ cat -n /etc/xinetd.d/leafnode-nntp
 1  # default: off
 2  # description: Leafnode - accepts connections on port 119 (NNTP)
 3
 4  service nntp
 5  {
 6  socket_type = stream
 7  protocol= tcp
 8  wait= no
 9  user= news
10  server  = /usr/sbin/leafnode
11  disable = yes
12  }
[EMAIL PROTECTED] ~ $ cat -n /etc/xinetd.conf
 1  # /etc/xinetd.conf: sample configuration file for xinetd
 2
 3  defaults
 4  {
 5  only_from  = localhost
 6  instances  = 60
 7  log_type   = SYSLOG authpriv info
 8  log_on_success = HOST PID
 9  log_on_failure = HOST
10  cps= 25 30
11  }
12
13  includedir /etc/xinetd.d
[EMAIL PROTECTED] ~ $ date
Sun Mar 26 23:18:23 IST 2006
[EMAIL PROTECTED] ~ $


Was it epstein on welcome back kotter?  Ooooh, oooh, oooh!


Ok, thank you so much.  I thought it was odd that emerge leafnode
didn't automagically create this file, or something similar :)

Thing is, I'm multi-posting :(

Over in news.softwear.readers there's a thread, so I'm not sure how to
proceed with any followup questions.

After I have this done, I might be inclined adding to the gentoo wiki on this :)


-Thufir

-- 
gentoo-user@gentoo.org mailing list