[sane-devel] IPV6 Only?
Louis Lagendijk
louis at fazant.net
Thu Jul 9 20:16:13 BST 2020
On Wed, 2020-07-08 at 08:08 +0200, Simon Matter via sane-devel wrote:
> > Just installed saned to a raspberry pi running centos. When I
> > first
> > started saned.socket it failed with "saned.socket failed to listen
> > on
> > sockets: Address family not supported by protocol".
> >
> > Huh?
> >
> > Turns out it will only start in IPV6 and I have that disabled in
> > the
> > kernel. (sysctl) When I enabled IPV6 the daemon started fine...
> > but
> > only on IPV6.
> >
> > And it's disobeying my directive in net.conf to only listen on
> > localhost, instead listening on *.
> >
> > systemd 1 root 43u IPv6 12327 0t0 TCP *:6566 (LISTEN)
> >
> > Name : sane-backends
> > Version : 1.0.24
> > Release : 12.el7
> > Architecture: armv7hl
> >
> > What am I doing wrong?
>
> You are using systemd :-)
>
> What you see listening is not saned but systemd, that's why it
> doesn't
> obey to what you have configured in net.conf.
>
> I guess you have to fiddle with the systemd config now.
>
> Regards,
> Simon
>
Should be simple: change the ListenStream line in the sample socket
file as described in the man-page for saned to:
ListenStream=<address>:6566
that should do the trick
/Louis
More information about the sane-devel
mailing list