Follow-up Comment #2, bug #45010 (project grub):

Agreed, as a guess I'd say there's something wrong with the strstr in the C
library, although I can't imagine what.

I assumed there was a reason for having a private copy as grub_strstr(), and
when I saw it was used everywhere else but these two spots, I decided to try
it, and it worked.

But what the "correct fix" would be, I don't have a clue.

The problem was repeatable.  I used CentOS-7-x86_64-Minimal-1503-01.iso, and
the kickstart is pasted in below.  It was installing under KVM with these
settings:

1GB RAM
1 CPU
10GB qcow2 hd
no graphics

I'm happy to test fixes if that helps.

HTH! -- prr

kickstart:

text
skipx
cmdline
lang en_US
keyboard us
network --onboot=on --bootproto=dhcp
firewall --enabled --service=ssh,http,https,samba,samba-client
services --enabled=sshd,httpd,smb
eula --agreed
auth --useshadow --passalgo=sha512
rootpw St0rnext!
selinux --disabled
timezone --utc UTC
bootloader --location=mbr --driveorder=sda --password=St0rnext!
zerombr
clearpart --all
part /boot --size=1000 --fstype=xfs
part swap  --size=2000
part /     --size=1000 --fstype=xfs --grow
firstboot --disable
poweroff

%pre

%end
%packages --ignoremissing
@core
samba
ntp
vim-enhanced
libguestfs-tools

%end
%post
# yum clean all
# ssh-keygen -q -t rsa -N "" -f /root/.ssh/id_rsa
# cp -p -f --context=system_u:object_r:ssh_home_t:s0 /root/.ssh/id_rsa.pub
/root/.ssh/authorized_keys
# chmod 600 /root/.ssh/authorized_keys

%end


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45010>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to