Date: Sun, 10 Oct 2004 16:15:32 +0300 From: "Oleg V. Nauman" <oleg@reis.zp.ua> To: freebsd-current@freebsd.org Subject: mount_msdosfs tries to load nonexistent libiconv.so Message-ID: <20041010131532.GG61535@core.zp.ua>
next in thread | raw e-mail | index | archive | help
After upgrading my system to 5.3-BETA7 I decided to rebuild all installed ports on this system. After removing all installed ports and rebooting I got: "msdosfs: Unable to load iconv library: Shared object "libiconv.so" not found, required by "msdosfs"" and prompt for enter shell. Line in question from /etc/fstab was: /dev/ad0s1 /mnt/C msdos rw,-Lru_RU.KOI8-R,-Wkoi2dos 0 0 Relevant part from ktrace out: 110 mount_msdosfs CALL modfind(0x80499a0) 110 mount_msdosfs RET modfind 43/0x2b 110 mount_msdosfs CALL __sysctl(0xbfbfde58,0x2,0xbfbfde60,0xbfbfde54,0x280778e1,0x11) 110 mount_msdosfs RET __sysctl 0 110 mount_msdosfs CALL __sysctl(0xbfbfde60,0x3,0,0xbfbfdf1c,0,0) 110 mount_msdosfs RET __sysctl 0 110 mount_msdosfs CALL sigprocmask(0x1,0x280698a0,0xbfbfd3c0) 110 mount_msdosfs RET sigprocmask 0 110 mount_msdosfs CALL access(0x28073000,0) 110 mount_msdosfs NAMI "/lib/libiconv.so" 110 mount_msdosfs RET access -1 errno 2 No such file or directory 110 mount_msdosfs CALL access(0x28073000,0) 110 mount_msdosfs NAMI "/usr/lib/libiconv.so" 110 mount_msdosfs RET access -1 errno 2 No such file or directory 110 mount_msdosfs CALL access(0x28073000,0) 110 mount_msdosfs NAMI "/usr/local/lib/kde3/libiconv.so" 110 mount_msdosfs RET access -1 errno 2 No such file or directory 110 mount_msdosfs CALL access(0x28073000,0) 110 mount_msdosfs NAMI "/lib/libiconv.so" 110 mount_msdosfs RET access -1 errno 2 No such file or directory 110 mount_msdosfs CALL access(0x28073000,0) 110 mount_msdosfs NAMI "/usr/lib/libiconv.so" 110 mount_msdosfs RET access -1 errno 2 No such file or directory 110 mount_msdosfs RET access -1 errno 2 No such file or directory 110 mount_msdosfs CALL sigprocmask(0x3,0x280698b0,0) 110 mount_msdosfs RET sigprocmask 0 110 mount_msdosfs CALL sigprocmask(0x1,0x280698a0,0xbfbfd3c0) 110 mount_msdosfs RET sigprocmask 0 110 mount_msdosfs CALL sigprocmask(0x3,0x280698b0,0) 110 mount_msdosfs RET sigprocmask 0 110 mount_msdosfs CALL write(0x2,0xbfbfccd0,0x9) 110 mount_msdosfs GIO fd 2 wrote 9 bytes "msdosfs: " 110 mount_msdosfs RET write 9 110 mount_msdosfs CALL write(0x2,0xbfbfccf0,0x5b) 110 mount_msdosfs GIO fd 2 wrote 91 bytes "Unable to load iconv library: Shared object "libiconv.so" not found, r\ equired by "msdosfs" " 110 mount_msdosfs RET write 91/0x5b So, my questions: 1. Why dependens for the third party software not documented in the man 8 mount_msdosfs? 2. And why not exist any fallbacks (seat bealts) for this behaviour in the system vital software such mount? Well, I'm ready for looking any '?' instead any russian letters :) but not DoS for my system under next reboot. This behaviour prevents from normal booting process and causes to prompt me for enter shell - yes, we are in the single user mode without any problems... Thank you. -- NO37-RIPE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041010131532.GG61535>