Bug#778268: 'Alias=saned' line causes problematic running of saned@.service

2015-02-13 Thread Jörg Frings-Fürst
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_...@freenode.net
 j_...@oftc.net

My wish list: 
 - Please send me a picture from the nature at your home.




signature.asc
Description: This is a digitally signed message part


Bug#778268: 'Alias=saned' line causes problematic running of saned@.service

2015-02-13 Thread Keith Z-G
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.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#778268: 'Alias=saned' line causes problematic running of saned@.service

2015-02-12 Thread Keith Z-G
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  adduser3.113+nmu3

ii  debconf [debconf-2.0]  1.5.55
   ii
init-system-helpers1.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  libsane1.0.24-8
ii  libsystemd0215-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