Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tlug: cpio WARNING




do NOT use cpio with the '-c' flag (-c == use portable ASCII archive
format) on a glibc-based system.  There's some libc-internal data
structure whose size has changed between libc5 and glibc.  Any archive you
create on a glibc system with 'cpio -c' will be completely unreadable.
libc5 systems are not affected, and glibc systems can read 'cpio -c'
archives created on libc5 systems.

Despite the fact that this bug has been Reported to the right people,
there is no patch.  Use afio instead of cpio.

I'm patching TurboLinux's cpio (in 3.0) to say, "use afio instead" and
exit(0) when the -c flag is used.  Data loss is not fun :)

This bug is easily verifiable by simply creating a cpio archive with -c
and then trying to extract it somewhere else.

Affected systems are Redhat 5.0, 5.1, TurboLinux 2.0, Debian 2.0, and
anything else that's glibc based and has a glibc-built cpio binary.

--------------------------------------------------
Scott M. Stone <sstone@example.com, sstone@example.com>
               <sstone@example.com>
Head of TurboLinux Development/Systems Administrator
Pacific HiTech, Inc (USA) / Pacific HiTech, KK (Japan)
http://www.pht.com		http://armadillo.pht.co.jp
http://www.pht.co.jp	        http://www.turbolinux.com


---------------------------------------------------------------
Next Nomikai: 20 November, 19:30 Tengu TokyoEkiMae 03-3275-3691
Next Technical Meeting: January, 1999 (details TBA)
---------------------------------------------------------------
Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links