Package: sane-utils
Version: 1.0.24-3
Severity: normal

I noticed while looking at this package that saned.socket sets
"Accept=yes", but this disagrees with saned.service being
single-instance. Therefore, connecting to port 6566 just makes systemd
complain that it doesn't know what to do:

Nov 11 22:08:07 amaranth systemd[1]: saned.socket failed to queue service 
startup job (Maybe the service file is missing or not a template unit?): 
Invalid argument
Nov 11 22:08:07 amaranth systemd[1]: Unit saned.socket entered failed state.

According to systemd.socket(5):

For each socket file, a matching service file must exist, describing the
service to start on incoming traffic on the socket (see systemd.service(5) for
more information about .service files). The name of the .service unit is by
default the same as the name of the .socket unit, but can be altered with the
Service= option described below. Depending on the setting of the Accept= option
described below, this .service unit must either be named like the .socket unit,
but with the suffix replaced, unless overridden with Service=; or it must be a
template unit named the same way. Example: a socket file foo.socket needs a
matching service foo.service if Accept=false is set. If Accept=true is set, a
service template file foo@.service must exist from which services are
instantiated for each incoming connection.

So, either "Accept" be disabled, or the service unit needs to be named 
saned@.service. I suggest the former, since saned was designed for inetd.

I'll note that I don't actually use this package myself, so I can't confirm if 
it is otherwise working. I only saw this while reviewing the files.


-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing-proposed-updates'), 
(500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sane-utils depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.53
ii  libavahi-client3       0.6.31-4+b1
ii  libavahi-common3       0.6.31-4+b1
ii  libc6                  2.19-12
ii  libieee1284-3          0.2.11-12
ii  libsane                1.0.24-3
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-4+b1
pn  unpaper       <none>

-- debconf information:
* sane-utils/saned_scanner_group: false
* sane-utils/saned_run: false


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to