[sane-devel] Problems running saned from xinetd

Emmanuel Gravel e_gravel at yahoo.com
Thu Dec 11 15:03:42 GMT 2003


The file doesn't exist. Here are my only log files:
-rw-r--r--    1 root     root        79599 Dec 11 07:57 XFree86.0.log
-rw-r--r--    1 root     root         1823 Dec  9 18:43 XFree86.0.log.old
drwxr-xr-x    2 root     root           48 Nov 30 22:02 cups
-rw-r--r--    1 root     root       301480 Dec 10 08:44 emerge.log
drwxr-xr-x    2 root     root           72 Dec  8 22:08 iptraf
-rw-r--r--    1 root     root       292584 Dec  9 19:16 lastlog
-rw-------    1 root     root       704392 Dec 11 08:00 messages
drwxr-xr-x    2 root     root           72 Nov 29 11:57 news
drwxr-xr-x    2 root     root           48 Dec  8 22:42 samba
-rw-r--r--    1 root     root       167777 Dec  4 02:34 scrollkeeper.log
-rw-rw-r--    1 root     utmp       343680 Dec 11 07:59 wtmp

Plus, does xinetd use tcpwrappers? Also, I don't have either hosts.allow or
hosts.deny files in /etc. This is a stage-1 compiled Gentoo 1.4 installation.
This is odd. Very odd...

--- "m. allan noah" <anoah at pfeiffer.edu> wrote:
> anything in the tcpwrappers log (usually /var/log/secure) you may be being 
> blocked by your /etc/hosts.allow /hosts.deny files.
> 
> allan 
> 
> On Wed, 10 Dec 2003, Emmanuel Gravel wrote:
> 
> > 
> > --- Henning Meier-Geinitz <henning at meier-geinitz.de> wrote:
> > > Hi,
> > > 
> > > On Wed, Dec 10, 2003 at 12:33:07PM -0800, Emmanuel Gravel wrote:
> > > > Tried that too, since I found it on the net. Didn't work. I'll send the
> > > full
> > > > contents and all future testing info when I get to my system again.
> > > 
> > > Check that the group you use in xinetd.conf does exist. And that the
> > > path to the daemon is correct. It looks like a problem with xinetd
> > > starting saned. You don't use "-d" or "-s" as options for saned? That
> > > only works in stand-alone mode.
> > > 
> > > If you can't find out what's wrongf, you could move saned to
> > > saned.bin, write a wrapper shell script that prints something to
> > > /tmp/log.txt and starts saned.
> > 
> > No luck getting anything out of this right now.
> > 
> > Contents of my saned file in /etc/xinetd.d:
> > service sane
> > {
> >    port        = 6566
> >    socket_type = stream
> >    protocol    = tcp
> >    wait        = no
> >    user        = saned
> >    group       = saned
> >    disable     = no
> >    server      = /usr/sbin/saned
> > }
> > 
> > >From a standard user (i.e. not root, not saned) starting saned with -d
> works.
> > With this, xinetd is listening on 6566. It also listens on 6566 as
> standalone
> > when running as a user.
> > 
> > I did both the direct saned, and the shellscript-wrapped saned.bin. Neither
> > works, no output to text file. I tried running as a user with the shell
> wrap
> > (added -d to the script) and it works, and creates the output files.
> > 
> > Here's a which saned call:
> > xinetd.d # which saned
> > /usr/sbin/saned
> > 
> > So I really don't know where to look now. It's definetely an issue with
> xinetd
> > not passing control properly to saned, it seems, but I still don't know
> what to
> > look at. I'm not running any other server with it, so I don't know if it
> works
> > in general, but I know that there's a listener there.
> > 
> > Any ideas?
> > 
> > Thanks!


__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/




More information about the sane-devel mailing list