https://bugzilla.novell.com/show_bug.cgi?id=841337 https://bugzilla.novell.com/show_bug.cgi?id=841337#c1 --- Comment #1 from Glenn Doig <doiggl@velocitynet.com.au> 2013-09-19 16:57:42 UTC --- # mysql mysql: Can't read dir of '/etc/mysql' (Errcode: 2) Fatal error in defaults handling. Program aborted # strace mysql execve("/usr/bin/mysql", ["mysql"], [/* 89 vars */]) = 0 brk(0) = 0xded000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb723634000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=109305, ...}) = 0 mmap(NULL, 109305, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fb723619000 close(3) = 0 open("/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20o\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=141506, ...}) = 0 mmap(NULL, 2217104, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb7231f8000 mprotect(0x7fb723210000, 2097152, PROT_NONE) = 0 mmap(0x7fb723410000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x18000) = 0x7fb723410000 mmap(0x7fb723412000, 13456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb723412000 close(3) = 0 open("/lib64/libncurses.so.5", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\213\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=158528, ...}) = 0 mmap(NULL, 2254080, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb722fd1000 mprotect(0x7fb722ff7000, 2093056, PROT_NONE) = 0 mmap(0x7fb7231f6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0x7fb7231f6000 close(3) = 0 open("/lib64/libtinfo.so.5", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \r\1\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=209552, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb723618000 mmap(NULL, 2306656, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb722d9d000 mprotect(0x7fb722dc8000, 2093056, PROT_NONE) = 0 mmap(0x7fb722fc7000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2a000) = 0x7fb722fc7000 mmap(0x7fb722fd0000, 608, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb722fd0000 close(3) = 0 open("/lib64/libz.so.1", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0%\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=88216, ...}) = 0 mmap(NULL, 2183304, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb722b87000 mprotect(0x7fb722b9c000, 2093056, PROT_NONE) = 0 mmap(0x7fb722d9b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x7fb722d9b000 close(3) = 0 open("/lib64/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 J\1\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0555, st_size=415720, ...}) = 0 mmap(NULL, 2511056, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb722921000 mprotect(0x7fb72297d000, 2093056, PROT_NONE) = 0 mmap(0x7fb722b7c000, 40960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5b000) = 0x7fb722b7c000 mmap(0x7fb722b86000, 208, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb722b86000 close(3) = 0 open("/lib64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\327\6\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0555, st_size=1996256, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb723617000 mmap(NULL, 4106744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb722536000 mprotect(0x7fb7226f7000, 2097152, PROT_NONE) = 0 mmap(0x7fb7228f7000, 155648, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c1000) = 0x7fb7228f7000 mmap(0x7fb72291d000, 14840, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb72291d000 close(3) = 0 open("/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\16\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=18904, ...}) = 0 mmap(NULL, 2109712, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb722332000 mprotect(0x7fb722335000, 2093056, PROT_NONE) = 0 mmap(0x7fb722534000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fb722534000 close(3) = 0 open("/lib64/libm.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0PX\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1127824, ...}) = 0 mmap(NULL, 3154264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb72202f000 mprotect(0x7fb722131000, 2093056, PROT_NONE) = 0 mmap(0x7fb722330000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x101000) = 0x7fb722330000 close(3) = 0 open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\34\2\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=2008128, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb723616000 mmap(NULL, 3861056, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb721c80000 mprotect(0x7fb721e25000, 2097152, PROT_NONE) = 0 mmap(0x7fb722025000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a5000) = 0x7fb722025000 mmap(0x7fb72202b000, 14912, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb72202b000 close(3) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb723615000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb723614000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb723613000 arch_prctl(ARCH_SET_FS, 0x7fb723614700) = 0 mprotect(0x7fb722025000, 16384, PROT_READ) = 0 mprotect(0x7fb722330000, 4096, PROT_READ) = 0 mprotect(0x7fb722534000, 4096, PROT_READ) = 0 mprotect(0x7fb722d9b000, 4096, PROT_READ) = 0 mprotect(0x7fb7228f7000, 110592, PROT_READ) = 0 mprotect(0x7fb722b7c000, 16384, PROT_READ) = 0 mprotect(0x7fb722fc7000, 16384, PROT_READ) = 0 mprotect(0x7fb7231f6000, 4096, PROT_READ) = 0 mprotect(0x7fb723410000, 4096, PROT_READ) = 0 mprotect(0x90d000, 40960, PROT_READ) = 0 mprotect(0x7fb723635000, 4096, PROT_READ) = 0 munmap(0x7fb723619000, 109305) = 0 set_tid_address(0x7fb7236149d0) = 25066 set_robust_list(0x7fb7236149e0, 24) = 0 rt_sigaction(SIGRTMIN, {0x7fb7231fe9f0, [], SA_RESTORER|SA_SIGINFO, 0x7fb7232079f0}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {0x7fb7231fea80, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7fb7232079f0}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 brk(0) = 0xded000 brk(0xe0e000) = 0xe0e000 mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fb72147f000 mprotect(0x7fb72147f000, 4096, PROT_NONE) = 0 clone(child_stack=0x7fb721c7eff0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7fb721c7f9d0, tls=0x7fb721c7f700, child_tidptr=0x7fb721c7f9d0) = 25067 futex(0x7fb721c7f9d0, FUTEX_WAIT, 25067, NULL) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 dup(1) = 3 close(3) = 0 stat("/etc/mysql/my.cnf", 0x7fff11742100) = -1 ENOENT (No such file or directory) stat("/etc/my.cnf", {st_mode=S_IFREG|0640, st_size=3401, ...}) = 0 open("/etc/my.cnf", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0640, st_size=3401, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb723633000 read(3, "# This is default example of MyS"..., 4096) = 3401 openat(AT_FDCWD, "/etc/mysql/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory) write(2, "\7", 1) = 1 write(2, "mysql", 5mysql) = 5 write(2, ": ", 2: ) = 2 write(2, "Can't read dir of '/etc/mysql' ("..., 43Can't read dir of '/etc/mysql' (Errcode: 2)) = 43 write(2, "\n", 1 ) = 1 close(3) = 0 munmap(0x7fb723633000, 4096) = 0 write(2, "Fatal error in defaults handling"..., 50Fatal error in defaults handling. Program aborted ) = 50 exit_group(1) = ? +++ exited with 1 +++ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.