<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>84514</bug_id>
          
          <creation_ts>2005-03-08 06:36 0000</creation_ts>
          <short_desc>sys-fs/progsreiserfs confuse parted and its based progs</short_desc>
          <delta_ts>2009-06-17 19:06:41 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>143485</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>amax@mail.ru</reporter>
          <assigned_to>robbat2@gentoo.org</assigned_to>
          <cc>andreas-stangl@gmx.net</cc>
    
    <cc>farcaller@gmail.com</cc>
    
    <cc>GNUtoo@no-log.org</cc>
    
    <cc>kevquinn@gentoo.org</cc>
    
    <cc>livecd@gentoo.org</cc>
    
    <cc>mmokrejs@ribosome.natur.cuni.cz</cc>
    
    <cc>pacho@gentoo.org</cc>
    
    <cc>robbat2@gentoo.org</cc>
    
    <cc>rose@rz.uni-potsdam.de</cc>
    
    <cc>world.root@gmail.com</cc>
    
    <cc>xmerlin@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>amax@mail.ru</who>
            <bug_when>2005-03-08 06:36:54 0000</bug_when>
            <thetext>after emerge app-admin/testdisk it have installed sys-fs/progsreiserfs 

but after run parted I got

amazing ~ # parted
Warning: GNU Parted has detected libreiserfs interface version mismatch. Found 1-1, required 0. ReiserFS support will be disabled.
GNU Parted 1.6.20 with HFS shrink patch 16


...

After unmerging emerge -C sys-fs/progsreiserfs
I run parted and all ok

amazing / # parted
GNU Parted 1.6.20 with HFS shrink patch 16
Copyright (C) 1998 - 2004 Free Software Foundation, Inc.

.........


I want to use testdisk... what should I do ?



my emerge info
-------------------------
amazing / # emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.11-gentoo-r2 i686)
=================================================================
System uname: 2.6.11-gentoo-r2 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 24 2005, 12:03:52)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.9.5, 1.5, 1.6.3, 1.7.9-r1, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r4
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-march=i686 -O2 -pipe -fomit-frame-pointer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-march=i686 -O2 -pipe -fomit-frame-pointer -fvisibility-inlines-hidden&quot;
DISTDIR=&quot;/media/MEDIA1/gentoo/distfiles&quot;
FEATURES=&quot;autoaddcvs autoconfig buildpkg distlocks prelink sandbox sfperms&quot;
GENTOO_MIRRORS=&quot;http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo&quot;
LANG=&quot;ru_RU.CP1251&quot;
LDFLAGS=&quot;-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags&quot;
MAKEOPTS=&quot;-j1&quot;
PKGDIR=&quot;/media/MEDIA1/gentoo/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/media/MEDIA1/gentoo/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 X a52 aac aalib acl acpi acpi4linux activefilter alsa apm arts artswrappersuid audiofile avi bash-completion bitmap-fonts bluetooth caps cddb cdparanoia cdr crypt cups curl dga dv dvd dvdr dvdread emboss encodeexif fam ffmpeg flac foomaticdb gd gif gnutls gphoto2 gpm gstreamer gtk2 guile hal howl iconv ieee1394 imagemagick imap imlib innodb jack jack-tmpfs jpeg jpeg2k kde kdeenablefinal ladcca ladspa ldap libcaca libg++ libwww lirc lm_sensors lmtp logitech-mouse lufsusermount lzo mad maildir mailwrapper matroska mbox mikmod mjpeg mmxmozilla mp3 mpeg mppe-mppc nas ncurses nntp no-old-linux nptl nptlonly ntlm oav odbc ogg oggvorbis openal opengl pam pcre pda pdflib pic png portaudio pwdb qt quicktime quotas readline real rtc samba sasl silc skey slang slp smartcard socks5 speex spell ssl symlink tcpd tetex theora threads tiff transcode truetype truetype-fonts usb utf8 v4l v4l2 vcdimager vidix wifi wmf xine xml xml2 xv xvid yv12 zlib linguas_ru&quot;
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL


Reproducible: Always
Steps to Reproduce:
1.
2.
3.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>amax@mail.ru</who>
            <bug_when>2005-03-08 13:10:39 0000</bug_when>
            <thetext>only one way to emerge now is:
emerge sys-fs/progsreiserfs &amp;&amp; USE=static emerge testdisk &amp;&amp; emerge -C sys-fs/progsreiserfs

:))</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dragonheart@gentoo.org</who>
            <bug_when>2005-04-29 19:07:57 0000</bug_when>
            <thetext>parted has a noreiserfs flag
testdisk-5.7 has a reiserfs flag

sure it&apos;s not consistant however I just hate &quot;no*&quot; flags (and parted isn&apos;t mine to change).

basesystem peoples: if you want to change parted to a reiserfs flag to be consistant its your choice. I&apos;ll even make the change if you allow it.

Other options were careful use of emerge -O.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2005-04-29 21:38:22 0000</bug_when>
            <thetext>parted is owned by livecd but i dont see why we cant change it to &apos;reiserfs&apos;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2005-05-02 05:42:53 0000</bug_when>
            <thetext>You&apos;ve got my permission to change it</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kccricket@gmail.com</who>
            <bug_when>2005-05-14 09:26:01 0000</bug_when>
            <thetext>I don&apos;t think this bug is fixed:

