← Back to team overview

desktop-packages team mailing list archive

[Bug 1442956] Re: saned not working in Utopic or Vivid

 

In Vivid, from /lib/systemd/system/saned.service

** Attachment added: "saned.service"
   https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1442956/+attachment/4383859/+files/saned.service

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to sane-backends in Ubuntu.
https://bugs.launchpad.net/bugs/1442956

Title:
  saned not working in Utopic or Vivid

Status in SANE-backends - Backends for SANE:
  Unknown
Status in sane-backends package in Ubuntu:
  Triaged

Bug description:
  Following https://help.ubuntu.com/community/SaneDaemonTutorial worked
  in Trusty with my HP OfficeJet 5610v All-in-one plugged into a USB 2.0
  port.

  However, in Utopic, network scanning does not work. For example, in Windows 8.1 with SaneTwain 1.3.6, it used to work. Now it pops up a window:
  Error
  No devices found on backend.

  However, in the Device drop down it notes:
  hpaio:/usb/Officejet_5600_series?serial=XXXXXXXXXXXXXX

  Ubuntu 15.04 client with either xsane or simple-scan doesn't find anything. Running the following from a terminal results in either a crash or no SANE devices found as per https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1442960 :
  scanimage 192.168.1.15
  scanimage: no SANE devices found

  scanimage 192.168.1.15
  *** Error in `scanimage': double free or corruption (!prev): 0x00007f5a939fff10 ***

  The scanner works fine locally on the server via simple-scan.

  In Vivid:
  /lib/systemd/system/saned.service :
  https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1442956/+attachment/4383859/+files/saned.service

  /lib/systemd/system/saned.socket :
  https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1442956/+attachment/4383860/+files/saned.socket

  sudo systemctl restart saned.service && sudo systemctl status saned.service -l
  ● saned.service - Scanner Service
     Loaded: loaded (/lib/systemd/system/saned.service; static; vendor preset: enabled)
     Active: inactive (dead)

  Apr 22 19:40:24 pc systemd[1]: Unit saned.service entered failed state.
  Apr 22 19:40:24 pc systemd[1]: saned.service failed.
  Apr 22 19:40:24 pc systemd[1]: Starting Scanner Service...
  Apr 22 19:41:31 pc systemd[1]: Started Scanner Service.
  Apr 22 19:41:31 pc systemd[1]: Starting Scanner Service...
  Apr 22 19:41:31 pc saned[2545]: saned (AF-indep+IPv6) from sane-backends 1.0.24 starting up
  Apr 22 19:41:47 pc systemd[1]: Started Scanner Service.
  Apr 22 19:41:47 pc systemd[1]: Starting Scanner Service...
  Apr 22 19:41:47 pc saned[2574]: saned (AF-indep+IPv6) from sane-backends 1.0.24 starting up
  Apr 22 19:41:47 pc saned[2574]: check_host: access by remote host: localhost

      journalctl -xe
      Apr 22 20:04:41 pc sudo[2669]: pam_unix(sudo:session): session opened for user root by USERNAME(uid=0)
      Apr 22 20:04:41 pc polkitd(authority=local)[979]: Registered Authentication Agent for unix-process:2670:337819 (
      Apr 22 20:04:41 pc systemd[1]: Got more than one socket.
      Apr 22 20:04:41 pc systemd[1]: saned.service failed to run 'start' task: Invalid argument
      Apr 22 20:04:41 pc systemd[1]: Failed to start Scanner Service.
      -- Subject: Unit saned.service has failed
      -- Defined-By: systemd
      -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
      --
      -- Unit saned.service has failed.
      --
      -- The result is failed.
      Apr 22 20:04:41 pc systemd[1]: saned.service failed.
      Apr 22 20:04:41 pc systemd[1]: Starting Scanner Service...
      -- Subject: Unit saned.service has begun start-up
      -- Defined-By: systemd
      -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
      --
      -- Unit saned.service has begun starting up.
      Apr 22 20:04:41 pc sudo[2669]: pam_unix(sudo:session): session closed for user root

  Posting as a reference, may or may not be relevant:
  https://bugzilla.redhat.com/show_bug.cgi?id=1091566

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: sane-utils 1.0.24-1.1ubuntu1
  ProcVersionSignature: Ubuntu 3.16.0-34.45-generic 3.16.7-ckt8
  Uname: Linux 3.16.0-34-generic x86_64
  ApportVersion: 2.14.7-0ubuntu8.2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sat Apr 11 14:56:27 2015
  InstallationDate: Installed on 2015-04-09 (2 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
  SourcePackage: sane-backends
  UpgradeStatus: No upgrade log present (probably fresh install)
  mtime.conffile..etc.default.saned: 2015-04-11T13:29:50.323836
  mtime.conffile..etc.sane.d.saned.conf: 2015-04-11T14:30:15.645215

To manage notifications about this bug go to:
https://bugs.launchpad.net/sane-backends/+bug/1442956/+subscriptions


References