Le jeu. 23 mars 2023 à 16:37, Etienne Champetier <champetier.etienne@xxxxxxxxx> a écrit : > > Hello, > > I'm setting `CPUAffinity=0-1` in /etc/systemd/system.conf, this works great. > Now, I want one of my units to set CPUAffinity to all available CPUs, > without knowing the number of CPUs. > Using `CPUAffinity=` reset the setting but we are still inheriting > from the parent so I still have `Cpus_allowed_list: 0-1` > Is there a way to do that in the latest systemd versions ? (I'm using > Alma Linux 8.7 / systemd-239-68.el8_7.4) Actually `CPUAffinity=0-999` works, any plans to make it error out or warn when CPU don't exists ? > Thanks > Etienne