Package: udevil
Version: 0.4.3-1
Severity: important
Tags: patch

Dear Maintainer,

the systemd devmon@.service template unit file is shipped in the wrong
directory
/$(libdir)/systemd/system/ which is /usr/lib/x86_64-linux-gnu/systemd/system on
my system, so systemd does not see it.
This prevents the devmon per user activation as described in
/usr/share/doc/udevil/README.gz

I think the problem is that etc/Makefile.am uses
$(DESTDIR)/$(libdir)/systemd/system to install the unit file. Perhaps that
Makefile should not be used at all ( and the service file should be intalled
with
dh --with=systemd.

Kind regards,
Ondřej Grover



-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
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 udevil depends on:
ii  libc6         2.19-17
ii  libglib2.0-0  2.42.1-1
ii  libudev1      215-14

Versions of packages udevil recommends:
pn  pmount            <none>
pn  udisks | udisks2  <none>
pn  zenity            <none>

Versions of packages udevil suggests:
pn  cifs-utils  <none>
pn  curlftpfs   <none>
ii  eject       2.1.5+deb1+cvs20081104-13.1
ii  sshfs       2.5-1
--- debian/rules.old	2014-01-28 14:17:13.000000000 +0100
+++ debian/rules	2015-04-19 11:04:22.151932036 +0200
@@ -9,8 +9,11 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+# The etc/Makefile should not install systemd units, dh will
+export ADD_SYSTEMD=0
+
 %:
-	dh $@ 
+	dh --with systemd $@ 
 
 override_dh_installman:
 	dh_installman debian/devmon.1

Reply via email to