I checked the whole procedure on a fresh 16.04 install.

To start saned.socket first I needed to run

`sudo systemctl start saned.socket`

However, in /usr/share/doc/sane-utils/README.Debian I found the
solution: To use socket.saned from startup, you have to run

`sudo systemctl enable saned.socket`

once. The terminal tells me:

`Created symlink from
/etc/systemd/system/sockets.target.wants/saned.socket to
/lib/systemd/system/saned.socket.`

On the next reboot saned.socket starts right away. This explains why it
was started on my working machine; I definitely tried that command in my
attempts to start saned...

If you don't want that automatic start anymore, it has do be disabled
again:

`sudo systemctl disable saned.socket`


So I would conclude: This is not a bug, but a feature ;-)

-- 
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/1577137

Title:
  saned.service masked and cannot be unmasked

Status in sane-backends package in Ubuntu:
  Confirmed

Bug description:
  After upgrading to 16.04 (from 14.04) I noticed the sane daemon (sane-
  utils 1.0.25+git20150528-1ubuntu2) was no longer running. Attempting
  to manually start it results in systems complaining that the service
  is masked:

  kjetil at lucien in ~> sudo systemctl start saned
  Failed to start saned.service: Unit saned.service is masked.

  Unmasking it does not work:

  kjetil at lucien in ~> sudo systemctl unmask saned
  kjetil at lucien in ~> sudo systemctl start saned
  Failed to start saned.service: Unit saned.service is masked.

  kjetil at lucien in ~> ps u -C saned
  USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
  kjetil at lucien in ~>

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: sane-utils 1.0.25+git20150528-1ubuntu2
  ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
  Uname: Linux 4.4.0-21-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2
  Architecture: amd64
  Date: Sun May  1 13:10:31 2016
  InstallationDate: Installed on 2012-08-01 (1368 days ago)
  InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 
(20120424.1)
  SourcePackage: sane-backends
  UpgradeStatus: Upgraded to xenial on 2016-04-24 (6 days ago)
  mtime.conffile..etc.default.saned: 2016-05-01T12:51:02.879807
  mtime.conffile..etc.sane.d.saned.conf: 2016-01-10T13:57:20.785810

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to