non en_US locales misleads backuppc into saying backups are not succeeding

Bug #118563 reported by Luite van Zelst
6
Affects Status Importance Assigned to Milestone
backuppc (Ubuntu)
Expired
Low
Unassigned

Bug Description

Binary package hint: backuppc

in 2.1.2-5ubuntu3, backuppc mistakenly reports that backups are unsuccesful when the default locale is not en_US (nl_NL.UTF-8 in my case). To reproduce, set a different locale for the backuppc server process, and use the tar backup option. Essentially:

#Contents of file /etc/backuppc/localhost.pl, modified 2007-06-03 18:13:20
$Conf{XferMethod} = 'tar';
$Conf{TarShareName} = ['/etc'];
$Conf{TarClientCmd} = '/usr/bin/sudo tar -c -v -f - -C $shareName+ --totals';
$Conf{TarFullArgs} = '$fileList';
$Conf{TarIncrArgs} = '--newer=$incrDate $fileList';

It seems the output caused by the "--totals" options for tar is parsed by backuppc. Only english is parsed correctly.
to fix, make
$Conf{TarClientCmd} = '/usr/local/bin/tar-backuppc $sharename+ --totals'

with in the shell script:
export LC_ALL=en_US; /usr/bin/sudo tar -c -v -f - -C $*';

Well, maybe an upstream bug? as this is my first filing, I wasn't too sure what to do.

Revision history for this message
xteejx (xteejx-deactivatedaccount) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. Can you try with the latest Ubuntu release? Thanks in advance.

Changed in backuppc (Ubuntu):
status: New → Incomplete
Chuck Short (zulcss)
Changed in backuppc (Ubuntu):
importance: Undecided → Low
status: Incomplete → Confirmed
Revision history for this message
xteejx (xteejx-deactivatedaccount) wrote :

I assume this is a problem in Karmic, there was no comment, sorry.

Revision history for this message
xteejx (xteejx-deactivatedaccount) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner.
There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test the current Ubuntu version (10.10). If you can test it, and it is still an issue, we would appreciate if you could upload updated logs by running apport-collect <bug #>, and any other logs that are relevant for this particular issue.

Changed in backuppc (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for backuppc (Ubuntu) because there has been no activity for 60 days.]

Changed in backuppc (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.