-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v4.0.0: Standard error of grub-mkconfig
written to grub.cfg
#74
Comments
grub-mkconfig
redirected to grub.cfg
grub-mkconfig
written to grub.cfg
Hello, Any news on this? If this is really causing boot failure, that should be fixed quickly I guess |
The bug came in from commit 63c2c4b from #64. Before this, (I don't know that it's actually " |
@gcoxmoz thanks for the analysis. It's definitely |
Hi, I've submitted #84 to fix this. Could someone review? Thanks! |
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
Use
kernel_parameter
and have it make a change to/etc/default/grub
likeWhat are you seeing
/boot/grub/grub.cfg
is created bygrub-mkconfig
, but the standard error (stderr) of this command is included along with the standard output, resulting in an invalidgrub.cfg
, possibly causing boot failure depending on where the bogus lines end up ingrub.cfg
. The standard error looks like this:What behaviour did you expect instead
Only the standard output (stdout) of
grub-mkconfig
should be written togrub.cfg
. This is how this module works in version 3.2.0.Any additional information you'd like to impart
I think the bug was introduced by one of these commits:
The text was updated successfully, but these errors were encountered: