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

add --noautopulse arg for complex pulse setups #1854

Merged
merged 1 commit into from
Apr 2, 2018

Conversation

vermeeren
Copy link
Contributor

such as remote pulse servers or non-standard socket paths

closes #1028

such as remote pulse servers or non-standard socket paths
@netblue30 netblue30 merged commit 05bddb5 into netblue30:master Apr 2, 2018
@netblue30
Copy link
Owner

Merged, thanks.

@netblue30
Copy link
Owner

I will also add support today to disable it globally in /etc/firejail/firejail.config, thanks for the patch.

kmk3 added a commit to kmk3/firejail that referenced this pull request May 11, 2021
Added on commit 617ff40 ("add --noautopulse arg for complex pulse
setups") / PR netblue30#1854.

Misc: I noticed that it was missing when comparing it to
contrib/vim/syntax/firejail.vim on commit 22a91ae ("contrib/vim: add
missing noinput command to syn match") / PR netblue30#4259.
kmk3 added a commit to kmk3/firejail that referenced this pull request May 11, 2021
Added on commit 617ff40 ("add --noautopulse arg for complex pulse
setups") / PR netblue30#1854.

Note: The template was added after that, on commit cb98aea ("Add
profile templates").

Misc: I noticed that it was missing when comparing it to
contrib/vim/syntax/firejail.vim on commit 22a91ae ("contrib/vim: add
missing noinput command to syn match") / PR netblue30#4259.
kmk3 added a commit to kmk3/firejail that referenced this pull request May 14, 2021
Changes:

* add the keep-config-pulse option
* make noautopulse an alias for keep-config-pulse
* deprecate the noautopulse option
* misc: fix indentation of --keep-dev-shm on src/firejail/usage.c

Even though noautopulse is not intended for hardening, it looks like it
is, because it starts with "no", just like no3d, noroot, etc).  In fact,
it is the only "no" option that differs in such a way.

And it has been accidentally misused as such before; see PR netblue30#4269 and
commit e4beaea ("drop noautopulse from agetpkg").

So effectively rename it to keep-config-pulse in order to avoid
confusion.  This is similar to the keep-var-tmp and keep-dev-shm
options, which are used to "leave a path alone", just like noautopulse.

Note: The changes on this patch are based on the ones from commit
617ff40 ("add --noautopulse arg for complex pulse setups") / PR netblue30#1854.

See netblue30#4269 for the discussion.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

~/.config/pulse cannot be whitelisted (always overriden unless nosound)
2 participants