On Di, 18.06.19 22:05, Dominick C. Pastore (dominickpastore@xxxxxxxx) wrote: > Hello, > > I think this is an easy question but I can't find the answer > anywhere. Which version of systemd are you using? > > I'm having some trouble with a unit file drop-in overrride. I have a package that uses some options that are incompatible with the LXD container I'm running it in. Specifically, the following two options: > > [Service] > IOSchedulingClass=realtime > CPUSchedulingPolicy=rr > > So I used "systemd edit" to try and override these using the following: > > [Service] > IOSchedulingClass= > CPUSchedulingPolicy= > > The problem is, then I get the messages "Failed to parse IO > scheduling class, ignoring: " and "Failed to parse CPU scheduling > policy, ignoring: " in the journal. In current versions (since 239) this should work fine. Please upgrade (or ask your distro to backport 617d253afad10ca9c7861eb3a2b381a8f95cf4ad. You might be able to do the following though: IOSchedulingClass=be CPUSchedulingPolicy=other which are the default values. I didn't test that though, I am not sure if the kernel will let you set the parameters to the values already set without complaining. Alternatively, just copy the unit file from /usr/lib to /etc, and comment the relevant lines. That way you override the whole file. Lennart -- Lennart Poettering, Berlin _______________________________________________ systemd-devel mailing list systemd-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/systemd-devel