Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

toolbox run command does not work in fedora-silverblue 35 #946

Closed
millerthegorilla opened this issue Dec 3, 2021 · 10 comments
Closed

toolbox run command does not work in fedora-silverblue 35 #946

millerthegorilla opened this issue Dec 3, 2021 · 10 comments
Labels
1. Bug Something isn't working 2. Container Realm The issue is related to what happens inside of a toolbox container

Comments

@millerthegorilla
Copy link

Describe the bug
I wish to start sublime-text-4 text editor which has been installed inside the standard toolbox 'fedora-toolbox-35' from the host, so that I can make a desktop entry for the sublime text editor.
However, when I run the command toolbox run --container fedora-toolbox-35 /usr/bin/subl nothing happens. Nothing pertinent is reported in the toolbox logs (podman log fedora-toolbox-35).

Steps how to reproduce the behaviour

  1. Open terminal
  2. type toolbox run --container fedora-toolbox-35 /usr/bin/subl
  3. nothing happens

Expected behaviour
I expect sublime text 4 to open

Actual behaviour
nothing happens. nothing is written to the log

Screenshots
If applicable, add screenshots to help explain your problem.

Output of toolbox --version (v0.0.90+)
toolbox version 0.0.99.2

Toolbox package info (rpm -q toolbox)
toolbox-0.0.99.2^3.git075b9a8d2779-4.fc35.x86_64

Output of podman version

Version:      3.4.2
API Version:  3.4.2
Go Version:   go1.16.8
Built:        Fri Nov 12 20:25:37 2021
OS/Arch:      linux/amd64

Podman package info (rpm -q podman)
podman-3.4.2-1.fc35.x86_64

Info about your OS
Fedora Silverblue 35
uname -a
Linux fedora 5.14.18-300.fc35.x86_64 #1 SMP Fri Nov 12 16:43:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Additional context
Add any other context about the problem here.
When did the issue start occurring? After an update (what packages were updated)?
If the issue is about operating with containers/images (creating, using, deleting,..), share here what image you used. If you're unsure, share here the output of toolbox list -i (shows all toolbox images on your system).

If you see an error message saying: Error: invalid entry point PID of container <name-of-container>, add to the ticket output of command podman start --attach <name-of-container>.

@millerthegorilla millerthegorilla added the 1. Bug Something isn't working label Dec 3, 2021
@debarshiray
Copy link
Member

Did you try running /usr/bin/subl from a toolbox enter shell?

@millerthegorilla
Copy link
Author

millerthegorilla commented Dec 5, 2021 via email

@millerthegorilla
Copy link
Author

The toolbox run command exit code is 0 despite subl not launching.

@HarryMichal
Copy link
Member

Do you get any output from toolbox run -c fedora-toolbox-35 /usr/bin/subl -v? On my machine this successfully returns the program's version.

@HarryMichal HarryMichal added the 2. Container Realm The issue is related to what happens inside of a toolbox container label Dec 7, 2021
@HarryMichal
Copy link
Member

The toolbox run command exit code is 0 despite subl not launching.

This is currently expected behaviour (though its not documented). See #867,

@millerthegorilla
Copy link
Author

millerthegorilla commented Dec 9, 2021 via email

@millerthegorilla
Copy link
Author

I used the package install following these instructions:
https://www.sublimetext.com/docs/linux_repositories.html#dnf

@millerthegorilla
Copy link
Author

And it doesn't work on the host either.

@debarshiray
Copy link
Member

And it doesn't work on the host either.

If Sublime Text is not working on the host either, then the problem is elsewhere.

Maybe try using strace against the /usr/bin/subl binary?

@debarshiray
Copy link
Member

Closing, because this doesn't look like a Toolbox problem.

Please feel free to leave a comment or re-open if you think otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. Bug Something isn't working 2. Container Realm The issue is related to what happens inside of a toolbox container
Projects
None yet
Development

No branches or pull requests

3 participants