Bug 2260155 - [abrt] git-cola: _errcheck(): inotify.py:44:_errcheck:PermissionError: [Errno 13] Permission denied
Summary: [abrt] git-cola: _errcheck(): inotify.py:44:_errcheck:PermissionError: [Errno...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: git-cola
Version: 39
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: david08741
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:b3366daa6c820aecb1b4cce6675...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-01-24 17:32 UTC by David Fernandez
Modified: 2024-03-23 00:32 UTC (History)
6 users (show)

Fixed In Version: git-cola-4.6.1-1.fc40
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-03-23 00:32:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: cpuinfo (3.02 KB, text/plain)
2024-01-24 17:32 UTC, David Fernandez
no flags Details
File: open_fds (4.18 KB, text/plain)
2024-01-24 17:32 UTC, David Fernandez
no flags Details
File: os_info (734 bytes, text/plain)
2024-01-24 17:32 UTC, David Fernandez
no flags Details
File: environ (2.28 KB, text/plain)
2024-01-24 17:32 UTC, David Fernandez
no flags Details
File: mountinfo (3.00 KB, text/plain)
2024-01-24 17:32 UTC, David Fernandez
no flags Details
File: backtrace (1.01 KB, text/plain)
2024-01-24 17:32 UTC, David Fernandez
no flags Details
File: namespaces (171 bytes, text/plain)
2024-01-24 17:32 UTC, David Fernandez
no flags Details

Description David Fernandez 2024-01-24 17:32:00 UTC
Description of problem:
Just when launching the program.

Version-Release number of selected component:
git-cola-4.3.2-1.fc39

Additional info:
reporter:       libreport-2.17.11
executable:     /usr/bin/git-cola
cmdline:        /usr/bin/python3 -sP /usr/bin/git-cola --prompt
type:           Python3
uid:            1000
comment:        Just when launching the program.
exception_type: PermissionError
reason:         inotify.py:44:_errcheck:PermissionError: [Errno 13] Permission denied
package:        git-cola-4.3.2-1.fc39
runlevel:       N 5
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-git\x2dcola-7055.scope
interpreter:    python3-3.12.1-2.fc39.x86_64
kernel:         6.6.11-200.fc39.x86_64
crash_function: _errcheck

Truncated backtrace:
inotify.py:44:_errcheck:PermissionError: [Errno 13] Permission denied

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/cola/fsmonitor.py", line 209, in run
    self.refresh()
  File "/usr/lib/python3.12/site-packages/cola/fsmonitor.py", line 251, in refresh
    self._refresh()
  File "/usr/lib/python3.12/site-packages/cola/fsmonitor.py", line 263, in _refresh
    self._refresh_watches(
  File "/usr/lib/python3.12/site-packages/cola/fsmonitor.py", line 312, in _refresh_watches
    raise e
  File "/usr/lib/python3.12/site-packages/cola/fsmonitor.py", line 299, in _refresh_watches
    wd = inotify.add_watch(
         ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/cola/inotify.py", line 44, in _errcheck
    raise OSError(err, os.strerror(err))
PermissionError: [Errno 13] Permission denied

Local variables in innermost frame:
result: -1
func: <_FuncPtr object at 0x7f1293a56150>
arguments: (28, b'/home/david.fernandez/src_sen/vcpu/NL4T_LinuxForTegra/rootfs/run/sudo', 83887054)
err: 13

Potential duplicate: bug 1979163

Comment 1 David Fernandez 2024-01-24 17:32:04 UTC
Created attachment 2010287 [details]
File: cpuinfo

Comment 2 David Fernandez 2024-01-24 17:32:06 UTC
Created attachment 2010288 [details]
File: open_fds

Comment 3 David Fernandez 2024-01-24 17:32:07 UTC
Created attachment 2010289 [details]
File: os_info

Comment 4 David Fernandez 2024-01-24 17:32:09 UTC
Created attachment 2010290 [details]
File: environ

Comment 5 David Fernandez 2024-01-24 17:32:10 UTC
Created attachment 2010291 [details]
File: mountinfo

Comment 6 David Fernandez 2024-01-24 17:32:11 UTC
Created attachment 2010292 [details]
File: backtrace

Comment 7 David Fernandez 2024-01-24 17:32:13 UTC
Created attachment 2010293 [details]
File: namespaces

Comment 8 David Aguilar 2024-01-25 08:00:09 UTC
I just added a commit that should eliminate the possibility of this happening.

https://github.com/git-cola/git-cola/commit/0f5b3d8088a0210f7e82b0c4e4435b5d3fb327e5

The next release will be tagged in ~2 weeks.

Comment 9 Fedora Update System 2024-03-09 13:51:42 UTC
FEDORA-2024-8bb0335e0a (git-cola-4.6.1-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-8bb0335e0a

Comment 10 Fedora Update System 2024-03-10 02:22:35 UTC
FEDORA-2024-8bb0335e0a has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-8bb0335e0a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-8bb0335e0a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2024-03-23 00:32:16 UTC
FEDORA-2024-8bb0335e0a (git-cola-4.6.1-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


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