-
Its been stated in the firejail --help section -> --machine-id - preserve /etc/machine-id Does using --machine-id in the profile or on terminal randomize /etc/machine-id or not? Unless im missing something stupidly obvious here, then the help menu description of it is wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
// spoof /etc/machine_id
void fs_machineid(void) {
union machineid_t {
uint8_t u8[16];
uint32_t u32[4];
} mid;
// if --machine-id flag is inactive, do nothing
if (arg_machineid == 0)
return;
if (arg_debug)
printf("Generating a new machine-id\n"); From the current firejail(1) man page:
The help section seems wrong indeed: $ firejail --help | grep machine-id
--machine-id - preserve /etc/machine-id And there are a few other places where it's written "preserve" as well. Good catch; I'll send a PR for this. |
Beta Was this translation helpful? Give feedback.
@svc88 on Nov 15:
This is what it does:
From the current firejail(1) man page: