Package: fprintd Version: 0.5.0-1 Severity: normal Tags: patch User: pkg-systemd-maintain...@lists.alioth.debian.org Usertags: systemd-units
Hi, /usr/share/dbus-1/system-services/net.reactivated.Fprint.service has a reference to SystemdService=fprintd.service but that file is currently not installed. That means, fprintd is not started when running systemd. The attached patch installs the service file and also ensures that the correct path is used (you moved the service to sbindir). Michael -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable'), (200, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages fprintd depends on: ii libc6 2.17-7 ii libdbus-1-3 1.6.12-1 ii libdbus-glib-1-2 0.100.2-1 ii libfprint0 1:0.5.0-6 ii libglib2.0-0 2.36.3-3 ii libpolkit-gobject-1-0 0.105-3 fprintd recommends no packages. fprintd suggests no packages.
diff --git a/debian/fprintd.install b/debian/fprintd.install index 3513c39..3353505 100644 --- a/debian/fprintd.install +++ b/debian/fprintd.install @@ -55,3 +55,4 @@ usr/bin/fprintd-list usr/bin/fprintd-verify usr/bin/fprintd-enroll usr/bin/fprintd-delete +lib/systemd/fprintd.service diff --git a/debian/patches/0_put_fprint_daemon_in_sbin.patch b/debian/patches/0_put_fprint_daemon_in_sbin.patch index 1889d2a..ace91fd 100644 --- a/debian/patches/0_put_fprint_daemon_in_sbin.patch +++ b/debian/patches/0_put_fprint_daemon_in_sbin.patch @@ -3,8 +3,10 @@ Author: Didier Raboud <o...@debian.org> Origin: vendor Forwarded: Not needed, vendor-specific Last-update: 2012-05-11 ---- a/src/Makefile.am -+++ b/src/Makefile.am +Index: fprintd-0.5.0/src/Makefile.am +=================================================================== +--- fprintd-0.5.0.orig/src/Makefile.am 2013-07-24 21:24:26.656569320 +0200 ++++ fprintd-0.5.0/src/Makefile.am 2013-07-24 21:24:26.648569228 +0200 @@ -4,7 +4,7 @@ CLEANFILES = $(BUILT_SOURCES) EXTRA_DIST = manager.xml device.xml fprintd-marshal.list @@ -14,8 +16,10 @@ Last-update: 2012-05-11 noinst_LTLIBRARIES = libfprintd.la AM_CFLAGS = $(WARN_CFLAGS) $(FPRINT_CFLAGS) $(DAEMON_CFLAGS) -DLOCALEDIR=\""$(datadir)/locale"\" -DPLUGINDIR=\""$(libdir)/fprintd/modules"\" ---- a/data/Makefile.am -+++ b/data/Makefile.am +Index: fprintd-0.5.0/data/Makefile.am +=================================================================== +--- fprintd-0.5.0.orig/data/Makefile.am 2013-07-24 21:24:26.656569320 +0200 ++++ fprintd-0.5.0/data/Makefile.am 2013-07-24 21:24:39.264714209 +0200 @@ -4,7 +4,7 @@ dbus_services_DATA = $(dbus_services_in_files:.service.in=.service) @@ -25,3 +29,12 @@ Last-update: 2012-05-11 dbus_confdir = $(sysconfdir)/dbus-1/system.d dbus_conf_DATA = net.reactivated.Fprint.conf +@@ -15,7 +15,7 @@ + systemdservicedir = $(systemdsystemunitdir) + systemdservice_DATA = $(systemdservice_in_files:.service.in=.service) + $(systemdservice_DATA): $(systemdservice_in_files) Makefile +- @sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@ ++ @sed -e "s|\@libexecdir\@|$(sbindir)|" $< > $@ + endif + + polkitdir = $(datadir)/polkit-1/actions diff --git a/debian/rules b/debian/rules index 2eb5460..fa39482 100755 --- a/debian/rules +++ b/debian/rules @@ -6,7 +6,7 @@ DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) dh $@ --fail-missing --parallel # Configuration arguments -CONFIG_ARGS = --enable-pam --disable-silent-rules +CONFIG_ARGS = --enable-pam --disable-silent-rules --with-systemdsystemunitdir=/lib/systemd/ ifneq (,$(filter fprintd-doc,$(shell dh_listpackages))) CONFIG_ARGS += --enable-gtk-doc