[Bug 439784] Re: invalid: environment block

Colin Watson cjwatson at canonical.com
Thu Oct 1 15:19:40 UTC 2009


I'd like to know why an explicit create is necessary for you, as
'grub-editenv /boot/grub/grubenv unset recordfail' will create the
environment block implicitly, as verified from the code and demonstrated
here:

  $ rm -f grubenv
  $ grub-editenv grubenv unset recordfail
  $ ls -l grubenv
  -rw-r--r-- 1 cjwatson cjwatson 1024 2009-10-01 16:17 grubenv

Where did you make your change? I put this line above '... unset
recordfail' in /etc/init.d/grub-common:

  [ -s /boot/grub/grubenv ] || rm -f /boot/grub/grubenv

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list