Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.0.8
-
None
Description
Due to start script bug karaf stuck in infinite loop trying to resolve links/paths. Karaf 3.0.8 is just fine.
dtrace -n 'proc:::exec-success { printf("%d %s", timestamp, curpsinfo->pr_psargs); }
3 2774 exec_common:exec-success 13701034740196517 basename ./karaf
3 2774 exec_common:exec-success 13701034741563289 ls -l karaf
3 2774 exec_common:exec-success 13701034750148401 basename ./karaf
3 2774 exec_common:exec-success 13701034751490882 ls -l karaf
3 2774 exec_common:exec-success 13701034756688018 awk -F-> {print $2}
3 2774 exec_common:exec-success 13701034764053846 awk -F-> {print $2}
3 2774 exec_common:exec-success 13701034772039905 basename ./karaf
3 2774 exec_common:exec-success 13701034793390589 awk -F-> {print $2}
3 2774 exec_common:exec-success 13701034795465471 ls -l karaf
3 2774 exec_common:exec-success 13701034798580611 dirname rwxr
3 2774 exec_common:exec-success 13701034808394710 awk -F-> {print $2}
3 2774 exec_common:exec-success 13701034818317227 basename ./karaf
3 2774 exec_common:exec-success 13701034819658361 ls -l karaf
3 2774 exec_common:exec-success 13701034824901811 awk -F-> {print $2}
3 2774 exec_common:exec-success 13701034832185985 awk -F-> {print $2}
3 2774 exec_common:exec-success 13701034834300045 ls -l karaf
3 2774 exec_common:exec-success 13701034837399540 dirname rwxr
3 2774 exec_common:exec-success 13701034844648565 dirname rwxr
3 2774 exec_common:exec-success 13701034852339549 dirname rwxr
3 2774 exec_common:exec-success 13701034864501043 basename ./karaf
3 2774 exec_common:exec-success 13701034865863220 ls -l karaf
3 2774 exec_common:exec-success 13701034872957211 awk -F-> {print $2}
3 2774 exec_common:exec-success 13701034880966296 basename ./karaf
3 2774 exec_common:exec-success 13701034882320039 ls -l karaf
3 2774 exec_common:exec-success 13701034887548402 awk -F-> {print $2}
3 2774 exec_common:exec-success 13701034895525356 basename ./karaf
3 2774 exec_common:exec-success 13701034896902170 ls -l karaf
3 2774 exec_common:exec-success 13701034902767341 basename ./karaf
3 2774 exec_common:exec-success 13701034904144895 ls -l karaf
3 2774 exec_common:exec-success 13701034909324639 awk -F-> {print $2}
3 2774 exec_common:exec-success 13701034917334414 basename ./karaf
3 2774 exec_common:exec-success 13701034921832024 dirname rwxr
3 2774 exec_common:exec-success 13701034944276297 basename ./karaf
3 2774 exec_common:exec-success 13701034967903680 basename ./karaf
3 2774 exec_common:exec-success 13701034982170895 awk -F-> {print $2}
3 2774 exec_common:exec-success 13701034985879832 ls -l karaf
3 2774 exec_common:exec-success 13701034993122681 dirname rwxr
3 2774 exec_common:exec-success 13701035005461019 awk -F-> {print $2}
3 2774 exec_common:exec-success 13701035007553647 ls -l karaf
3 2774 exec_common:exec-success 13701035028166085 awk -F-> {print $2}
3 2774 exec_common:exec-success 13701035030280956 ls -l karaf
3 2774 exec_common:exec-success 13701035033473916 dirname rwxr
3 2774 exec_common:exec-success 13701035042227910 dirname rwxr
3 2774 exec_common:exec-success 13701035049567466 dirname rwxr
3 2774 exec_common:exec-success 13701035057042649 dirname rwxr
3 2774 exec_common:exec-success 13701035072158969 dirname rwxr
3 2774 exec_common:exec-success 13701035079931335 dirname rwxr
3 2774 exec_common:exec-success 13701035091302728 basename ./karaf
3 2774 exec_common:exec-success 13701035114648553 awk -F-> {print $2}
3 2774 exec_common:exec-success 13701035116776774 ls -l karaf
3 2774 exec_common:exec-success 13701035119939237 dirname rwxr
3 2774 exec_common:exec-success 13701035134695662 awk -F-> {print $2}
3 2774 exec_common:exec-success 13701035138461378 ls -l karaf
3 2774 exec_common:exec-success 13701035156538295 awk -F-> {print $2}
3 2774 exec_common:exec-success 13701035158679245 ls -l karaf
3 2774 exec_common:exec-success 13701035161889984 dirname rwxr
3 2774 exec_common:exec-success 13701035180174111 awk -F-> {print $2}
3 2774 exec_common:exec-success 13701035182516085 ls -l karaf
3 2774 exec_common:exec-success 13701035185646245 dirname rwxr
3 2774 exec_common:exec-success 13701035195992680 basename ./karaf
3 2774 exec_common:exec-success 13701035219394212 awk -F-> {print $2}
PS4='Line ${LINENO}: ' bash -x ./karaf LLine 23: '[' rwxr ']' LLLine 24: dirname rwxr LLine 24: cd . LLLine 25: awk '-F-> ' '{print $2}' LLLLine 25: basename ./karaf LLLine 25: ls -l karaf LLine 25: LINK=rwxr LLine 23: '[' rwxr ']' LLLine 24: dirname rwxr LLine 24: cd . LLLine 25: awk '-F-> ' '{print $2}' LLLLine 25: basename ./karaf LLLine 25: ls -l karaf LLine 25: LINK=rwxr LLine 23: '[' rwxr ']' LLLine 24: dirname rwxr LLine 24: cd . LLLine 25: awk '-F-> ' '{print $2}' LLLLine 25: basename ./karaf LLLine 25: ls -l karaf LLine 25: LINK=rwxr LLine 23: '[' rwxr ']' LLLine 24: dirname rwxr LLine 24: cd . LLLine 25: awk '-F-> ' '{print $2}' LLLLine 25: basename ./karaf LLLine 25: ls -l karaf LLine 25: LINK=rwxr LLine 23: '[' rwxr ']' LLLine 24: dirname rwxr LLine 24: cd . LLLine 25: awk '-F-> ' '{print $2}' LLLLine 25: basename ./karaf LLLine 25: ls -l karaf LLine 25: LINK=rwxr LLine 23: '[' rwxr ']' LLLine 24: dirname rwxr LLine 24: cd . LLLine 25: awk '-F-> ' '{print $2}' LLLLine 25: basename ./karaf LLLine 25: ls -l karaf LLine 25: LINK=rwxr LLine 23: '[' rwxr ']' LLLine 24: dirname rwxr LLine 24: cd . LLLine 25: awk '-F-> ' '{print $2}' LLLLine 25: basename ./karaf LLLine 25: ls -l karaf LLine 25: LINK=rwxr LLine 23: '[' rwxr ']' LLLine 24: dirname rwxr LLine 24: cd . LLLine 25: awk '-F-> ' '{print $2}' LLLLine 25: basename ./karaf LLLine 25: ls -l karaf LLine 25: LINK=rwxr LLine 23: '[' rwxr ']' LLLine 24: dirname rwxr LLine 24: cd .
Attachments
Issue Links
- is related to
-
KARAF-4564 Can't start karaf using symbolic link
- Resolved