Hi,

> Installation fails because ipmidetectd has an empty default
> configuration. Fix simply avoids to enable and start the daemon that
> will need to be configured by hand.

Building the package, lintian reported that the real culprit here is
that RUN= variables in /etc/default should not be used anymore. I thus
completed the patch by avoiding this in both optional services. See
attached. I will upload to DELAYED/5.

-nik
diff -Nru freeipmi-1.6.3/debian/changelog freeipmi-1.6.3/debian/changelog
--- freeipmi-1.6.3/debian/changelog     2019-02-02 15:50:10.000000000 +0100
+++ freeipmi-1.6.3/debian/changelog     2019-02-23 14:06:54.000000000 +0100
@@ -1,3 +1,15 @@
+freeipmi (1.6.3-1.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+
+  [ Antonio Galea ]
+  * Do not start ipmidetectd daemon until configured. Closes: #922404
+
+  [ Dominik George ]
+  * Use init system to handle defaults instead of RUN= (cf. lintian error).
+
+ -- Dominik George <naturesha...@debian.org>  Sat, 23 Feb 2019 14:06:54 +0100
+
 freeipmi (1.6.3-1) unstable; urgency=medium
 
   * [3f1f5ea] Updating symbols file
diff -Nru freeipmi-1.6.3/debian/freeipmi-ipmidetect.ipmidetectd.default 
freeipmi-1.6.3/debian/freeipmi-ipmidetect.ipmidetectd.default
--- freeipmi-1.6.3/debian/freeipmi-ipmidetect.ipmidetectd.default       
2019-02-02 15:50:10.000000000 +0100
+++ freeipmi-1.6.3/debian/freeipmi-ipmidetect.ipmidetectd.default       
1970-01-01 01:00:00.000000000 +0100
@@ -1,5 +0,0 @@
-#
-# Set to 'yes' after you have configured ipmidetectd.
-# See ipmidetectd.conf(5) manpage for more information.
-#
-RUN=no
diff -Nru freeipmi-1.6.3/debian/patches/deb_bmc-watchdog_noRUN 
freeipmi-1.6.3/debian/patches/deb_bmc-watchdog_noRUN
--- freeipmi-1.6.3/debian/patches/deb_bmc-watchdog_noRUN        2019-02-02 
15:50:10.000000000 +0100
+++ freeipmi-1.6.3/debian/patches/deb_bmc-watchdog_noRUN        1970-01-01 
01:00:00.000000000 +0100
@@ -1,12 +0,0 @@
-From: Yaroslav Halchenko <deb...@onerussian.com>
-Subject: to be able to condition use of watchdog in the configuration
-Vendor: Debian
-
---- a/etc/bmc-watchdog.sysconfig
-+++ b/etc/bmc-watchdog.sysconfig
-@@ -41,4 +41,5 @@
- #
- # For the remaining options, consult man bmc-watchdog
- #
-+RUN=no
- OPTIONS="-d -u 4 -p 0 -a 1 -F -P -L -S -O -i 900 -e 60"
diff -Nru freeipmi-1.6.3/debian/patches/series 
freeipmi-1.6.3/debian/patches/series
--- freeipmi-1.6.3/debian/patches/series        2019-02-02 15:50:10.000000000 
+0100
+++ freeipmi-1.6.3/debian/patches/series        1970-01-01 01:00:00.000000000 
+0100
@@ -1 +0,0 @@
-deb_bmc-watchdog_noRUN
diff -Nru freeipmi-1.6.3/debian/rules freeipmi-1.6.3/debian/rules
--- freeipmi-1.6.3/debian/rules 2019-02-02 15:50:10.000000000 +0100
+++ freeipmi-1.6.3/debian/rules 2019-02-23 14:03:32.000000000 +0100
@@ -39,9 +39,9 @@
 
        : # Use Debian specific init files with "matching" names
        dh_installinit -pfreeipmi-bmc-watchdog \
-        --name=bmc-watchdog
+        --name=bmc-watchdog --no-enable --no-start
        dh_installinit -pfreeipmi-ipmidetect \
-        --name=ipmidetectd
+        --name=ipmidetectd --no-enable --no-start
        dh_installinit -pfreeipmi-ipmiseld \
         --name=ipmiseld
 

Attachment: signature.asc
Description: PGP signature

Reply via email to