Bug#783873: closed by Rolf Leggewie debian-b...@rolf.leggewie.biz (Re: scanbd does not work as a service but works fine from a console)
Thank you for you answer. I will update the package. But perhaps i miss something, how can it be a configuration problem? i'm using the same conf file with systemd (not working) and with command line (working). 2015-05-10 14:21 GMT+02:00 Debian Bug Tracking System ow...@bugs.debian.org : This is an automatic notification regarding your Bug report which was filed against the scanbd package: #783873: scanbd does not work as a service but works fine from a console It has been closed by Rolf Leggewie debian-b...@rolf.leggewie.biz. Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Rolf Leggewie debian-b...@rolf.leggewie.biz by replying to this email. -- 783873: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783873 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- Message transféré -- From: Rolf Leggewie debian-b...@rolf.leggewie.biz To: 783873-d...@bugs.debian.org Cc: Date: Sun, 10 May 2015 14:19:27 +0200 Subject: Re: scanbd does not work as a service but works fine from a console On Thu, 30 Apr 2015 22:10:37 +0200 Mathieu Ruellan mathieu.ruel...@gmail.com wrote: Package: scanbd Version: 1.4.0-2 Severity: important Dear Maintainer, When i launch scanbd with systemctl and i press a button, nothing happens. There is no error or event message in syslog at start or if i press a button. When i launch it from a console sudo -u saned -g scanner scanbd -f, it works. I don't really see what could be the problem. This sounds pretty familiar. In the end, it is almost certainly a configuration problem. scanbd 1.4.1-2 and later have some improved detection algorithms to find common configuration errors. You might want to install that version. -- Message transféré -- From: Mathieu Ruellan mathieu.ruel...@gmail.com To: Debian Bug Tracking System sub...@bugs.debian.org Cc: Date: Thu, 30 Apr 2015 22:10:37 +0200 Subject: scanbd does not work as a service but works fine from a console Package: scanbd Version: 1.4.0-2 Severity: important Dear Maintainer, When i launch scanbd with systemctl and i press a button, nothing happens. There is no error or event message in syslog at start or if i press a button. When i launch it from a console sudo -u saned -g scanner scanbd -f, it works. I don't really see what could be the problem. Kind regards, Mathieu Ruellan -- System Information: Debian Release: 8.0 APT prefers stable APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing') Architecture: i386 (x86_64) Foreign Architectures: amd64 Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) Versions of packages scanbd depends on: ii libc62.19-18 ii libconfuse0 2.7-5 ii libdbus-1-3 1.8.16-1 ii libsane 1.0.24-9 ii libudev1 215-17 ii sane-utils 1.0.24-9 scanbd recommends no packages. scanbd suggests no packages. -- Configuration Files: /etc/scanbd/scanbd.conf changed: /* * $Id: scanbd.conf 191 2013-09-23 09:55:27Z wimalopaan $ * * scanbd - KMUX scanner button daemon * * Copyright (C) 2008 - 2013 Wilhelm Meier (wilhelm.me...@fh-kl.de) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ global { # turn on debugging # log to console debug = true # debug logging # 1=error, 2=warn, 3=info, 4-7=debug debug-level = 2 # drop priviliges to this user #= # Linux (most distributions use the saned user): # user= saned # ArchLinux (ArchLinux doesn't have saned user) # user= daemon # *BSD # user= root user= saned # Group to be used #= # Linux (most distributions use the lp group to access scanners) # group = lp # ArchLinux (ArchLinux uses the scanner group) # group = scanner # # *BSD (no group lp
Bug#783873: Info received (Bug#783873 closed by Rolf Leggewie debian-b...@rolf.leggewie.biz (Re: scanbd does not work as a service but works fine from a console))
Upgraded to 1.4.1-5 (experimental) with the same conf file and now it works like a charm. Thank you. 2015-05-10 14:33 GMT+02:00 Debian Bug Tracking System ow...@bugs.debian.org : Thank you for the additional information you have supplied regarding this Bug report. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): Rolf Leggewie f...@rolf.leggewie.biz If you wish to submit further information on this problem, please send it to 783...@bugs.debian.org. Please do not send mail to ow...@bugs.debian.org unless you wish to report a problem with the Bug-tracking system. -- 783873: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783873 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#783873: closed by Rolf Leggewie debian-b...@rolf.leggewie.biz (Re: scanbd does not work as a service but works fine from a console)
the package 1.4.1-2 doesn't exist.I will try with the experimental repository. 2015-05-10 14:21 GMT+02:00 Debian Bug Tracking System ow...@bugs.debian.org : This is an automatic notification regarding your Bug report which was filed against the scanbd package: #783873: scanbd does not work as a service but works fine from a console It has been closed by Rolf Leggewie debian-b...@rolf.leggewie.biz. Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Rolf Leggewie debian-b...@rolf.leggewie.biz by replying to this email. -- 783873: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783873 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- Message transféré -- From: Rolf Leggewie debian-b...@rolf.leggewie.biz To: 783873-d...@bugs.debian.org Cc: Date: Sun, 10 May 2015 14:19:27 +0200 Subject: Re: scanbd does not work as a service but works fine from a console On Thu, 30 Apr 2015 22:10:37 +0200 Mathieu Ruellan mathieu.ruel...@gmail.com wrote: Package: scanbd Version: 1.4.0-2 Severity: important Dear Maintainer, When i launch scanbd with systemctl and i press a button, nothing happens. There is no error or event message in syslog at start or if i press a button. When i launch it from a console sudo -u saned -g scanner scanbd -f, it works. I don't really see what could be the problem. This sounds pretty familiar. In the end, it is almost certainly a configuration problem. scanbd 1.4.1-2 and later have some improved detection algorithms to find common configuration errors. You might want to install that version. -- Message transféré -- From: Mathieu Ruellan mathieu.ruel...@gmail.com To: Debian Bug Tracking System sub...@bugs.debian.org Cc: Date: Thu, 30 Apr 2015 22:10:37 +0200 Subject: scanbd does not work as a service but works fine from a console Package: scanbd Version: 1.4.0-2 Severity: important Dear Maintainer, When i launch scanbd with systemctl and i press a button, nothing happens. There is no error or event message in syslog at start or if i press a button. When i launch it from a console sudo -u saned -g scanner scanbd -f, it works. I don't really see what could be the problem. Kind regards, Mathieu Ruellan -- System Information: Debian Release: 8.0 APT prefers stable APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing') Architecture: i386 (x86_64) Foreign Architectures: amd64 Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) Versions of packages scanbd depends on: ii libc62.19-18 ii libconfuse0 2.7-5 ii libdbus-1-3 1.8.16-1 ii libsane 1.0.24-9 ii libudev1 215-17 ii sane-utils 1.0.24-9 scanbd recommends no packages. scanbd suggests no packages. -- Configuration Files: /etc/scanbd/scanbd.conf changed: /* * $Id: scanbd.conf 191 2013-09-23 09:55:27Z wimalopaan $ * * scanbd - KMUX scanner button daemon * * Copyright (C) 2008 - 2013 Wilhelm Meier (wilhelm.me...@fh-kl.de) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ global { # turn on debugging # log to console debug = true # debug logging # 1=error, 2=warn, 3=info, 4-7=debug debug-level = 2 # drop priviliges to this user #= # Linux (most distributions use the saned user): # user= saned # ArchLinux (ArchLinux doesn't have saned user) # user= daemon # *BSD # user= root user= saned # Group to be used #= # Linux (most distributions use the lp group to access scanners) # group = lp # ArchLinux (ArchLinux uses the scanner group) # group = scanner # # *BSD (no group lp here, use daemon instead) # group = daemon # root # group = scanner # the saned executable