kdump-tools install script uses deprecated syntax
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
makedumpfile (Ubuntu) |
Fix Released
|
Low
|
Louis Bouchard | ||
Xenial |
Fix Released
|
Low
|
Louis Bouchard |
Bug Description
[SRU justification]
Error message polluting the installation
[Impact]
Wrongfully implies a problem with the installation
[Fix]
Remove unneeded dh_installinit override
[Test Case]
Install kdump-tools on Xenial. Without the fix, the installation will complain with :
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
This message does not appear with the fix
[Regression]
None expected. update-rc.d default is used as a fallback.
[Original description of the problem]
When installing kdump-tools, the apt-get outputs:
Setting up kdump-tools (1:1.5.9-5) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Full log:
jayman@
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
crash kexec-tools libdw1 makedumpfile
The following NEW packages will be installed:
crash kdump-tools kexec-tools libdw1 makedumpfile
0 upgraded, 5 newly installed, 0 to remove and 10 not upgraded.
Need to get 0 B/2,962 kB of archives.
After this operation, 9,379 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Preconfiguring packages ...
Selecting previously unselected package crash.
(Reading database ... 235512 files and directories currently installed.)
Preparing to unpack .../crash_
Unpacking crash (7.1.4-1ubuntu4) ...
Selecting previously unselected package libdw1:amd64.
Preparing to unpack .../libdw1_
Unpacking libdw1:amd64 (0.165-3ubuntu1) ...
Selecting previously unselected package makedumpfile.
Preparing to unpack .../makedumpfil
Unpacking makedumpfile (1:1.5.9-5) ...
Selecting previously unselected package kexec-tools.
Preparing to unpack .../kexec-
Unpacking kexec-tools (1:2.0.10-1ubuntu2) ...
Selecting previously unselected package kdump-tools.
Preparing to unpack .../kdump-
Unpacking kdump-tools (1:1.5.9-5) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for systemd (229-4ubuntu6) ...
Processing triggers for ureadahead (0.100.0-19) ...
Setting up crash (7.1.4-1ubuntu4) ...
Setting up libdw1:amd64 (0.165-3ubuntu1) ...
Setting up makedumpfile (1:1.5.9-5) ...
Setting up kexec-tools (1:2.0.10-1ubuntu2) ...
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
Found memtest86+ image: /boot/memtest86
grub-probe: error: cannot find a GRUB drive for /dev/sdc1. Check your device.map.
Found Windows 7 (loader) on /dev/sda1
done
Setting up kdump-tools (1:1.5.9-5) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Processing triggers for libc-bin (2.23-0ubuntu3) ...
jayman@
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: kdump-tools 1:1.5.9-5
ProcVersionSign
Uname: Linux 4.4.0-28-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: KDE
Date: Wed Jul 6 08:02:53 2016
InstallationDate: Installed on 2016-06-16 (19 days ago)
InstallationMedia: Kubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
PackageArchitec
SourcePackage: makedumpfile
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in makedumpfile (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Low |
assignee: | nobody → Louis Bouchard (louis-bouchard) |
Changed in makedumpfile (Ubuntu Xenial): | |
status: | New → Triaged |
importance: | Undecided → Low |
assignee: | nobody → Louis Bouchard (louis-bouchard) |
Changed in makedumpfile (Ubuntu): | |
status: | Triaged → In Progress |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
This bug was fixed in the package makedumpfile - 1:1.6.0-2
---------------
makedumpfile (1:1.6.0-2) sid; urgency=medium
* define_stampdir() : Loop on hostname -I for 5 sec to get IP address
if HOSTTAG=ip. The network stack may not be ready when kdump-config runs.
Give it some time before reverting HOSTTAG to hostname if an IP address
cannot be found. (LP: #1599561)
* debian/rules : drop the dh_installinit override
Uses a syntax which is no longer supported and generate an error on
install. (LP: #1599491)
-- Louis Bouchard <email address hidden> Fri, 15 Jul 2016 17:25:33 +0200