Package: sane-utils
Version: 1.0.24-8
Severity: important
Tags: patch
Hi,
After an upgrade to jessie, I've been enable to access my scanner through
network. Of course, I correctly enabled and started the saned.socket systemd
unit.
Any access try (with xsane on remote machine or even with
"telnet saned-server 6566") leads to the following syslog lines:
Apr 19 23:20:40 kooot saned[32317]: saned (AF-indep+IPv6) from sane-backends
1.0.24 starting up
Apr 19 23:20:40 kooot saned[32317]: check_host: access by remote host: localhost
Apr 19 23:20:40 kooot saned[32317]: init: access by host localhost denied
Apr 19 23:20:40 kooot saned[32317]: saned exiting
After reading various things on Internet, I succeed in finding the
configuration error in the "saned" manpage itself:
========
SYSTEMD CONFIGURATION
[...]
StandardInput=null
[...]
========
and not
StandardInput=socket
as currently shipped in /lib/systemd/system/saned\@.service
I put the line from the manpage into the saned\@.service unit file,
called "systemctl daemon-reload" and now all is working perfectly.
Here is a extract of my current logs:
Apr 19 23:21:07 kooot saned[32344]: saned (AF-indep+IPv6+systemd) from
sane-backends 1.0.24 starting up
Apr 19 23:21:07 kooot saned[32344]: check_host: access by remote host:
::ffff:10.77.0.3
Apr 19 23:21:07 kooot saned[32344]: init: access granted to
vdanjean@::ffff:10.77.0.3
Apr 19 23:21:17 kooot saned[32344]: saned exiting
And xsane allows me to scan my page...
PS: upgrading sane-utils to 1.0.24-9 does not change anything (same problem,
same solution)
PPS: a fix in jessie as soon as possible seems appropriate to me.
Regards
Vincent
-- System Information:
Debian Release: 8.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable-updates'), (500,
'oldstable-updates'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'),
(1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages sane-utils depends on:
ii adduser 3.113+nmu3
ii debconf [debconf-2.0] 1.5.56
ii init-system-helpers 1.22
ii libavahi-client3 0.6.31-5
ii libavahi-common3 0.6.31-5
ii libc6 2.19-18
ii libieee1284-3 0.2.11-12
ii libsane 1.0.24-8
ii libsystemd0 215-16
ii libusb-1.0-0 2:1.0.19-1
ii update-inetd 4.43
sane-utils recommends no packages.
Versions of packages sane-utils suggests:
ii avahi-daemon 0.6.31-5
pn unpaper <none>
-- Configuration Files:
/etc/sane.d/saned.conf changed:
10.77.2.0/22
192.168.77.0/24
[::1]
127.0.0.1
-- debconf information:
* sane-utils/saned_scanner_group: true
* sane-utils/saned_run: false
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]