[GH-ISSUE #6518] ctrl-g causes terminal emacs to exit. #3295

Open
opened 2026-05-05 09:53:54 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @amano-kenji on GitHub (Oct 26, 2024).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6518

Description

If I press ctrl-g on terminal emacs in firejail sandbox, I see this.

Child received signal 2, shutting down the sandbox...cess...

Expected behavior

ctrl-g should be passed to terminal emacs.

Actual behavior

ctrl-g kills terminal emacs.

Behavior without a profile

The same issue occurs.

Environment

  • Name/version/arch of the Linux kernel (uname -srm): Linux 6.6.52-gentoo x86_64
  • Name/version of the Linux distribution (e.g. "Ubuntu 20.04" or "Arch Linux"): gentoo linux
  • Version of Firejail (firejail --version): 0.9.72

Checklist

  • The issues is caused by firejail (i.e. running the program by path (e.g. /usr/bin/vlc) "fixes" it).
  • I can reproduce the issue without custom modifications (e.g. globals.local).
  • The program has a profile. (If not, request one in https://github.com/netblue30/firejail/issues/1139)
  • The profile (and redirect profile if exists) hasn't already been fixed upstream.
  • I have performed a short search for similar issues (to avoid opening a duplicate).

Log

Output of LC_ALL=C firejail --debug --noprofile /usr/bin/emacs -nw

emacs.log

Originally created by @amano-kenji on GitHub (Oct 26, 2024). Original GitHub issue: https://github.com/netblue30/firejail/issues/6518 ### Description If I press ctrl-g on terminal emacs in firejail sandbox, I see this. > Child received signal 2, shutting down the sandbox...cess... ### Expected behavior ctrl-g should be passed to terminal emacs. ### Actual behavior ctrl-g kills terminal emacs. ### Behavior without a profile The same issue occurs. ### Environment - Name/version/arch of the Linux kernel (`uname -srm`): Linux 6.6.52-gentoo x86_64 - Name/version of the Linux distribution (e.g. "Ubuntu 20.04" or "Arch Linux"): gentoo linux - Version of Firejail (`firejail --version`): 0.9.72 ### Checklist - [x] The issues is caused by firejail (i.e. running the program by path (e.g. `/usr/bin/vlc`) "fixes" it). - [x] I can reproduce the issue without custom modifications (e.g. globals.local). - [x] The program has a profile. (If not, request one in `https://github.com/netblue30/firejail/issues/1139`) - [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 (to avoid opening a duplicate). ### Log Output of LC_ALL=C firejail --debug --noprofile /usr/bin/emacs -nw [emacs.log](https://github.com/user-attachments/files/17529259/emacs.log)
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#3295
No description provided.