Bug#396762: [Utnubu-maintainers] Bug#396762: /sbin/dmraid depends on /usr/lib/libz.so.1

Loïc Minier lool at dooz.org
Fri Nov 3 09:32:45 CET 2006


On Thu, Nov 02, 2006, Frederic Briere wrote:
> dmraid is now compiled against libz, which lives in /usr:
>   [fbriere] toroia:~ $ ldd /sbin/dmraid | grep libz
>           libz.so.1 => /usr/lib/libz.so.1 (0xb7ee9000)
> This is a Bad Thing[TM] if you have a dmraid filesystem in /etc/fstab,
> as fsck will panic during the boot process.  And this is a Very Bad
> Thing[TM] if /usr is on a dmraid partition, for obvious reasons.

 This is used to support "SNIA DDF1 v1.0 metadata", actually only the
 "crc32" function of zlib is used.

 I'm not sure what the best fix would be; I see we could:
 - copy crc32 from zlib
 - link statically with zlib

 But perhaps I'm missing other options.

-- 
Loïc Minier <lool at dooz.org>




More information about the Utnubu-maintainers mailing list