Jürgen Keil
2006-Nov-20 10:25 UTC
[zfs-discuss] shareiscsi supports breaks booting when a ZFS /usr filesystem is used
I''ve setup my opensolaris test box like this: - Root: UFS - /usr: ZFS - /opt: ZFS After bfu to opensolaris (2006-11-17), the system has become unbootable. Solaris fails to mount the /usr filesystem at boot. The "/sbin/mount /usr" commond fails with the error message ld.so.1: zfs: fatal: libxml2.so.2: open failed: No such file or directory Same problem when running /etc/fs/zfs/mount. Or /sbin/zfs. It seems the new zfs shareiscsi support is responsible for this failure. /sbin/zfs is linked against /lib/libzfs.so, which needs the new /lib/libiscsitgt.so.1, which needs /usr/lib/libxml2.so.2, and libxml2 isn''t available when we have a separate /usr filesystem. libxml2.so.2 adds another dependency, libz.so.1 Workaround: copy /usr/lib/libxml2.so.2 and /usr/lib/libz.so.1 to /lib This message posted from opensolaris.org
Rick McNeal
2006-Nov-20 14:40 UTC
[zfs-discuss] shareiscsi supports breaks booting when a ZFS /usr filesystem is used
I''ll need to check the exact date and bug number, but a fix has already been made which should take care of this problem. libzfs now dlopens the iSCSI target library when needed. On Nov 20, 2006, at 3:25 AM, J?rgen Keil wrote:> I''ve setup my opensolaris test box like this: > > - Root: UFS > - /usr: ZFS > - /opt: ZFS > > After bfu to opensolaris (2006-11-17), the system has become > unbootable. > Solaris fails to mount the /usr filesystem at boot. > > The "/sbin/mount /usr" commond fails with the error message > > ld.so.1: zfs: fatal: libxml2.so.2: open failed: No such file or > directory > > Same problem when running /etc/fs/zfs/mount. Or /sbin/zfs. > > It seems the new zfs shareiscsi support is responsible for this > failure. > > /sbin/zfs is linked against /lib/libzfs.so, which needs the new > /lib/libiscsitgt.so.1, which needs /usr/lib/libxml2.so.2, and > libxml2 isn''t > available when we have a separate /usr filesystem. > > > libxml2.so.2 adds another dependency, libz.so.1 > > > Workaround: copy /usr/lib/libxml2.so.2 and /usr/lib/libz.so.1 to / > lib > > > This message posted from opensolaris.org > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss---- Rick McNeal "If ignorance is bliss, this lesson would appear to be a deliberate attempt on your part to deprive me of happiness, the pursuit of which is my unalienable right according to the Declaration of Independence. I therefore assert my patriotic prerogative not to know this material. I''ll be out on the playground." -- Calvin
Bill Sommerfeld
2006-Nov-20 15:02 UTC
[zfs-discuss] shareiscsi supports breaks booting when a ZFS /usr filesystem is used
On Mon, 2006-11-20 at 02:25 -0800, J??rgen Keil wrote:> The "/sbin/mount /usr" commond fails with the error message > > ld.so.1: zfs: fatal: libxml2.so.2: open failed: No such file or directory > > Same problem when running /etc/fs/zfs/mount. Or /sbin/zfs....> It seems the new zfs shareiscsi support is responsible for this failure. > > /sbin/zfs is linked against /lib/libzfs.so, which needs the new > /lib/libiscsitgt.so.1, which needs /usr/lib/libxml2.so.2, and libxml2 isn''t > available when we have a separate /usr filesystem.... looks like this was noticed already; ahl put back: 6494840 libzfs should dlopen libiscsitgt rather than linking to it on 11/17/2006 - Bill
Casper.Dik at Sun.COM
2006-Nov-20 16:10 UTC
[zfs-discuss] shareiscsi supports breaks booting when a ZFS /usr filesystem is used
>I''ll need to check the exact date and bug number, but a fix has =20 >already been made which should take care of this problem. libzfs now >=20 >dlopens the iSCSI target library when needed.The fix was indeed putback; friday 17th, to be exact. Casper
Al Hopper
2006-Nov-20 16:50 UTC
[zfs-discuss] shareiscsi supports breaks booting when a ZFS /usr filesystem is used
On Mon, 20 Nov 2006, Rick McNeal wrote:> I''ll need to check the exact date and bug number, but a fix has > already been made which should take care of this problem. libzfs now > dlopens the iSCSI target library when needed.2 days ago: 6494840 libzfs should dlopen libiscsitgt rather than linking to it changeset 6273: fcc24da96d9a author: ahl date: Fri Nov 17 12:07:41 2006 -0800 files: usr/src/lib/libzfs/Makefile.com usr/src/lib/libzfs/common/libzfs_mount.c Al Hopper Logical Approach Inc, Plano, TX. al at logical-approach.com Voice: 972.379.2133 Fax: 972.379.2134 Timezone: US CDT OpenSolaris.Org Community Advisory Board (CAB) Member - Apr 2005 OpenSolaris Governing Board (OGB) Member - Feb 2006