BackupPC_sendEmail is missing a "use" directive to support encode.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
backuppc (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Intrepid |
Won't Fix
|
Undecided
|
Unassigned | ||
Jaunty |
Won't Fix
|
Undecided
|
Unassigned | ||
Karmic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The perl script that sends email notification is missing a "use" directive to support mail encoding.
Here are the steps to reproduce the bug :
su backuppc
$ /usr/share/
Sending test email using /usr/sbin/sendmail -t -f backuppc01.norris
Undefined subroutine &main::encode called at /usr/share/
sendmail: No recipients specified although -t option used
The bug is fixed upstream in BackupPC version 3.2.0 but this version is tagged as beta quality. Currently, Intrepid, Jaunty and Karmic all use BackupPC version 3.1.0 and are affected by this bug. I would suggest to just fix this issue and keep the stable release. The fix is a one liner and should cause no problem :
diff -Naur BackupPC_
--- BackupPC_
+++ BackupPC_sendEmail 2009-09-16 13:20:43.000000000 -0400
@@ -42,6 +42,7 @@
use lib "__INSTALLDIR_
use BackupPC::Lib;
use BackupPC::FileZIO;
+use Encode;
use Data::Dumper;
use Getopt::Std;
Related branches
Changed in backuppc (Ubuntu Karmic): | |
status: | New → In Progress |
Changed in backuppc (Ubuntu Intrepid): | |
status: | New → Confirmed |
Changed in backuppc (Ubuntu Jaunty): | |
status: | New → Confirmed |
Changed in backuppc (Ubuntu Jaunty): | |
assignee: | nobody → Michael Jeanson (mjeanson) |
status: | Confirmed → In Progress |
Changed in backuppc (Ubuntu Intrepid): | |
assignee: | nobody → Michael Jeanson (mjeanson) |
status: | Confirmed → In Progress |
Changed in backuppc (Ubuntu Karmic): | |
assignee: | nobody → Michael Jeanson (mjeanson) |
Changed in backuppc (Ubuntu): | |
assignee: | Michael Jeanson (mjeanson) → nobody |
Changed in backuppc (Ubuntu Intrepid): | |
assignee: | Michael Jeanson (mjeanson) → nobody |
Changed in backuppc (Ubuntu Jaunty): | |
assignee: | Michael Jeanson (mjeanson) → nobody |
Changed in backuppc (Ubuntu Karmic): | |
assignee: | Michael Jeanson (mjeanson) → nobody |
This bug was fixed in the package backuppc - 3.1.0-6ubuntu3
---------------
backuppc (3.1.0-6ubuntu3) karmic; urgency=low
* Add dpatch system to package.
- debian/control: Add build dependency on dpatch.
- debian/rules: Add dpatch targets.
* Add missing "use Encode" in sendEmail. (LP: #430879)
* Fix encoding of special characters in french translation. (LP: #373327)
-- Michael Jeanson <email address hidden> Wed, 16 Sep 2009 18:04:03 -0400