sbackup/nssbackup fails if exclude-path contains an equal-sign

Bug #412934 reported by AllesMeins
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nssbackup
Fix Released
Medium
Jean-Peer Lorenz
sbackup
Fix Released
Medium
Martin Schaaf
sbackup (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

The title says it pretty much. I've added a directory with an equal-sign in its name to my exclude list. This causes sbackup to stop working. Luckily I've noticed it by chance a few days later.

Starting sbackupd from a terminal reports the following:

$ sudo sbackupd
Traceback (most recent call last):
  File "/usr/sbin/sbackupd", line 213, in <module>
    dirconfig = dict([ (k, int(v)) for k,v in conf.items("dirconfig") ] )
ValueError: invalid literal for int() with base 10: 'Backups=_/ = 0'

A second problem is, that the directory in question is not displayed in the config-dialog. I had to remove it myself in /etc/sbackup.conf to get everything working again.

Im using Xubuntu 9.04 (amd64)

description: updated
Revision history for this message
Charlie Kravetz (cjkgeek) 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. If you could test the current Ubuntu development version, this would help us a lot. If you can test it, and it is still an issue, we would appreciate if you could upload updated logs by running apport-collect 412934, and any other logs that are relevant for this particular issue.

Changed in sbackup (Ubuntu):
status: New → Incomplete
Revision history for this message
AllesMeins (spam-startrekarchiv) wrote : apport-collect data

Architecture: amd64
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: sbackup 0.10.5ubuntu2
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_US.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-20.57-generic
Uname: Linux 2.6.31-20-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
AllesMeins (spam-startrekarchiv) wrote : Dependencies.txt
Revision history for this message
AllesMeins (spam-startrekarchiv) wrote : XsessionErrors.txt
Changed in sbackup (Ubuntu):
status: Incomplete → New
tags: added: apport-collected
Revision history for this message
AllesMeins (spam-startrekarchiv) wrote : Re: sbackup fails if exclude-path contains an equal-sign

Bug still exists. Quick-Steps to reproduce:

1.) Create a directory named "=test=" (or any other name with an "=" in it)
2.) Open sbackup-config program and add the directory to the exclude-list
3.) save
4.) run sudo sbackupd

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here.

This bug has been reported to the developers of the software. You can track it and make comments at: https://sourceforge.net/tracker/?func=detail&aid=2953767&group_id=145360&atid=761640

Thanks for taking the time to make Ubuntu better!

Changed in sbackup (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Martin Schaaf (mascha)
Changed in sbackup:
assignee: nobody → Martin Schaaf (mascha)
Changed in nssbackup:
importance: Undecided → Medium
status: New → Confirmed
summary: - sbackup fails if exclude-path contains an equal-sign
+ sbackup/nssbackup fails if exclude-path contains an equal-sign
Revision history for this message
Jean-Peer Lorenz (peer.loz) wrote :

Fix for this committed to nssbackup trunk.

Changed in nssbackup:
status: Confirmed → Fix Committed
assignee: nobody → Jean-Peer Lorenz (peer.loz)
Changed in nssbackup:
status: Fix Committed → Fix Released
Changed in sbackup:
status: New → Fix Committed
Revision history for this message
Jean-Peer Lorenz (peer.loz) wrote :

Fixed in Sbackup 0.11.0

Changed in sbackup:
importance: Undecided → Medium
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package sbackup - 0.11.2ubuntu1

---------------
sbackup (0.11.2ubuntu1) maverick; urgency=low

  * New upstream release. LP: #620384
  * [Fix] LP: #638072 Exclude rules not working on some dirs
  * [Fix] LP: #634356 Exception on reading snapshots in restore ui
  * [Fix] LP: #634031 Default behavior incorrectly set to `Cancel` instead
                      of `Retry`
  * [Fix] LP: #632605 catch error while closing snapshot file over FTP
  * [Fix] LP: #642087 Log. purge not working under certain circumstances
  * Workaround for LP #640034 Setting status to attention does not change
                              to specified icon (indicator-application)
  * Fix: don't block restore gui on long running tasks
  * Fix: don't touch snapshots being upgraded from backup process

sbackup (0.11.1ubuntu1) UNRELEASED; urgency=low

  * [Fix] LP: #587911 Logarithmic purge does not work
  * [Fix] LP: #622095 catch error when listing directory contents fails
  * [Fix]: revamped packaging: use distutils and pysupport

sbackup (0.11.0ubuntu1) UNRELEASED; urgency=low

  * [Fix] LP: #618730 Merge sbackup and nssbackup (see enclosed file
                      nssbackup.ChangeLog for further information)
  * [Fix] LP: #604558 'abort backup' on exernal drives not possible
  * [Fix] LP: #412934 sbackup/nssbackup fails if exclude-path contains an
                      equal-sign
  * [Fix] LP: #277137 crashed with NoSpaceError: No space left on device
  * [Fix] LP: #328902 Spelling and wording errors
  * [Fix] LP: #130856 Show remaining time till backup is finished in UI
  * [Fix] LP: #267759 Simple Backup should display a progress bar
  * [Fix] LP: #137293 empty dialog when restoring with sbackup
  * [Fix] LP: #176838 Incremental backups should not appear incremental when
                      restoring
  * [Fix] LP: #254464 Password for SSH Do Not URI Encode
  * [Fix] LP: #489107 sbackup crahses: stop_if_no_target is not an option in
                      general
  * [Fix] LP: #504990 Mb used instead of MB in the application dialogs
  * [Fix] LP: #507175 libgnomevfs2-extra required for FTP backups
  * [Fix] LP: #310306 Error: no space left
  * [Fix] LP: #383383 restore crashes when the destination path or file is non
                      existent
  * [Fix] LP: #331551 Wrong original English text in sbackup po-file
  * [Fix] LP: #585769 default backup directory doesn't exist in ubuntu
  * translations updated
 -- Jean-Peer Lorenz <email address hidden> Sat, 18 Sep 2010 18:44:57 +0200

Changed in sbackup (Ubuntu):
status: Triaged → Fix Released
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.