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

Firejail on Kubuntu 21.10 not working (missing SUID bit) #4609

Closed
MrFrank17 opened this issue Oct 16, 2021 · 6 comments
Closed

Firejail on Kubuntu 21.10 not working (missing SUID bit) #4609

MrFrank17 opened this issue Oct 16, 2021 · 6 comments
Labels
packaging Issues related to packaging and distribution

Comments

@MrFrank17
Copy link

Description

After upgrading from Kubuntu 21.04 to Kubuntu 21.10 firejail is not working anymore

Steps to Reproduce

What I tried so far:
sudo firecfg --clean and sudo firecfg to recreate the symlinks.
However starting a firejailed program, even as firejail --noprofile kate gets me the message:

Error mkdir: util.c:1019 create_empty_dir_as_root: Permission denied

This does not work as well - so maybe something is wrong with the Kubuntu setup? However creating symlinks as root worked beforehand.
firejail --version

Error mkdir: util.c:1019 create_empty_dir_as_root: Permission denied

Thanks!

@rusty-snake
Copy link
Collaborator

Can you run firejail --noprofile --debug true to see where it dies.

@MrFrank17
Copy link
Author

Same effect:

firejail --noprofile --debug true kate
Error mkdir: util.c:1019 create_empty_dir_as_root: Permission denied

@rusty-snake
Copy link
Collaborator

rusty-snake commented Oct 16, 2021

If I'm right, this happens at main->preproc_build_firejail_dir->create_empty_dir_as_root.
Has there anything changed in ubu with /run? I don't think so. Sounds more like #4367 maybe. What does ls -l /usr/bin/firejail show?

How did you installed firejail?

@MrFrank17
Copy link
Author

That's the output:

ls -l /usr/bin/firejail -rwxr-xr-x 1 root root 458416 Feb 27 2021 /usr/bin/firejail

I installed it with the old version of the distribution, 21.04 or even before - I guess I used KDE Discover back then

@rusty-snake
Copy link
Collaborator

I installed it with the old version of the distribution, 21.04 or even before - I guess I used KDE Discover back then

From the package sources or from the PPA or from the website?

-rwxr-xr-x

#4367 (comment)

@MrFrank17
Copy link
Author

From the official Ubuntu repository.

Setting SUID worked!

Thanks

@kmk3 kmk3 changed the title Firejail on Kubuntu 21.10 not working Firejail on Kubuntu 21.10 not working (missing SUID bit) Feb 5, 2022
@kmk3 kmk3 added the packaging Issues related to packaging and distribution label Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packaging Issues related to packaging and distribution
Projects
None yet
Development

No branches or pull requests

3 participants