From f278102ab1cdf9b3637fc7df5bd2e4bee1965c36 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Wed, 18 Jan 2017 08:50:39 -0500 Subject: [PATCH] fix PulseAudio/machine-id problem --- src/firejail/fs_etc.c | 4 ++-- src/man/firejail-profile.txt | 2 +- src/man/firejail.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/firejail/fs_etc.c b/src/firejail/fs_etc.c index 479383af23a..f14e90deb8a 100644 --- a/src/firejail/fs_etc.c +++ b/src/firejail/fs_etc.c @@ -31,8 +31,8 @@ void fs_machineid(void) { uint32_t u32[4]; } mid; - // if --machine-id flag is active, do nothing - if (arg_machineid) + // if --machine-id flag is inactive, do nothing + if (arg_machineid == 0) return; // init random number generator diff --git a/src/man/firejail-profile.txt b/src/man/firejail-profile.txt index 8fd4562b082..ecb8be13982 100644 --- a/src/man/firejail-profile.txt +++ b/src/man/firejail-profile.txt @@ -452,7 +452,7 @@ Assign MAC addresses to the last network interface defined by a net command. .TP \fBmachine-id -Preserve id number in /etc/machine-id file. By default a new random id is generated inside the sandbox. +Spoof id number in /etc/machine-id file - a new random id is generated inside the sandbox. .TP \fBmtu number diff --git a/src/man/firejail.txt b/src/man/firejail.txt index 69d28c78874..69ed2a8dc13 100644 --- a/src/man/firejail.txt +++ b/src/man/firejail.txt @@ -678,7 +678,7 @@ $ firejail \-\-net=eth0 \-\-mac=00:11:22:33:44:55 firefox .TP \fB\-\-machine-id -Preserve id number in /etc/machine-id file. By default a new random id is generated inside the sandbox. +Spoof id number in /etc/machine-id file - a new random id is generated inside the sandbox. .br .br