Bug#612084: rtkit: does not start when using systemd as init

Daniel Schaal farbing at web.de
Sat Feb 5 17:12:02 UTC 2011


Package: rtkit
Version: 0.9-2
Severity: normal
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

When using systemd, rtkit-daemon is not started due to the service
file not being installed.

rtkit already ships a .service file, which is installed either
by build-depending on systemd or by manually setting 
- --with-systemdsystemunitdir=/lib/systemd/system as a configure flag.

The attached patch does the latter.

- -- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (102, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages rtkit depends on:
ii  adduser                       3.112+nmu2 add and remove users and groups
ii  libc6                         2.11.2-11  Embedded GNU C Library: Shared lib
ii  libcap2                       1:2.19-3   support for getting/setting POSIX.
ii  libdbus-1-3                   1.4.1-1    simple interprocess messaging syst

rtkit recommends no packages.

rtkit suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJNTYTcAAoJEPj9ctpufsW7qdIQAN5WUMqSY8OWHQg9jjSloM6E
Gdgm8TI3KzlqOs2Tob+I7xWF/RhBXjIY3Vz8OJ4EIdudSAUGl+kgzmtnrYKop60Y
RXdDNqEsdOIH6KgfreQk3mr4//rfL+SX5HLKztVJsCQ2337W2esydMxX8n28/Ero
OHfGEW7vefFGAjLOr6ocIv7/vZpEz6IumHF58JtBYOUDvb/eMYgATn6VmZ71RqWH
JTZUjHxUQ/J4Oh7hoMczMx90UpnfJZWhzsabVNrh8E0n/T4q3y1uWToR1I6415Nr
YeSYJhHzWqeQ7VkphMUzTen2LiFsonEukLcgMzEJdZmISo5UpdeYwbBw+LimE3wq
e7G8PrN3uwjZgVxMhw4y+p1Ch+jl8dVgBZaFEDR8PmXENVF6ASf49YQ6vu6mSQE0
R7lhdbRCZ5YXHrTWHo/OkP/PGwokGDY24fmVWS9pjIhXor56j3MHYz3N9xNHfQte
FXg4q1vbW82uy7C1vK9aq/FKrlOl8QkPNDewx1Nuev8FqUcARoG7fozx0Zyku4Xi
C0z8NfvMqCyLQfAvCs4ee99ysogIBENRxCwby+jRHEef1jF6tPAtdSOhh7mg36Ye
LhQnut6e8P2lSHf8ilXb3KUxW1HsBNq5ic/9uAI99919UJhwtuR0qE+nWorZwWNX
SE1Uiq81ZS2WluHPwpCi
=MzZY
-----END PGP SIGNATURE-----
-------------- next part --------------
>From ccecc2d32e64e2ef083df5c8d09794815ba6a685 Mon Sep 17 00:00:00 2001
From: Daniel Schaal <farbing at web.de>
Date: Sat, 5 Feb 2011 16:22:34 +0100
Subject: [PATCH] pass systemd unit dir to configure

---
 debian/rules |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/debian/rules b/debian/rules
index 5d70afa..60db767 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,8 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/autotools.mk
 
+DEB_CONFIGURE_EXTRA_FLAGS := --with-systemdsystemunitdir=/lib/systemd/system
+
 common-install-arch::
 	$(CURDIR)/rtkit-daemon --introspect > org.freedesktop.RealtimeKit1.xml
 	install -m 644 -D org.freedesktop.RealtimeKit1.xml $(CURDIR)/debian/rtkit/usr/share/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml
-- 
1.7.2.3



More information about the pkg-multimedia-maintainers mailing list