** Description changed:

  After active a tuned profile within bootloader, tuned service will
  append parameter $tuned_params in /boot/grub/grub.cfg
  
  ***
  Note: currently a softlink is required:
  ln -s /boot/grub/grub.cfg /etc/grub2.cfg
  
  Known issue: https://bugs.launchpad.net/ubuntu/+source/tuned/+bug/2121064
  ***
  
  If there is a defined under /etc/default/grub.d/
  ***
  cat 50-default.cfg
  GRUB_CMDLINE_LINUX_DEFAULT="console=tty1 console=ttyS0"
  ***
  
  After that, run update-grub command, the parameter $tuned_params will be
  removed from /boot/grub/grub.cfg.
+ 
+ 
+ Suggestion
+ 
+ How about follow the grub-mkconfig best practice, add file
+ /etc/default/grub.d/99-tuned.cfg with content:
+ 
+ ```
+ GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT \$tuned_params"  
+ ```

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

Title:
  $tuned_params will disappear after run update-grub

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


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

Reply via email to