Uploaded image for project: 'RHEL Testing'
  1. RHEL Testing
  2. RHELTEST-767

kdump/setup-bare-metal: abort on rhel6

    • False
    • Hide

      None

      Show
      None
    • False
    • None

      Complete!
      [  04:14:28  ] :: [  LOG  ] :: Uploading /mnt/testarea/lshw.output
      [  04:14:29  ] :: [  LOG  ] :: Uploading /mnt/testarea/bios.log
      ../include/kdump.sh: line 100: -3: substring expression < 0
      make: *** [run] Error 1
       

      RHEL6 cannot trim the last 3 chars from the var on ../include/kdump.sh :

      [root@ibm-z-525 kdump]# myvar="123456"
      [root@ibm-z-525 kdump]# newvar="${myvar::-3}"
      -bash: -3: substring expression < 0 

              rhn-support-rbergant Roberto Bergantinos Corpas
              rhn-support-rbergant Roberto Bergantinos Corpas
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: