[Bug 1875163] Re: rdiff-backup crashes when running backup

2021-12-28 Thread normandrobert
Had same problem. Got newer rdiff-backup which handles filesystem
problem gracefully and then fixed said filesystem problem.

I discovered that my root cron backup script which uses rdiff-backup had been 
failing for months for the same worrysome reason that rdiff-backup had a 
problem with a directory it was backing up as root. Confirmed running manually:
...
File "/usr/lib/python3/dist-packages/rdiff_backup/rpath.py", line 386, in 
make_file_dict
statblock = os.lstat(filename)
PermissionError: [Errno 13] Permission denied: b'/home/robert/.cache/doc'
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 32, in 
rdiff_backup.Main.error_check_Main(sys.argv[1:])
  File "/usr/lib/python3/dist-packages/rdiff_backup/Main.py", line 390, in 
error_check_Main
..

I could not remove the empty directory as the owner or as root. As a
workaround, I got a later version of rdiff-backup which continues
"gracefully" after encountering the above problem.

sudo apt -y install python3-pip python3-setuptools python3-pylibacl 
python3-pyxattr
rdiff-backup --version
sudo apt -y remove rdiff-backup
sudo pip3 install rdiff-backup
rdiff-backup --version

rdiff-backup above is in /usr/local/bin

After a few reboots + a manual fsck -V -f on the partition of interest (/home) 
which found nothing, rdiff-backup ran clean and I was finally able to remove 
the offending directory.  I was expecting fsck to have run on the partition of 
concern at boot and fixed something but there is no evidence it ran. Only keeps 
last boot?
more /run/initramfs/fsck.log 

Log of fsck -C -a -T -t ext4 /dev/sdd5 
Tue Dec 28 15:30:07 2021

/dev/sdd5: clean, 349494/4276224 files, 5482131/17089536 blocks

Tue Dec 28 15:30:07 2021


GUI Disk utility says disk is ok probably via smartmon. Will run short
test maually.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875163

Title:
  rdiff-backup crashes when running backup

To manage notifications about this bug go to:
https://bugs.launchpad.net/rdiff-backup/+bug/1875163/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1875163] Re: rdiff-backup crashes when running backup

2020-09-11 Thread Walt Mankowski
Hi Otto,

On Fri, Sep 11, 2020 at 06:14:08AM -, Otto Kekäläinen wrote:
> The commit that fixed this was in rdiff-backup version 2.0.5, right?
> https://github.com/rdiff-backup/rdiff-backup/commit/1c6b9bcf388bbbef522dd1a752e747a51c6ce004

Hmm, it could be. This is what I based "it was fixed" on:

https://lists.nongnu.org/archive/html/rdiff-backup-
users/2020-04/msg00041.html

> So a stable release update of rdiff-backup 2.0.5 to Ubuntu 20.04 LTS
> (Focal) would close this issue?

It seems that way.

> Could you try using the 2.0.5 version from https://launchpad.net/~rdiff-
> backup/+archive/ubuntu/rdiff-backup-backports and verify if it fixes the
> issue?

I'll try, but unfortunately I'm dealing with some serious family
issues right now that are occupying a lot of my time. It might be a
week or two before I can work on it.

> 
> Landing a stable release update in Ubuntu 20.04 requires very good
> grounds: https://wiki.ubuntu.com/StableReleaseUpdates
> 
> If 2.0.5 is urgently needed in Ubuntu 20.04, please help us document the
> motivations for it here.

Totally understandable.

Walt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875163

Title:
  rdiff-backup crashes when running backup

To manage notifications about this bug go to:
https://bugs.launchpad.net/rdiff-backup/+bug/1875163/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1875163] Re: rdiff-backup crashes when running backup

2020-09-11 Thread Bug Watch Updater
** Changed in: rdiff-backup
   Status: Unknown => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875163

Title:
  rdiff-backup crashes when running backup

To manage notifications about this bug go to:
https://bugs.launchpad.net/rdiff-backup/+bug/1875163/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1875163] Re: rdiff-backup crashes when running backup

2020-09-11 Thread Otto Kekäläinen
The commit that fixed this was in rdiff-backup version 2.0.5, right?
https://github.com/rdiff-backup/rdiff-backup/commit/1c6b9bcf388bbbef522dd1a752e747a51c6ce004

So a stable release update of rdiff-backup 2.0.5 to Ubuntu 20.04 LTS
(Focal) would close this issue?

Could you try using the 2.0.5 version from https://launchpad.net/~rdiff-
backup/+archive/ubuntu/rdiff-backup-backports and verify if it fixes the
issue?

Landing a stable release update in Ubuntu 20.04 requires very good
grounds: https://wiki.ubuntu.com/StableReleaseUpdates

