Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#779347: keepalived: is missing a systemd service unit

45 views
Skip to first unread message

Robert Euhus

unread,
Feb 27, 2015, 9:30:03 AM2/27/15
to
Package: keepalived
Version: 1:1.2.13-1
Severity: normal

Dear Maintainer,

* The keepalived package does not include a systemd service unit
(keepalived.conf).
* This results in some usability problems if used with salt(-minion)
or puppet, see #760616
* In short: 'systemctl is-enabled keepalived' does not work,
so salt never knows it is enabled
* I have a simple patch available, which I will attach to the bug
report

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

Kernel: Linux 3.16.0-4-amd64 (SMP w/24 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 keepalived depends on:
ii iproute 1:3.16.0-2
ii ipvsadm 1:1.26-3
ii libc6 2.19-13
ii libnl-3-200 3.2.24-2
ii libnl-genl-3-200 3.2.24-2
ii libpci3 1:3.2.1-3
ii libsensors4 1:3.3.5-2
ii libsnmp30 5.7.2.1~dfsg-7
ii libssl1.0.0 1.0.1k-1
ii libwrap0 7.6.q-25

keepalived recommends no packages.

keepalived suggests no packages.

-- Configuration Files:
/etc/default/keepalived changed [not included]

-- no debconf information


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

Robert Euhus

unread,
Feb 27, 2015, 10:10:04 AM2/27/15
to
Hi,

I have included a small patch to provide a systemd service file and use
dh-systemd for proper installation and activation.

The included keepalived.service is inspired by the ones from Arch Linux
and Fedora and the instructions on the debian wiki on systemd packaging.

I am not sure, if the 'systemd-journald-dev-log.socket' in 'After=' is
really neseccary, but it surely does not hurt.

With this patch I have successfully build a package based on
keepalived_1.2.13-1 from jessie using pbuilder.

If you need any further information, please let me know.

Robert.
keepalived-systemd.patch
0 new messages