ionice: does not appear to work in firejail #6350
-
How does firejail behave with ionice? The capability is often blocked inside the sandbox thus not available. Is starting firejail with ionice have any effect at all? Say,
Does this work as expected? Thus far my observations are that it doesn't. If I am correct, I suggest this gets implemented, because there are certain disk heavy frameworks which I'd rather ionice lest they do some obscene things to my HDD. My observations are purely subjective and may be (severely) biased by disk swapping. Is there a reliable way to test this at all? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
How do you test. "by feeling" is always a worst test method. Because for me: $ ionice
none: prio 0
$ firejail --quiet ionice
none: prio 0
$ ionice -c 3 firejail --quiet ionice
idle
If it is a kernel restriction (for example for SUID binaries), it can not magically be lifted. In that case run |
Beta Was this translation helpful? Give feedback.
-
Thank you, that answers my question. Somehow I did not notice issuing |
Beta Was this translation helpful? Give feedback.
How do you test.
"by feeling" is always a worst test method. Because for me:
If it is a kernel restriction (for example for SUID binaries), it can not magically be lifted. In that case run
ionice
inside firejail likefirejail --profile=foobar ionice -c3 foobar
.