Bug 1103430

Summary: [abrt] rdiff-backup: rpath.py:1289:fsync_local:OSError: [Errno 30] Read-only file system
Product: [Fedora] Fedora Reporter: Jan Vlug <jan.public>
Component: rdiff-backupAssignee: Kevin Fenzi <kevin>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: frank, kevin
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/8c541c202c6aa3fbe08a8ba81387039c83f09b83
Whiteboard: abrt_hash:a9cca109cab716efd68bdc17dc298a3c7045164d
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-30 01:02:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Jan Vlug 2014-05-31 14:05:28 UTC
Description of problem:
Probably happened after waking up from suspend with an external USB HDD with btrfs attached.

Version-Release number of selected component:
rdiff-backup-1.2.8-11.fc20

Additional info:
reporter:       libreport-2.2.2
cmdline:        /usr/bin/python /bin/rdiff-backup --exclude /home/jan/.mozilla/firefox/sok6fp2o.ddddddddddd --exclude /home/jan/Download --exclude /home/jan/.VirtualBox/Machines --exclude /tmp --exclude /mnt --exclude /proc --exclude /backup/externalHDD --exclude /media --exclude /lib --exclude /lib64 --exclude /bin --exclude /dev --exclude /lost+found --exclude /misc --exclude /net --exclude /opt --exclude /sbin --exclude /selinux --exclude /srv --exclude /usr --exclude /var --exclude /sys --exclude /iso --exclude /old_system --exclude /media/Backup --exclude /run/media / /run/media/jan/BigExternalDisk/backup
executable:     /bin/rdiff-backup
kernel:         3.14.4-200.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
rpath.py:1289:fsync_local:OSError: [Errno 30] Read-only file system

Traceback (most recent call last):
  File "/bin/rdiff-backup", line 30, in <module>
    rdiff_backup.Main.error_check_Main(sys.argv[1:])
  File "/usr/lib64/python2.7/site-packages/rdiff_backup/Main.py", line 304, in error_check_Main
    try: Main(arglist)
  File "/usr/lib64/python2.7/site-packages/rdiff_backup/Main.py", line 324, in Main
    take_action(rps)
  File "/usr/lib64/python2.7/site-packages/rdiff_backup/Main.py", line 280, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/usr/lib64/python2.7/site-packages/rdiff_backup/Main.py", line 343, in Backup
    backup.Mirror_and_increment(rpin, rpout, incdir)
  File "/usr/lib64/python2.7/site-packages/rdiff_backup/backup.py", line 51, in Mirror_and_increment
    DestS.patch_and_increment(dest_rpath, source_diffiter, inc_rpath)
  File "/usr/lib64/python2.7/site-packages/rdiff_backup/backup.py", line 243, in patch_and_increment
    ITR(diff.index, diff)
  File "/usr/lib64/python2.7/site-packages/rdiff_backup/rorpiter.py", line 281, in __call__
    last_branch.fast_process(*args)
  File "/usr/lib64/python2.7/site-packages/rdiff_backup/backup.py", line 698, in fast_process
    inc.fsync_with_dir() # Write inc before rp changed
  File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py", line 1315, in fsync_with_dir
    if Globals.fsync_directories: self.get_parent_rp().fsync()
  File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py", line 1276, in fsync
    if not fp: self.conn.rpath.RPath.fsync_local(self)
  File "/usr/lib64/python2.7/site-packages/rdiff_backup/rpath.py", line 1289, in fsync_local
    os.fsync(fd)
OSError: [Errno 30] Read-only file system

Local variables in innermost frame:
fd: 10
self: <rdiff_backup.rpath.RPath instance at 0x2428f80>
e: OSError(30, 'Read-only file system')
thunk: None

Comment 1 Jan Vlug 2014-05-31 14:05:32 UTC
Created attachment 901086 [details]
File: backtrace

Comment 2 Jan Vlug 2014-05-31 14:05:34 UTC
Created attachment 901087 [details]
File: environ

Comment 3 Kevin Fenzi 2014-06-02 15:16:59 UTC
Was/is that /run/media/jan/BigExternalDisk/backup filesystem read-only?

Comment 4 Jan Vlug 2014-06-02 17:12:56 UTC
No, it is not. But might it be that it is not immediately mounted/available/writable when waking up from suspend?

Comment 5 Kevin Fenzi 2014-06-04 16:32:53 UTC
So you were in the middle of a backup, suspended and resumed and got this?

Comment 6 Jan Vlug 2014-06-15 19:30:34 UTC
indeed

Comment 7 Jan Vlug 2014-09-06 07:23:35 UTC
See also bug #1109563.

Comment 8 Fedora End Of Life 2015-05-29 11:59:36 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 9 Fedora End Of Life 2015-06-30 01:02:03 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.