Bug#824813: dh-systemd: systemd2init always falls back to default values
Phil
philspam at phlexo.com
Fri May 20 04:31:43 BST 2016
Package: dh-systemd
Version: 1.33
Severity: normal
Tags: patch
Dear Maintainer,
The .init file produced by systemd2init always has default values for every
field, EG. DESC= and DAEMON=/usr/sbin/\$NAME
This appears to be caused by the script (via augtool) checking 2 non-existing
locations for the systemd unit file.
The attached patch fixes the issue for me, but I haven't tested it on a Redhat
machine (which the script also accommodates).
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.5.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages dh-systemd depends on:
ii debhelper 9.20160403
ii perl 5.22.2-1
dh-systemd recommends no packages.
Versions of packages dh-systemd suggests:
ii augeas-tools 1.2.0-0.3
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: update_file.patch
Type: text/x-diff
Size: 913 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20160520/94ec93e4/attachment.patch>
More information about the Pkg-systemd-maintainers
mailing list