Public bug reported:

Probably due to an abundance of caution, tuned is recommending to run
"dracut -f" in the systemd plugin:

tuned/plugins/plugin_systemd.py:
    def _instance_unapply_static(self, instance, rollback = 
consts.ROLLBACK_SOFT):
        if rollback == consts.ROLLBACK_FULL:
            log.info("removing '%s' systemd tuning previously added by TuneD" % 
consts.SYSTEMD_CPUAFFINITY_VAR)
            self._remove_systemd_tuning()
            log.console("you may need to manualy run 'dracut -f' to update the 
systemd configuration in initrd image")


That message is shown in the console when the realtime profile is applied, for 
example:

# tuned-adm profile realtime
CONSOLE  tuned.plugins.plugin_systemd: you may need to manualy run 'dracut -f' 
to update the systemd configuration in initrd image

Ubuntu systems don't use dracut by default, so this check could perhaps
be improved.

Some ideas:
- only show it if dracut is installed
- find a way to discover if a dracut-initrd was used in the current boot

** Affects: tuned (Ubuntu)
     Importance: Low
         Status: Triaged

** Changed in: tuned (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2077476

Title:
  tuned recommends to run dracut even if it's not installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tuned/+bug/2077476/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to