"snapcraft list-keys" fails on macOS 15.1.1 (24B91)
Metadata
Current evaluation
snapcraft list-keys fails on macOS 15.1.1 with /proc/self/fd/0 error. Issue is 645 days old with no maintainer response or labels.
Suggested action: needs triage
Reason: No maintainer has responded or labeled this issue in 645 days. The bug is legitimate (macOS lacks /proc/self/fd/0 which the snap CLI depends on), but requires triage to confirm reproducibility and determine if it's still relevant to current versions.
Impact:
50
Quick Win:
30.0
Staleness:
85
Complexity:
40
Confidence:
60
Support Request:
10
Issue body
snapcraft installed on macOS 15.1.1 using brew. Authenticated to my account with snapcraft login:
snapcraft list-keys
error: readlink /proc/self/fd/0: no such file or directory
Sorry, an error occurred in Snapcraft:
Command '[PosixPath('/opt/homebrew/bin/snap'), 'keys', '--json']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/opt/homebrew/Cellar/snapcraft/8.4.4/libexec/lib/python3.13/site-packages/snapcraft_legacy/cli/legacy.py", line 27, in legacy_run
run()
~~~^^
File "/opt/homebrew/Cellar/snapcraft/8.4.4/libexec/lib/python3.13/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/snapcraft/8.4.4/libexec/lib/python3.13/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/opt/homebrew/Cellar/snapcraft/8.4.4/libexec/lib/python3.13/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "/opt/homebrew/Cellar/snapcraft/8.4.4/libexec/lib/python3.13/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/snapcraft/8.4.4/libexec/lib/python3.13/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/opt/homebrew/Cellar/snapcraft/8.4.4/libexec/lib/python3.13/site-packages/snapcraft_legacy/cli/assertions.py", line 39, in list_keys
snapcraft_legacy.list_keys()
~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/opt/homebrew/Cellar/snapcraft/8.4.4/libexec/lib/python3.13/site-packages/snapcraft_legacy/_store.py", line 413, in list_keys
keys = list(_get_usable_keys())
File "/opt/homebrew/Cellar/snapcraft/8.4.4/libexec/lib/python3.13/site-packages/snapcraft_legacy/_store.py", line 374, in _get_usable_keys
subprocess.check_output([snap_path, "keys", "--json"], universal_newlines=True)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.13/3.13.0_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/subprocess.py", line 472, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
**kwargs).stdout
^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.13/3.13.0_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '[PosixPath('/opt/homebrew/bin/snap'), 'keys', '--json']' returned non-zero exit status 1.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen3.6-35b-a3b-mtp-q6 |
Impact:
50
Quick Win:
30.0
Staleness:
85
Complexity:
40
Confidence:
60
Support Request:
10
|
needs triage | snapcraft list-keys fails on macOS 15.1.1 with /proc/self/fd/0 error. Issue is 645 days old with no maintainer response or labels. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
45
Confidence:
85
Support Request:
10
|
close stale | snapcraft list-keys fails on macOS due to legacy code accessing Linux-only /proc paths. The report is 602 days old with no maintainer interaction, labels, or assignee. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
40
Confidence:
85
Support Request:
10
|
close stale | snapcraft list-keys fails on macOS 15.1.1 with readlink error. Issue is 601 days old, no maintainer response, and likely obsolete due to OS/Python version changes. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
85
Complexity:
45
Confidence:
75
Support Request:
10
|
needs triage | Unlabelled bug report showing snapcraft list-keys fails on macOS due to Linux-specific path resolution. No maintainer response or activity in over 1.5 years. Requires assessment to determine if macOS support is deprecated or if the legacy code needs patching. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
20
Confidence:
85
Support Request:
10
|
close stale | Untriaged issue reporting snapcraft list-keys crash on macOS due to /proc usage. Inactive for 571 days with no maintainer response. Reported macOS version appears inconsistent with issue creation date. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.