Opened 10 months ago

Closed 9 months ago

#841 closed System Defect (invalid)

Syntax error in auto-generated /boot/grub/grub.cfg.new due to '\t' characters at beginning of lines

Reported by: baitisj Owned by: kris
Priority: critical Milestone: 9.2
Component: System Configuration Version: 9.2-RELEASE
Keywords: Cc: trac-bugs@…

Description

When updating my boot configuration, I noticed that several lines of /usr/local/etc/grub.d/10_kfreebsd include lines such as the following:

| sed -e "s/^/\t/"

This results in a 't' character placed in the beginning of applicable lines in /boot/grub/grub.cfg.new.

Obviously the author wanted to add "tab" characters.

Change History (2)

comment:1 Changed 10 months ago by joshms

  • Owner set to kris
  • Priority changed from major to critical

comment:2 Changed 9 months ago by kris

  • Resolution set to invalid
  • Status changed from new to closed

I'm not sure this applies to us. We ship an "empty" 10_kfreebsd and use 10_ktrueos instead, which doesn't have those sed statements.

https://github.com/pcbsd/pcbsd/tree/master/src-sh/pc-extractoverlay/ports-overlay/usr/local/etc/grub.d

Note: See TracTickets for help on using tickets.