Bug 1570285 - [abrt] backintime-qt4: remove_symlink(): mount.py:451:remove_symlink:FileNotFoundError: [Errno 2] No such file or directory: '/home/mu/.local/share/backintime/mnt/6_17518'
Summary: [abrt] backintime-qt4: remove_symlink(): mount.py:451:remove_symlink:FileNotF...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: backintime
Version: 27
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: hannes
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:16809359b0e6b5fe36a0d172438...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-04-21 14:44 UTC by Martin Ueding
Modified: 2018-06-06 17:48 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-06-06 17:48:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.08 KB, text/plain)
2018-04-21 14:44 UTC, Martin Ueding
no flags Details
File: cgroup (289 bytes, text/plain)
2018-04-21 14:44 UTC, Martin Ueding
no flags Details
File: cpuinfo (1.38 KB, text/plain)
2018-04-21 14:44 UTC, Martin Ueding
no flags Details
File: environ (1.56 KB, text/plain)
2018-04-21 14:44 UTC, Martin Ueding
no flags Details
File: mountinfo (3.89 KB, text/plain)
2018-04-21 14:45 UTC, Martin Ueding
no flags Details
File: namespaces (129 bytes, text/plain)
2018-04-21 14:45 UTC, Martin Ueding
no flags Details
File: open_fds (1.64 KB, text/plain)
2018-04-21 14:45 UTC, Martin Ueding
no flags Details

Description Martin Ueding 2018-04-21 14:44:46 UTC
Description of problem:
I changed to a profile which uses SSH where the remote computer could not be reached. Then I switched to another profile which is a local HDD. Then some background service has crashed and the GUI could not receive any more data.

Version-Release number of selected component:
backintime-qt4-1.1.24-1.fc27

Additional info:
reporter:       libreport-2.9.3
cmdline:        python3 /usr/share/backintime/qt4/app.py
crash_function: remove_symlink
exception_type: FileNotFoundError
executable:     /usr/share/backintime/qt4/app.py
kernel:         4.15.17-300.fc27.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
mount.py:451:remove_symlink:FileNotFoundError: [Errno 2] No such file or directory: '/home/mu/.local/share/backintime/mnt/6_17518'

Traceback (most recent call last):
  File "/usr/share/backintime/qt4/app.py", line 558, in on_profile_changed
    self.remount(profile_id, old_profile_id)
  File "/usr/share/backintime/qt4/app.py", line 585, in remount
    hash_id = mnt.remount(new_profile_id)
  File "/usr/share/backintime/common/mount.py", line 144, in remount
    self.umount(hash_id = hash_id, plugins = False)
  File "/usr/share/backintime/common/mount.py", line 114, in umount
    tools.umount()
  File "/usr/share/backintime/common/mount.py", line 249, in umount
    self.remove_symlink()
  File "/usr/share/backintime/common/mount.py", line 451, in remove_symlink
    os.remove(self.config.get_snapshots_path(profile_id = profile_id, mode = self.mode, tmp_mount = tmp_mount))
FileNotFoundError: [Errno 2] No such file or directory: '/home/mu/.local/share/backintime/mnt/6_17518'

Local variables in innermost frame:
tmp_mount: False
profile_id: '6'
self: <sshtools.SSH object at 0x7f9969e58518>

Comment 1 Martin Ueding 2018-04-21 14:44:55 UTC
Created attachment 1425017 [details]
File: backtrace

Comment 2 Martin Ueding 2018-04-21 14:44:56 UTC
Created attachment 1425018 [details]
File: cgroup

Comment 3 Martin Ueding 2018-04-21 14:44:57 UTC
Created attachment 1425019 [details]
File: cpuinfo

Comment 4 Martin Ueding 2018-04-21 14:44:59 UTC
Created attachment 1425020 [details]
File: environ

Comment 5 Martin Ueding 2018-04-21 14:45:00 UTC
Created attachment 1425021 [details]
File: mountinfo

Comment 6 Martin Ueding 2018-04-21 14:45:02 UTC
Created attachment 1425022 [details]
File: namespaces

Comment 7 Martin Ueding 2018-04-21 14:45:05 UTC
Created attachment 1425023 [details]
File: open_fds

Comment 8 Raphael Groner 2018-04-21 15:51:37 UTC
Thanks for the report. Can you reproduce the issue? What did you do?

The provided backtrace indicates some issue with automount. Maybe the backup device got removed too early, so backintime did not get a chance to finish properly its job.

You may want to try our copr build with a git snapshot for Qt5, please let us now if the issue is reproducible:
https://copr.fedorainfracloud.org/coprs/raphgro/backintime-qt/package/backintime-qt/

Comment 9 Martin Ueding 2018-06-06 17:48:00 UTC
I believe that this has not occurred any more, so I'll just close this.


Note You need to log in before you can comment on or make changes to this bug.