# parted
Warning: GNU Parted has detected libreiserfs interface version mismatch. Found 1-1, required 0. ReiserFS support will be disabled.
GNU Parted 1.6.22



And where&apos;s that reiserfs use flag?

# emerge -vp parted

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-apps/parted-1.6.22  -debug -nls +readline -static 0 kB 

Total size of downloads: 0 kB</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2005-06-10 07:59:11 0000</bug_when>
            <thetext>Hrrrmn... he meant that testdisk has a reiserfs USE flag...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2005-06-10 07:59:45 0000</bug_when>
            <thetext>Can testdisk use reiserfsprogs instead of progsreiserfs?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dragonheart@gentoo.org</who>
            <bug_when>2005-11-07 04:23:08 0000</bug_when>
            <thetext>05 Jun 2004; Mike Frysinger &lt;vapier@gentoo.org&gt; parted-1.6.10-r1.ebuild,    
  Remove dependency on progsreiserfs since it is so broken #51773    
    
I&apos;ve made testdisk depend on reiserfsprogs instead of progsreiserfs as Chris   
suggested. Version 5.9 of testdisk is now stable.   
   
Parted therefore should have not problems. Hopefully progsreiserfs isn&apos;t 
required by anything else. 
 
Please confirm 
   </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2005-11-16 12:45:49 0000</bug_when>
            <thetext>Looks good to me...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dragonheart@gentoo.org</who>
            <bug_when>2005-11-20 02:55:20 0000</bug_when>
            <thetext>Thanks Chris </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2006-05-24 22:54:14 0000</bug_when>
            <thetext>Sorry to reopen this, but somebody broke reiserfs support in testdisk.

I&apos;ve said this before, but it does NOT work with reiserfsprogs - as reiserfsprogs does NOT provide a library for reiserfs functionality.

It absolutely requires &gt;=progsreiserfs-0.3.1_rc8 (which incidently was the last version released).

In relation to bug 51773, we disabled the binaries that come with progsreiserfs because they created bad reiserfs partitions - however the actual library worked 100% to access existing reiserfs partitions in userspace.

Please change parted to not use libreiserfs, and only use the reiserfs binaries instead.

I&apos;ve added base-system to the CC, as we (mainly me, but also spanky) maintain progsreiserfs.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kevquinn@gentoo.org</who>
            <bug_when>2006-08-10 14:25:52 0000</bug_when>
            <thetext>(In reply to comment #11)
&gt; Please change parted to not use libreiserfs, and only use the reiserfs
&gt; binaries instead.

If this is possible, it would be great, and would solve the reiserfs support issue with all packages that use sys-apps/parted.  However I suspect it&apos;s not such a trivial change to parted.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2006-08-10 18:07:43 0000</bug_when>
            <thetext>I&apos;m aware it&apos;s not a trivial change, you&apos;ll have to talk to upstream parted about it, but progsreiserfs should not be used for create/resize/cpfs as those operations in it are dangerous. only read access to existing data (which is what testdisk does) is safe with progsreiserfs.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-09-30 09:36:38 0000</bug_when>
            <thetext>*** Bug 149549 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-03-13 19:14:54 0000</bug_when>
            <thetext>*** Bug 170751 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2007-04-13 18:23:22 0000</bug_when>
            <thetext>It definitely does not look trivial.  I&apos;m looking into it, but it might be a bit more than we want to handle ourselves.  Also, my C sucks, so any help on this would definitely be appreciated.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rose@rz.uni-potsdam.de</who>
            <bug_when>2008-03-08 11:46:00 0000</bug_when>
            <thetext>Hello,

any progress with parted and &quot;libreiserfs interface version mismatch.  Found 1-1, required 0&quot;?

     juergen</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2008-07-14 04:09:40 0000</bug_when>
            <thetext>livecd: please just drop reiserfs support from parted. anybody wanting to make a reiserfs partition should just mkfs it the normal way instead of having parted do the creation.

At the top of:
parted-1.8.8/libparted/fs/reiserfs/reiserfs.c
After the config.h, add:
#undef DYNAMIC_LOADING
#undef REISERFS_FULL_SUPPORT

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2008-07-28 18:56:16 0000</bug_when>
            <thetext>Since the LiveCD herd is only myself and I&apos;m retiring, feel free to go ahead and patch this yourself.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>maxicombina@gmail.com</who>
            <bug_when>2009-01-19 19:50:18 0000</bug_when>
            <thetext>Even now the bug seems to be present. I want to use gparted to resize my partitions, not to create. But I can not. I get:
Warning: GNU Parted has detected libreiserfs interface version mismatch.  Found 1-1, required 0. ReiserFS support will be disabled.
======================
libparted : 1.8.8
======================
                        

Of course, same with qtparted. And same with plain parted.
I have checked the flags of parted, gpartd, qtparted but can not see any strange thing.

Which is the correct way to resize reiserfs partitions? I can&apos;t even do it from parted...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2009-01-19 20:10:18 0000</bug_when>
            <thetext>maxi: use /sbin/resize_reiserfs, carefully.

reassigned to myself to do soon.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>polynomial-c@gentoo.org</who>
            <bug_when>2009-06-17 18:07:27 0000</bug_when>
            <thetext>*** Bug 273701 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
      
    </bug>

</bugzilla>