-
Notifications
You must be signed in to change notification settings - Fork 662
Firejail breaks daemonizing processes #3491
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The following snippet works without problems when executed without firejail. However, when run with firejail (firejail bash snippet.sh), it keeps this process in the foreground.
This causes problems with the SSH connection multiplexing feature and causes ansible and even git over SSH to hang, because SSH can not daemonize and lingers indefinitely.
#!/bin/bash
some_loop(){
while true; do
echo "looped"
sleep 3
done
}
echo "some interactive stuff"
echo -n "enter something: "
read -r spam
echo "you entered $spam"
echo "forking loop and exiting"
(some_loop&)Related: #1518
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working