If 2.0.5 is urgently needed in Ubuntu 20.04, please help us document the
motivations for it here.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875163

Title:
  rdiff-backup crashes when running backup

To manage notifications about this bug go to:
https://bugs.launchpad.net/rdiff-backup/+bug/1875163/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1875163] Re: rdiff-backup crashes when running backup

2020-09-10 Thread Otto Kekäläinen
** Also affects: rdiff-backup via
   https://github.com/rdiff-backup/rdiff-backup/issues/310
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875163

Title:
  rdiff-backup crashes when running backup

To manage notifications about this bug go to:
https://bugs.launchpad.net/rdiff-backup/+bug/1875163/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1875163] Re: rdiff-backup crashes when running backup

2020-09-10 Thread Otto Kekäläinen
** Changed in: rdiff-backup (Ubuntu)
   Status: New => Confirmed

** Changed in: rdiff-backup (Ubuntu)
   Importance: Undecided => Critical

** Changed in: rdiff-backup (Ubuntu)
 Assignee: (unassigned) => Otto Kekäläinen (otto)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875163

Title:
  rdiff-backup crashes when running backup

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rdiff-backup/+bug/1875163/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1875163] Re: rdiff-backup crashes when running backup

2020-08-30 Thread Walt Mankowski
My apologies. I resolved this locally back in April but I forgot to come
back here and update the ticket when I resolved the problem. This is a
known bug that has been fixed in the rdiff-backup repo:

https://github.com/rdiff-backup/rdiff-backup/issues/310

The code was fixed way back in March, but it never made it into 20.04.

Since the files that were causing the errors for me were all in /run, my
fix was just to add /run to my list of excluded directories. That was an
easy decision for me since I probably should have been excluding them
anyway. Good luck!

** Bug watch added: github.com/rdiff-backup/rdiff-backup/issues #310
   https://github.com/rdiff-backup/rdiff-backup/issues/310

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875163

Title:
  rdiff-backup crashes when running backup

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rdiff-backup/+bug/1875163/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1875163] Re: rdiff-backup crashes when running backup

2020-08-30 Thread Otto Kekäläinen
There is nothing actionable in this bug report since there are not steps
to reproduce outlined or no test case or anything for developers to use
to repeat the bug and test/fix it.

Please contribute to rdiff-backup by debugging the error properly and
consider filing a well written bug report at https://github.com/rdiff-
backup/rdiff-backup/issues

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875163

Title:
  rdiff-backup crashes when running backup

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rdiff-backup/+bug/1875163/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1875163] Re: rdiff-backup crashes when running backup

2020-07-07 Thread Eric Hazen
I'm also affected by this bug.  It is many months later, but a recent
update to some 20.04 package caused this to start happening.  Any
suggested solutions other than "learn docker, install a new VM etc"?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875163

Title:
  rdiff-backup crashes when running backup

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rdiff-backup/+bug/1875163/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1875163] Re: rdiff-backup crashes when running backup

2020-04-28 Thread Walt Mankowski
I modified get_indexpath() in log.py to catch a TypeError exception and
return the string "TypeError" instead of aborting. It printed 4 errors:

ListError: 'TypeError' [Errno 13] Permission denied: b'/run/user/1000/doc'
ListError: 'TypeError' [Errno 13] Permission denied: b'/run/user/1000/gvfs'
ListError: 'TypeError' [Errno 13] Permission denied: 
b'/run/user/1000/keybase/kbfs'
ListError: 'TypeError' [Errno 13] Permission denied: b'/run/user/141/gvfs'

I'm not really sure what's wrong with the first 3. Maybe they're odd
because they're in /run? The final file does really look like it might
be corrupted.

At any rate it looks like the easy fix on my end is to exclude /run from
my backups.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875163

Title:
  rdiff-backup crashes when running backup

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rdiff-backup/+bug/1875163/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1875163] Re: rdiff-backup crashes when running backup

2020-04-26 Thread Walt Mankowski
I'm afraid I don't know nearly enough Docker to be able to do that. But
I do know Python. I just took a look at the code and I think I should be
able to trap the TypeError exception pretty easily.

I'm currently running `rdiff-backup --check-destination-dir` to undo the
failed backup. Once that finishes I'll rerun the backup in the debugger
and report back on what I find. Hopefully that will let me set up a
simple test case.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875163

Title:
  rdiff-backup crashes when running backup

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rdiff-backup/+bug/1875163/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1875163] Re: rdiff-backup crashes when running backup

2020-04-26 Thread Otto Kekäläinen
Please provide exact steps on how to reproduce this error in a clean
Docker image or virtual machine. We cannot debug or fix this if we can't
reproduce this.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875163

Title:
  rdiff-backup crashes when running backup

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rdiff-backup/+bug/1875163/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs