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 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org