Newsgroup: it.comp.os.linux.debian
Titolo: Debian & Sane

Su un PC recuperato in ufficio avevo installato ina RH8.0. con Sane per la 
condivisione di uno scanner SCSI e tutto ha funzionato per il meglio fino a 
quando non ho deciso di installare Debian Sarge 3.1r4.
Il problema è che se lancio saned "muore" subito e nel syslog trovo quanto 
segue:
[..]
Feb 12 10:28:34 localhost saned[3166]: saned (AF-indep+IPv6) from 
sane-backends 1.0.15 ready
Feb 12 10:28:34 localhost saned[3166]: check_host: getpeername failed: 
Socket operation on non-socket
Feb 12 10:28:34 localhost saned[3166]: init: access by host [error] denied
Feb 12 10:28:34 localhost saned[3166]: quit: exiting
[..]
Non riesco a risolvere questo errore!
Lanciando sane-find-scanner ottengo il riconoscimento dello scanner sul dev 
sg0, ma se poi lancio saned -d128 e cerco di collegarmi da un pc di rete con 
Xsane ho come riposta che non è presente alcuno scanner e l'output del debug 
sul serve è il seguente :
[saned] main: starting debug mode (level 128)
[saned] main: trying to get port for service `sane-port' (getaddrinfo)
[saned] main: [0] socket () using IPv6
[saned] main: [0] setsockopt ()
[saned] main: [0] bind () to port 6566
[saned] main: [0] listen ()
[saned] main: [1] socket () using IPv4
[saned] main: [1] setsockopt ()
[saned] main: [1] bind () to port 6566
[saned] main: [1] bind failed: Address already in use
[saned] main: waiting for control connection
[saned] saned (AF-indep+IPv6) from sane-backends 1.0.15 ready
[saned] check_host: detected an IPv4-mapped address
[saned] check_host: access by remote host: ::ffff:192.168.0.4
[saned] check_host: remote host is not IN_LOOPBACK nor IN6_LOOPBACK
[saned] check_host: local hostname: servizi
[saned] check_host: local hostname(s) (from DNS): localhost.localdomain
[saned] check_host: local hostname(s) (from DNS): localhost.localdomain
[saned] check_host: local hostname(s) (from DNS): localhost.localdomain
[saned] check_host: remote host doesn't have same addr as local
[saned] check_host: opening config file: /etc/hosts.equiv
[saned] check_host: can't open config file: /etc/hosts.equiv (No such file 
or directory)
[saned] check_host: opening config file: saned.conf
[saned] check_host: config file line: `#'
[saned] check_host: config file line: `# saned.conf'
[saned] check_host: config file line: `#'
[saned] check_host: config file line: `# The contents of the saned.conf 
file  is  a  list  of  host  names,  IP'
[saned] check_host: config file line: `# addresses or IP subnets (CIDR 
notation) that are permitted to use local'
[saned] check_host: config file line: `# SANE devices. IPv6 addresses must 
be enclosed in brackets,  and  should'
[saned] check_host: config file line: `# always  be specified in their 
compressed form.'
[saned] check_host: config file line: `#'
[saned] check_host: config file line: `# The hostname matching is not 
case-sensitive.'
[saned] check_host: config file line: `#'
[saned] check_host: config file line: `#scan-client.somedomain.firm'
[saned] check_host: config file line: `#192.168.0.1'
[saned] check_host: config file line: `
192.168.0.0/24
'
[saned] check_host: subnet with base IP = 192.168.0.0, CIDR netmask = 24
[saned] check_host: access granted from IP address 192.168.0.4 (in subnet 
192.168.0.0/24
)
[saned] init: access granted
[saned] init: access granted to michele@::ffff:192.168.0.4
[saned] process_request: waiting for request
[saned] process_request: got request 1
[saned] process_request: waiting for request
[saned] process_request: got request 10
[saned] quit: exiting
Prima che mi rispondiate vi aggiungo che ho controllato tutto quanto ho 
trovato sui tutrial google & co, ovvero:
/etc/services :
sane-port       6566/tcp        sane saned      # SANE network scanner 
daemon
/etc/inetd.conf
sane-port       stream  tcp    nowait   saned.saned /usr/local/sbin/saned 
saned
ho dato il permesso di accesso al device:
chown root.saned /dev/sg0 && chmod g+rw /dev/sg0
ho riavviato i processi.
risultato sempre lo stesso!
Consigli?