no ping response on all hosts after upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
backuppc (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Bionic |
Won't Fix
|
Low
|
Unassigned | ||
Focal |
Triaged
|
Low
|
Unassigned |
Bug Description
[Impact]
The backuppc package struggled with ping response on all hosts after upgrade, because the package on both Bionic and Focal doesn’t contain a valid setting for ping6.
This situation before the patch was applied was really unfortunate for users whose backup hosts are using IPv6.
[Test Plan]
** Reproduction **
Make a container(s) for testing:
First option: (creating focal vm)
$ lxc launch images:ubuntu/focal focal-test
$ lxc shell focal-test
Second option: (creating bionic vm)
$ lxc launch images:
$ lxc shell bionic-test
Simply install the backuppc package using ‘apt install’ and check the variables in the config.pl file.
Follow the reproduction steps above to ensure that the variable is properly set.
[Where problems could occur]
First of all, any code change might change the behavior of the package in a specific situation and cause other errors. The regression possibilities here are really low.
It is unlikely but possible that users could hardcode valid setting for ping6. In that case if the same user wants to install backuppc, there is a high risk that a warning message will appear and there is a necessity to unify the setting by removing it and installing again.
Another possible (albeit unlikely) source of regressions is the fact that we will be rebuilding backuppc against newer versions of its build dependencies, especially on Bionic.
-------
Binary package hint: backuppc
After upgrading from 3.1.0 to 3.2.0 as part of the Ubuntu server upgrade from maverick to natty, none of my hosts were backing up, and all (including localhost) were reporting "no ping response". I followed all instructions prior to upgrading, and backuppc was at 3.1.0-9ubuntu2 and working. I discovered the addition of the Ping6Path config variable, which is set to "undef" by default. My config.pl file had the line
$Conf{Ping6Path} = undef;
after both an upgrade to 3.2.0-3ubuntu4 and a clean install after purging the package. This, combined with the added code to Lib.pm caused the $pingPath in $pingCmd to be empty, thus causing the "no ping response" errors.
Changing the Ping6Path line in config.pl to
$Conf{Ping6Path} = '/bin/ping6';
solved the problem. This value should be populated by default for a fresh install if /bin/ping6 is found, just as /bin/ping is populated in $Conf{PingPath}.
# lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04
# apt-cache policy backuppc
backuppc:
Installed: 3.2.0-3ubuntu4
Candidate: 3.2.0-3ubuntu4
Version table:
*** 3.2.0-3ubuntu4 0
500 http://
100 /var/lib/
Related branches
- git-ubuntu bot: Approve
- Sergio Durigan Junior (community): Approve
- Canonical Server Reporter: Pending requested
- Canonical Server Core Reviewers: Pending requested
-
Diff: 42 lines (+10/-2)3 files modifieddebian/changelog (+6/-0)
debian/control (+2/-1)
debian/rules (+2/-1)
- git-ubuntu bot: Approve
- Sergio Durigan Junior (community): Approve
- Christian Ehrhardt : Pending requested
- Canonical Server Reporter: Pending requested
- Canonical Server Core Reviewers: Pending requested
-
Diff: 30 lines (+9/-2)2 files modifieddebian/changelog (+6/-0)
debian/rules (+3/-2)
Changed in backuppc (Ubuntu): | |
status: | Incomplete → New |
Changed in backuppc (Ubuntu): | |
status: | New → Confirmed |
Changed in backuppc (Ubuntu Bionic): | |
assignee: | nobody → Michał Małoszewski (michal-maloszewski99) |
Changed in backuppc (Ubuntu Focal): | |
assignee: | nobody → Michał Małoszewski (michal-maloszewski99) |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in backuppc (Ubuntu Bionic): | |
status: | Triaged → In Progress |
Changed in backuppc (Ubuntu Focal): | |
status: | Triaged → In Progress |
Changed in backuppc (Ubuntu Focal): | |
assignee: | Michał Małoszewski (michal-maloszewski99) → nobody |
Changed in backuppc (Ubuntu Bionic): | |
assignee: | Michał Małoszewski (michal-maloszewski99) → nobody |
So you are using ipv6?
Thanks
chuck