Debian Bug report logs -
#778268
'Alias=saned' line causes problematic running of saned@.service
Reported by: Keith Z-G <keithzg@gmail.com>
Date: Thu, 12 Feb 2015 23:03:01 UTC
Severity: important
Found in version sane-backends/1.0.24-8
Fixed in version sane-backends/1.0.24-10
Done: Jörg Frings-Fürst <debian@jff-webhosting.net>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Jörg Frings-Fürst <debian@jff-webhosting.net>:
Bug#778268; Package sane-utils.
(Thu, 12 Feb 2015 23:03:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Keith Z-G <keithzg@gmail.com>:
New Bug report received and forwarded. Copy sent to Jörg Frings-Fürst <debian@jff-webhosting.net>.
(Thu, 12 Feb 2015 23:03:06 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: sane-utils
Version: 1.0.24-8
Severity: important
Dear Maintainer,
After upgrading my Pi 2 Debian install from wheezy to jessie, I was
running into systemd chewing up as much CPU power as it could get its
hands on. Running 'journalctl -f' showed it printing "Looping too
fast. Throttling execution a little." approximately every 2 seconds
for quite a while after system boot. Although this stopped after some
uptime, the high CPU usage remained. Running "systemctl --failed"
showed that "saned.service" had failed. This causes other issues, such
as a lack of any VTs and an inability to normally reboot (although a
shutdown can be forced by killing PID 1, but that's hardly ideal!).
A quick trip to the #debian-systemd channel on OFTC seems to have
established that this is because of the "Alias=saned" line at the end
of the /lib/systemd/system/saned@.service file, which is packaged with
sane-utils.
Apparently, "when /etc/init.d/sane goes up, systemd hits up
saned@.service, which it should not" because "saned@.service should
only go up with saned.socket". Two people on the channel recommended
dropping the "Alias=saned" line, and one also suggested that a
/dev/null symlink should be packaged for
/lib/systemd/system/saned.service. In theory, any program attempting
to access a scanner will just be poking [::]6566 anyways, which then
will prompt systemd to run saned@.service. Although I think I
understand that, I won't claim to be sure; what I am sure of is that
removing the "Alias=saned" line does indeed solve the problem for me.
(Apologies if anything is incomplete or mistaken in this bug report,
after many years using Debian and derivatives this is actually my
first time directly submitting a bug here. Cheers!)
-- System Information:
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 8.0 (jessie)
Release:
8.0
Codename: jessie
Architecture: armv7l
Kernel: Linux 3.18.5-v7+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8,
LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
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.55
ii
init-system-helpers 1.22
ii
libavahi-client3 0.6.31-4
ii libavahi-common3 0.6.31-4
ii
libc6 2.19-13
ii libieee1284-3 0.2.11-12
ii libsane 1.0.24-8
ii libsystemd0 215-11
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:
pn avahi-daemon <none>
pn unpaper <none>
-- debconf information:
sane-utils/saned_run: false
sane-utils/saned_scanner_group: true
Information forwarded
to debian-bugs-dist@lists.debian.org:
Bug#778268; Package sane-utils.
(Fri, 13 Feb 2015 11:09:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Jörg Frings-Fürst <debian@jff-webhosting.net>:
Extra info received and forwarded to list.
(Fri, 13 Feb 2015 11:09:05 GMT) (full text, mbox, link).
Message #10 received at 778268@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tags 778268 + moreinfo
thanks
Hello Keith,
thank you for spending your time helping to make Debian better with this
bug report.
First sorry for my late answer, at the moment I have some trouble with a
flu.
Please can you give the date/time of the irc session with
debian-systemd?
CU
Jörg
--
New:
GPG Fingerprint: 63E0 075F C8D4 3ABB 35AB 30EE 09F8 9F3C 8CA1 D25D
GPG key (long) : 09F89F3C8CA1D25D
GPG Key : 8CA1D25D
CAcert Key S/N : 0E:D4:56
Old pgp Key: BE581B6E (revoked since 2014-12-31).
Jörg Frings-Fürst
D-54526 Niederkail
Threema: SYR8SJXB
IRC: j_f-f@freenode.net
j_f-f@oftc.net
My wish list:
- Please send me a picture from the nature at your home.
[signature.asc (application/pgp-signature, inline)]
Added tag(s) moreinfo.
Request was from Jörg Frings-Fürst <debian@jff-webhosting.net>
to control@bugs.debian.org.
(Fri, 13 Feb 2015 11:09:08 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Jörg Frings-Fürst <debian@jff-webhosting.net>:
Bug#778268; Package sane-utils.
(Fri, 13 Feb 2015 21:03:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Keith Z-G <keithzg@gmail.com>:
Extra info received and forwarded to list. Copy sent to Jörg Frings-Fürst <debian@jff-webhosting.net>.
(Fri, 13 Feb 2015 21:03:04 GMT) (full text, mbox, link).
Message #17 received at 778268@bugs.debian.org (full text, mbox, reply):
No worries about the time of reply, I seem to be lagging somewhat
myself here! The conversation in #debian-systemd on OFTC was from
about 21:00 UTC to ~22:30 UTC, 2015-02-12 (in other words, at about
this time yesterday). Help was provided to me (in order of appearance)
by Brigo, mbiebl_, scientes, and Alam_Squeeze.
Removed tag(s) moreinfo.
Request was from Jörg Frings-Fürst <debian@jff-webhosting.net>
to control@bugs.debian.org.
(Sat, 14 Feb 2015 12:57:14 GMT) (full text, mbox, link).
Added tag(s) pending.
Request was from Jörg Frings-Fürst <debian@jff-webhosting.net>
to control@bugs.debian.org.
(Sat, 14 Feb 2015 12:57:15 GMT) (full text, mbox, link).
Reply sent
to Jörg Frings-Fürst <debian@jff-webhosting.net>:
You have taken responsibility.
(Fri, 08 May 2015 12:27:38 GMT) (full text, mbox, link).
Notification sent
to Keith Z-G <keithzg@gmail.com>:
Bug acknowledged by developer.
(Fri, 08 May 2015 12:27:38 GMT) (full text, mbox, link).
Message #26 received at 778268-close@bugs.debian.org (full text, mbox, reply):
Source: sane-backends
Source-Version: 1.0.24-10
We believe that the bug you reported is fixed in the latest version of
sane-backends, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 778268@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jörg Frings-Fürst <debian@jff-webhosting.net> (supplier of updated sane-backends package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 08 May 2015 11:01:35 +0200
Source: sane-backends
Binary: sane-utils libsane-common libsane libsane-dev libsane-dbg
Architecture: source amd64 all
Version: 1.0.24-10
Distribution: unstable
Urgency: high
Maintainer: Jörg Frings-Fürst <debian@jff-webhosting.net>
Changed-By: Jörg Frings-Fürst <debian@jff-webhosting.net>
Description:
libsane - API library for scanners
libsane-common - API library for scanners -- documentation and support files
libsane-dbg - API development library for scanners [debug symbols]
libsane-dev - API development library for scanners [development files]
sane-utils - API library for scanners -- utilities
Closes: 418630 446015 726588 778268 782971 783822
Changes:
sane-backends (1.0.24-10) unstable; urgency=high
.
* New debian/TROUBLESHOOTING.debian:
- Add part for "usbfs: interface 1 claimed by usblp while
‘scanimage’ sets config #1 (Closes: #726588).
* Add reference to TROUBLESHOOTING.debian in debian/README.debian.
* New debian/patches/001-scanimage_manpage.patch:
- Add remark for parameter to manpage (Closes: #418630).
* New debian/patches/0005-mk_reproducible_results.patch:
- Make builds reproducible.
* debian/control:
- On package libsane-dev change Depends from libgphoto2-2-dev to
libgphoto2-dev (auto-libgphoto2 transition) (Closes: #783822).
- On package libsane remove package hpoj from Suggests.
- Remove useless replaces because latest release in stable is 1.0.22-7:
+ sane-utils: libsane (<< 1.0.11-4)
+ libsane-common: libsane (<< 1.0.22-4~)
+ libsane: libsane-extras (<< 1.0.18.14)
+ libsane-dev: libsane-extras-dev (<< 1.0.18.14)
+ libsane-dbg: libsane-extras-dbg (<< 1.0.18.14)
- Remove "libv4l-dev [linux-any]" from Build-Depends and Depends.
- To enable net SNMP, add libsnmp-dev to Build-Depends.
- To autodetect network scanners in kodakaio, add libcups2-dev
to Build-Depends.
- Remove unnecessary *-dev and pkg-config from Depends of libsane-dev.
* debian/rules:
- Enable pnm backend for testing.
- Remove override_dh_builddeb because xz compression is now standard.
- Add configure parameter --without-vl4 to disable v4l backend:
+ The backend was written for kernel 2.4 and v4l, now
we are at kernel 3.16 and v4l2 (Closes: #446015).
- Remove configure parameter -with-snmp=no to enable net SNMP.
* debian/saned@.service:
- Remove Alias from [Install] section (Closes: #778268).
* sane-utils.[postinst|postrm]:
- Replace fixed path with a POSIX-compliant shell function to check
the existence of a command.
* Add autopkgtests:
- debian/control:
+ Add Testsuite: autopkgtest.
- New debian/tests/control.
- New debian/tests/start-net:
+ Test network interface activation with systemd.
* Add symbols file:
- debian/rules: Rewrite override_dh_makeshlibs.
* Comment out "set -e" at debian/sane-utils.postrm
to fix some minor errors during piuparts.
* debian/saned@.service:
- Change StandardInput=socket to StandardInput=null to enable
working over network (Closes: #782971).
* debian/libsane-common.preinst:
- Remove oldstyle rm_conffile() function.
- Remove obsolete transition from the old-style udev setup.
- Add removal for obsolete /etc/sane.d/v4l.conf via
dpkg-maintscript-helper command rm_conffile.
Checksums-Sha1:
cf93018e63f2ddf46ea9fc6ba284482e6c739bb3 2484 sane-backends_1.0.24-10.dsc
c10bcb30a1b092b2c2fe5a86d6a5efc29123ccf9 5778749 sane-backends_1.0.24.orig.tar.gz
de951f2079758c866de0027a27060e4cff5357a0 107696 sane-backends_1.0.24-10.debian.tar.xz
342bb9aba57fe7f89198ca5f419a24f9ce55a09e 224550 sane-utils_1.0.24-10_amd64.deb
f8dcab7c5838faeb3dc48d7f94eb19a95b48065b 999386 libsane-common_1.0.24-10_all.deb
f6f77178e0ac63d9dc999ef453f969e721c988c4 2052716 libsane_1.0.24-10_amd64.deb
de4467122884705ea18f96234b91dfea767ebc32 2209714 libsane-dev_1.0.24-10_amd64.deb
acea6453ca4f0ac9c33da2257693178953c39aa1 6121018 libsane-dbg_1.0.24-10_amd64.deb
Checksums-Sha256:
b3d19b61b7a548a43141a11ab8d1d8fe1159c1e48f8c9dee855ce4ed75691e76 2484 sane-backends_1.0.24-10.dsc
27c7085a54f1505d8b551e6f1e69d30e1ee57328b18429bb2225dabf4c45462d 5778749 sane-backends_1.0.24.orig.tar.gz
a6a4d60aa494a1fc8e369a22a6e851208961848ad345a969a10c9a776626a93e 107696 sane-backends_1.0.24-10.debian.tar.xz
75350b7034691e389a2270f4722de5a607fc258aba16e951613bce1dea05b715 224550 sane-utils_1.0.24-10_amd64.deb
c795409fe599d1738cafefc610fb463c0d92867aecd5f73c84d051e6cd97f09b 999386 libsane-common_1.0.24-10_all.deb
629a8a00a4fdbf2abf8db24ba1000f8981b02d7069c275c18b4ddea968876ed6 2052716 libsane_1.0.24-10_amd64.deb
c54cf9a1b6d8e5f9830b7d8cc56a9eaf789079f79a810beeeebf53f4ba890d2a 2209714 libsane-dev_1.0.24-10_amd64.deb
b5c0642f8c358a998fe06186e0245965af2767fd9a38a196878143c1eb529a5b 6121018 libsane-dbg_1.0.24-10_amd64.deb
Files:
01d40d0bc32e821e6fbafba146db535a 2484 graphics optional sane-backends_1.0.24-10.dsc
1ca68e536cd7c1852322822f5f6ac3a4 5778749 graphics optional sane-backends_1.0.24.orig.tar.gz
bfacfd48de67f42a76aa1bc938a0bd65 107696 graphics optional sane-backends_1.0.24-10.debian.tar.xz
578790e5aff48b4d27df637631c51ee7 224550 graphics optional sane-utils_1.0.24-10_amd64.deb
f3272e9664a19d10ff28a15dc0f110ba 999386 libs optional libsane-common_1.0.24-10_all.deb
ec7346a5d736e5532debe3a49eedd88d 2052716 libs optional libsane_1.0.24-10_amd64.deb
d0362d9a5c31ff23c84e57e8ee749b3f 2209714 libdevel optional libsane-dev_1.0.24-10_amd64.deb
9dd106f4ef4fc9218dbd818647c34596 6121018 debug extra libsane-dbg_1.0.24-10_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJVTKaSAAoJEHQmOzf1tfkTXLUQAMJvlG6d7QPy7pXq8uKZ+yOw
xT1sRlhOTJnyeTk3riY3ZGOhNRDAAxrF+wvcXHCw0OQPfa6d6mtWZ4aT9hiYUS5U
CxhJkHMEhVGv5BEkmf8TM5Qh1ZZqj+TWx4tOfkAhK4FT5wBXOfUll2YYXbZpUS3w
B9bE2TKS+xBe+Ig//Eg6YWF/QoKoMoiZw/mR5JS5zDwfSfC/3bZsccv8acVTu+FA
mh+hdZcm7W3amRuVl/gIyUep7atHJyYbIL/AhtSLORausdNAFMiHzHzqb7uPqIbk
CJqeRz2vtmFqzaW0kY2WuPwf2mc3/iSQwJ+x0iUfNGbEDAsrxo1G2ilQXcOLgUWt
1oHWV8Slmo04X6nlDXNsTjW3jMFKwQff80sycDCA6qYkx1da/RaFzx8zLr1+UrCc
Mcdh53OAw0JX1VCbvm6UNNoIeV6eSkZC2CSq7a0TFIwRlj7NFJ5FvNQqVwRzG5OH
IdStN9kt2IOmbQSOwCKOehq5QK+qm1d/IsPIsrw7xgNEpnLuZgTlECgtBWE/bBcG
fD3LGO9V6SYy0WVhW7b/k5RiEdt8lBEbAQ8NYX29555l6Bv689ZAAHX+fUJIc3X4
ldbkAf64vixqeIBGSOOmhkEZBQgjBbYdYj0O6iMI2ojQ7Oe4RNsd08m9DaEaUudJ
iEw2EE/+xxtxkcXSdR/G
=R2lL
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Wed, 10 Jun 2015 07:33:03 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Thu Jan 4 03:55:56 2018;
Machine Name:
beach
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.