Closed vn971 closed 8 years ago
Ignore only ignores options specified in profile files, not on the command line.
Because net is entered on the command line, it will not be ignored.
Yes, it only ignores commands in profile files.
@pyamsoft @netblue30 oh, you're right. I don't know how I would prefer things to be (ignore CLI arguments or not), but at least the current behavior is documented, and makes sense. (People rarely concatenate arguments in my experience, although I did.) Closing for now. Thanks.
Currently,
--ignore=net
does not ignore a--net
command. Should it, by design?Steps to reproduce:
firejail --noprofile --ignore=net --net=none --ignore=net ping 8.8.8.8
Expected: successful ping. Actually: "network unreachable".