containers / containers/toolbox

Load completions from the host

Open
#1,472 1 comment 1 reaction 0 assignees View on GitHub
1. Feature request
Dominant language
Go
Stars
3.5k
Forks
262
Avg merge
3d 1h
Merged PRs (30d)
1

Description

**Is your feature request related to a problem? Please describe.**
Today it is not possible to load (ba)sh completions from the host, looks like **/usr/share/bash-completion** is banned.
```
⬢ [fedora-toolbox:39] > flatpak-spawn --host /usr/share/bash-completion/completions/podman
Portal call failed: Failed to start command: Failed to execute child process “/usr/share/bash-completion/completions/podman” (Permission denied)
```

**Describe the solution you'd like**
I would like to be able to import those completions without the need of installing the corresponding packets on each toolbox container.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the flatpak-spawn --host command against /usr/share/bash-completion/completions/podman and trace how toolbox handles host command access. Identify the existing host/container boundary involved in completion loading. Done means bash completions can be imported from the host without installing the corresponding packages in each toolbox container.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, linux
Domain
cli, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.