[GH-ISSUE #5878] virtualbox: Could not find VirtualBox installation. Please reinstall. (Gentoo) #3118

Closed
opened 2026-05-05 09:45:16 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @Frostbyte4664 on GitHub (Jul 3, 2023).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5878

Description

VirtualBox prints Could not find VirtualBox installation. Please reinstall. and exits when run with the default profile on Gentoo.

Steps to Reproduce

  1. Install VirtualBox: emerge app-emulation/virtualbox
  2. Run firecfg
  3. Run virtualbox

Expected behavior

VirtualBox launching and running normally.

Actual behavior

Error message and exit.

Behavior without a profile

VirtualBox launches correctly.

Fix

This can be fixed by either appending vbox to the private-etc list or by running INSTALL_DIR=/usr/lib64/virtualbox virtualbox.

Environment

  • Gentoo GNU/Linux
  • Firejail version 0.9.72

Checklist

  • The issues is caused by firejail.
  • I can reproduce the issue without custom modifications.
  • The program has a profile.
  • The profile (and redirect profile if exists) hasn't already been fixed upstream.
  • I have performed a short search for similar issues.
Originally created by @Frostbyte4664 on GitHub (Jul 3, 2023). Original GitHub issue: https://github.com/netblue30/firejail/issues/5878 ### Description VirtualBox prints `Could not find VirtualBox installation. Please reinstall.` and exits when run with the default profile on Gentoo. ### Steps to Reproduce 1. Install VirtualBox: `emerge app-emulation/virtualbox` 2. Run `firecfg` 3. Run `virtualbox` ### Expected behavior VirtualBox launching and running normally. ### Actual behavior Error message and exit. ### Behavior without a profile VirtualBox launches correctly. ### Fix This can be fixed by either appending `vbox` to the `private-etc` list or by running `INSTALL_DIR=/usr/lib64/virtualbox virtualbox`. ### Environment - Gentoo GNU/Linux - Firejail version 0.9.72 ### Checklist - [x] The issues is caused by firejail. - [x] I can reproduce the issue without custom modifications. - [x] The program has a profile. - [x] The profile (and redirect profile if exists) hasn't already been fixed [upstream](https://github.com/netblue30/firejail/tree/master/etc). - [x] I have performed a short search for similar issues.
Author
Owner

@ghost commented on GitHub (Jul 3, 2023):

Thank you for reporting this! I've opened #5880 so it will be fixed soonish in git and ready for the next release.

<!-- gh-comment-id:1619155124 --> @ghost commented on GitHub (Jul 3, 2023): Thank you for reporting this! I've opened #5880 so it will be fixed soonish in git and ready for the next release.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#3118
No description provided.