Closed dashmage closed 2 months ago
(by afreiberger) I do agree, we have set an opinionated default of disabling PTI by default, which, while a good practice, is against this catch-all charm's typical "make no changes without explicit configuration" mindset.
I feel like we should consider renaming the option as "disable-pti" and set it to "false" as default with some WARNING documentation in the description that this should be set to true to be protected at the cost of performance.
closing as resolved in #17
Just installing sysconfig the first time without particular charm configuration; the cmdline gets extended with pti=off. This may or may not be what the user expects, but it does change the default configuration. It's coming from how the template gets rendered: https://git.launchpad.net/charm-sysconfig/tree/src/templates/grub.j2#n32 and https://git.launchpad.net/charm-sysconfig/tree/src/config.yaml#n75
Would be better to have to change the config option in case you decide to need the config to be changed.
Imported from Launchpad using lp2gh.
date created: 2021-01-29T15:52:25Z
owner: gabor.meszaros
assignee: None
duplicate of: #17
the launchpad url