Right!

I never tried issuing the start command without the files in /etc. At
that point I assumed it should just start working when I put the files
there. Removing the files in /etc and explicitly stopping/restarting the
saned.socket service, it indeed still works.

But this means the system is back to how it was when I first reported
the issue. I guess there must have been an update to some systemd
related package making the saned.socket service start on boot. However,
I cannot see anything that seems relevant in the changelogs. I haven't
rebooted since upgrading to Xenial, so it is difficult to say when that
might have happened.

Without the start command, systemctl status saned.socket reports
"Active: inactive (dead)"

To sum up: It seems that, confusingly, the saned service is masked and
impossible to unmask by design, and instead the saned.socket service
needs to be running for networked scanning to work.

Since this is a multi purpose server, I am reluctant to reboot it. Can
you confirm that everything on your setup is back to the stock config
and that it still works after a reboot?

-- 
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:
  sane 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     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to