root@fritz:/var/mod/root# ltrace -p 4235
strdup("default LOG_DEBUG " <unfinished ...>
strlen("default LOG_DEBUG ") = 18
<... strdup resumed> ) = 0x00420eb0
strdup("default LOG_DEBUG " <unfinished ...>
strlen("default LOG_DEBUG ") = 18
<... strdup resumed> ) = 0x00420ec8
strpbrk(0x420ec8, 0x40b82c, 3, 0x420ec3, 0x2aac5010) = 0x420ecf
strpbrk(0x420ed0, 0x40b82c, 32, 0x420ec3, 0x2aac5010) = 0x420ed9
strcasecmp("default", "Default") = 0
strcasecmp("LOG_DEBUG", "LOG_SEVERE") = -15
strcasecmp("LOG_DEBUG", "LOG_ERROR") = -1
strcasecmp("LOG_DEBUG", "LOG_WARN") = -19
strcasecmp("LOG_DEBUG", "LOG_NOTE") = -10
strcasecmp("LOG_DEBUG", "LOG_INFO") = -5
strcasecmp("LOG_DEBUG", "LOG_DEBUG") = 0
vsnprintf( <unfinished ...>
strlen("") = 0
<... vsnprintf resumed> NULL, 0, NULL, NULL) = 38
openlog("cnid_dbd", 9, 24 <unfinished ...>
strncpy(0x2ac1d43a, "/dev/log", 14) = 0x2ac1d43a
strlen("/dev/log") = 8
<... openlog resumed> ) = <void>
syslog(5, "%s", "Set syslog logging to level: LOG"... <unfinished ...>
__errno_location() = 0x2ac1d0a0
localtime(0x7f84c168 <unfinished ...>
strlen("TZ") = 2
close(7) = 0
strcmp("CET-1CEST-2,M3.5.0/02:00:00,M10."..., "") = 67
strncpy(0x2ac1d478, "CET-1CEST-2,M3.5.0/02:00:00,M10."..., 68) = 0x2ac1d478
strcmp("UTC", "CET") = 18
strcmp("???", "CET") = -4
<... localtime resumed> ) = 0x2ac21d3c
vsnprintf( <unfinished ...>
strlen("") = 0
strlen("") = 0
<... vsnprintf resumed> NULL, 0, NULL, NULL) = 20
strlen("cnid_dbd") = 8
vsnprintf( <unfinished ...>
strlen("") = 0
<... vsnprintf resumed> NULL, 0, NULL, NULL) = 8
vsnprintf( <unfinished ...>
strlen("") = 0
<... vsnprintf resumed> NULL, 0, NULL, NULL) = 6
vsnprintf( <unfinished ...>
strlen("") = 0
<... vsnprintf resumed> NULL, 0, NULL, NULL) = 38
write(4, "<29>Dec 4 19:25:11 cnid_dbd[423"..., 75) = 75
<... syslog resumed> ) = <void>
free(0x00420ec8) = <void>
vsnprintf( <unfinished ...>
strlen("") = 0
strlen("") = 0
<... vsnprintf resumed> "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"..., 1701585007, "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"..., 0x656c206f) = 22
syslog(6, "%s", "Setting uid/gid to 0/0" <unfinished ...>
__errno_location() = 0x2ac1d0a0
localtime(0x7f84c1b8 <unfinished ...>
strlen("TZ") = 2
close(7) = 0
strcmp("CET-1CEST-2,M3.5.0/02:00:00,M10."..., "CET-1CEST-2,M3.5.0/02:00:00,M10."...) = 0
strcmp("UTC", "CET") = 18
strcmp("???", "CET") = -4
strcmp("CET", "CET") = 0
<... localtime resumed> ) = 0x2ac21d3c
vsnprintf( <unfinished ...>
strlen("") = 0
strlen("") = 0
<... vsnprintf resumed> NULL, 0, NULL, NULL) = 20
strlen("cnid_dbd") = 8
vsnprintf( <unfinished ...>
strlen("") = 0
<... vsnprintf resumed> NULL, 0, NULL, NULL) = 8
vsnprintf( <unfinished ...>
strlen("") = 0
<... vsnprintf resumed> NULL, 0, NULL, NULL) = 6
vsnprintf( <unfinished ...>
strlen("") = 0
<... vsnprintf resumed> NULL, 0, NULL, NULL) = 22
write(4, "<30>Dec 4 19:25:11 cnid_dbd[423"..., 59) = 59
<... syslog resumed> ) = <void>
open64("lock", 258, 0644) = 7
fcntl64(7, 34, 0x7f84cbe0, 0, 0) = 0
vsnprintf( <unfinished ...>
strlen("") = 0
<... vsnprintf resumed> "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"..., 1701585007, "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"..., 0x656c206f) = 39
syslog(6, "%s", "Startup, DB dir /tmp/cnid_db_1/."... <unfinished ...>
__errno_location() = 0x2ac1d0a0
localtime(0x7f84c1b8 <unfinished ...>
strlen("TZ") = 2
close(9) = 0
strcmp("CET-1CEST-2,M3.5.0/02:00:00,M10."..., "CET-1CEST-2,M3.5.0/02:00:00,M10."...) = 0
strcmp("UTC", "CET") = 18
strcmp("???", "CET") = -4
strcmp("CET", "CET") = 0
<... localtime resumed> ) = 0x2ac21d3c
vsnprintf( <unfinished ...>
strlen("") = 0
strlen("") = 0
<... vsnprintf resumed> NULL, 0, NULL, NULL) = 20
strlen("cnid_dbd") = 8
vsnprintf( <unfinished ...>
strlen("") = 0
<... vsnprintf resumed> NULL, 0, NULL, NULL) = 8
vsnprintf( <unfinished ...>
strlen("") = 0
<... vsnprintf resumed> NULL, 0, NULL, NULL) = 6
vsnprintf( <unfinished ...>
strlen("") = 0
<... vsnprintf resumed> NULL, 0, NULL, NULL) = 39
write(4, "<30>Dec 4 19:25:11 cnid_dbd[423"..., 76) = 76
<... syslog resumed> ) = <void>
strlen("/tmp/cnid_db_1/.AppleDB") = 23
strlen("usock") = 5
strlen("/tmp/cnid_db_1/.AppleDB") = 23
strlen("db_param") = 8
__errno_location() = 0x2ac1d0a0
free(0x00420ef0) = <void>
__errno_location() = 0x2ac1d0a0
strdup("." <unfinished ...>
strlen(".") = 1
<... strdup resumed> ) = 0x00420f48
strdup("cnid2.db" <unfinished ...>
strlen("cnid2.db") = 8
<... strdup resumed> ) = 0x00420f58
open64(".", 0, 05603) = 9
__errno_location() = 0x2ac1d0a0
__errno_location() = 0x2ac1d0a0
close(9) = 0
open64(".", 0, 00) = 9
__errno_location() = 0x2ac1d0a0
__errno_location() = 0x2ac1d0a0
close(9) = 0
vsnprintf(NULL, 0, NULL, NULL) = 16
syslog(7, "%s", "Running recovery" <unfinished ...>
__errno_location() = 0x2ac1d0a0
localtime(0x7f84c0c0 <unfinished ...>
strlen("TZ") = 2
close(9) = 0
strcmp("CET-1CEST-2,M3.5.0/02:00:00,M10."..., "CET-1CEST-2,M3.5.0/02:00:00,M10."...) = 0
strcmp("UTC", "CET") = 18
strcmp("???", "CET") = -4
strcmp("CET", "CET") = 0
<... localtime resumed> ) = 0x2ac21d3c
vsnprintf( <unfinished ...>
strlen("") = 0
strlen("") = 0
<... vsnprintf resumed> NULL, 0, NULL, NULL) = 20
strlen("cnid_dbd") = 8
vsnprintf( <unfinished ...>
strlen("") = 0
<... vsnprintf resumed> NULL, 0, NULL, NULL) = 8
vsnprintf( <unfinished ...>
strlen("") = 0
<... vsnprintf resumed> NULL, 0, NULL, NULL) = 6
vsnprintf( <unfinished ...>
strlen("") = 0
<... vsnprintf resumed> NULL, 0, NULL, NULL) = 16
write(4, "<31>Dec 4 19:25:12 cnid_dbd[423"..., 53) = 53
<... syslog resumed> ) = <void>
vsnprintf(NULL, 0, NULL, NULL) = 18
syslog(7, "%s", "DB set to VERBOSE." <unfinished ...>
__errno_location() = 0x2ac1d0a0
localtime(0x7f84c0c0 <unfinished ...>
strlen("TZ") = 2
close(9) = 0
strcmp("CET-1CEST-2,M3.5.0/02:00:00,M10."..., "CET-1CEST-2,M3.5.0/02:00:00,M10."...) = 0
strcmp("UTC", "CET") = 18
strcmp("???", "CET") = -4
strcmp("CET", "CET") = 0
<... localtime resumed> ) = 0x2ac21d3c
vsnprintf( <unfinished ...>
strlen("") = 0
strlen("") = 0
<... vsnprintf resumed> NULL, 0, NULL, NULL) = 20
strlen("cnid_dbd") = 8
vsnprintf( <unfinished ...>
strlen("") = 0
<... vsnprintf resumed> NULL, 0, NULL, NULL) = 8
vsnprintf( <unfinished ...>
strlen("") = 0
<... vsnprintf resumed> NULL, 0, NULL, NULL) = 6
vsnprintf( <unfinished ...>
strlen("") = 0
<... vsnprintf resumed> NULL, 0, NULL, NULL) = 18
write(4, "<31>Dec 4 19:25:12 cnid_dbd[423"..., 55) = 55
<... syslog resumed> ) = <void>
strlen(".") = 1
strlen(".") = 1
strlen("DB_CONFIG") = 9
strlen(".") = 1
strlen("DB_CONFIG") = 9
__errno_location() = 0x2ac1d0a0
free(0x00422468) = <void>
free(0x00422458) = <void>
strlen("/var/tmp") = 8
vsnprintf( <unfinished ...>
strlen("") = 0
<... vsnprintf resumed> "h\017B", 4330304, "h\017B", 0x00421340) = 8
strlen(".") = 1
strlen("__db.001") = 8
strlen(".") = 1
strlen("__db.001") = 8
strlen("./__db.001") = 10
open64("./__db.001", 2, 00 <unfinished ...>
__errno_location() = 0x2ac1d0a0
<... open64 resumed> ) = -1
__errno_location() = 0x2ac1d0a0
free(0x004224d8) = <void>
free(0x004224a8) = <void>
free(0x00422498) = <void>
free(0x00422468) = <void>
vsnprintf( <unfinished ...>
strlen("") = 0
<... vsnprintf resumed> "h\017B", 4330304, "h\017B", 0x00421340) = 8
strlen(".") = 1
strlen("__db.001") = 8
strlen(".") = 1
strlen("__db.001") = 8
vsnprintf( <unfinished ...>
strlen("") = 0
strlen("") = 0
<... vsnprintf resumed> NULL, 0, NULL, NULL) = 3
root@fritz:/var/mod/root#