Control: tags 747863 + patch Control: tags 747863 + pending Dear maintainer,
I've prepared an NMU for nut (versioned as 2.7.2-1.1), taking Martin's third option of porting the Ubuntu change to debian/rules which simply drops the upstream systemd file and uses the sysvinit fallback. As part of the Debian UK BSP, I will upload it to DELAYED/4. Please feel free to tell me if I should delay it longer. Regards.
diff -Nru nut-2.7.2/debian/changelog nut-2.7.2/debian/changelog --- nut-2.7.2/debian/changelog 2014-04-22 21:46:17.000000000 +0100 +++ nut-2.7.2/debian/changelog 2015-01-17 10:40:57.000000000 +0000 @@ -1,3 +1,11 @@ +nut (2.7.2-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Port Ubuntu change to drop upstream systemd unit files to allow + sysvinit files for Jessie. (Closes: #747863) + + -- Neil Williams <codeh...@debian.org> Sat, 17 Jan 2015 10:29:11 +0000 + nut (2.7.2-1) unstable; urgency=low * New upstream release diff -Nru nut-2.7.2/debian/rules nut-2.7.2/debian/rules --- nut-2.7.2/debian/rules 2014-04-22 21:46:17.000000000 +0100 +++ nut-2.7.2/debian/rules 2015-01-17 10:52:52.000000000 +0000 @@ -78,7 +78,9 @@ $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libupsclient.so # Install systemd files only on systems where it's supported -ifeq (linux,$(DEB_HOST_ARCH_OS)) + # disabled in Ubuntu until the unit gets fixed to check nut.conf + # disabled in Debian Jessie to retain sysvinit support until fix is available +ifeq (linux-disabled,$(DEB_HOST_ARCH_OS)) install -m 644 -D $(CURDIR)/debian/tmp/lib/$(DEB_HOST_MULTIARCH)/systemd/system/nut-monitor.service \ $(CURDIR)/debian/nut-client/lib/systemd/system/nut-monitor.service install -D $(CURDIR)/debian/tmp/lib/$(DEB_HOST_MULTIARCH)/systemd/system-shutdown/nutshutdown \