-
Notifications
You must be signed in to change notification settings - Fork 33
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
grub_menuentry resource fail if directory /boot/grub doe not exist #53
Comments
@aursu This is an accurate error. Nothing can be done if the grub configuration is not present. Would you prefer a more clean early bail out if no target files can be found? |
Hello, @trevor-vaughan You are right. this issue should be categorised as feature request rather than bug Let me explain. There is parameter The trouble is that path But RedHat and consequently CentOS default is Therefore I propose to add some conditional checks which will allow to not fail but just skip As workaround to this issue I've added resource Thank you |
Interesting. It was tested primarily on CentOS systems! I'll double check that the acceptance tests are picking it up and go from there. |
@aursu Determined that this is a legit bug. The logic isn't quite right. Prodding and will push a patch when things are in order. |
* Fix legacy GRUB issue due to missing updates to the provider (test node had been commented out) * Fix processing of the menuentry generation in GRUB2 Fixes voxpupuli#53
@aursu Can you try out the associated patch and let me know if it resolves your issue? |
Hello, there is a bug inside
grub2
provider for custom typeGrub_menuentry
which cause next behaviour:Bug is inside this block of method
grub2_mkconfig
if folder
/boot/grub
is not existing it will fail withErrno::ENOENT: No such file or directory @ rb_sysopen - /boot/grub/grub.cfg
Please review and fix it
The text was updated successfully, but these errors were encountered: