Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143485 - Need slotted progsreiserfs
Summary: Need slotted progsreiserfs
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on: 84514
Blocks:
  Show dependency tree
 
Reported: 2006-08-10 11:21 UTC by Kevin F. Quinn (RETIRED)
Modified: 2008-07-14 04:14 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin F. Quinn (RETIRED) gentoo-dev 2006-08-10 11:21:40 UTC
There was an API change in libreiserfs from progsreiserfs-3.0 to progsreiserfs-3.1_rc8.  testdisk needs the library from 3.1 (according to its ebuild) however sys-apps/parted (and hence qtparted, which is where I came in, and presumably everything else that uses parted) needs the library from 3.0.4.

Note that libreiserfs is a "soft" dependency - i.e. instead of being listed in libparted's as "NEEDED", it is referenced via libdl when required.  So it's not until you run a utility that uses libparted and then tries to do something with a reiserfs partition that you get the error from libparted written to stderr.

Can we re-instate 3.0.4 (as a library-only ebuild, obviously) and slot the two library versions?

The API version is defined by LIBREISERFS_INTERFACE_AGE (its "minimum" version) and LIBREISERFS_BINARY_AGE (its "maximum" version).  These are both 0 on 3.0.4, and both 1 on 3.1_rc8.

I don't know if that will be enough; it may be that libparted isn't smart enough to find the right libreiserfs version, but one step at a time.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2006-08-10 12:43:47 UTC
It's not maintained upstream since ages and known to trash reiserfs partitions. See bug 84514.
Comment 2 Kevin F. Quinn (RETIRED) gentoo-dev 2006-08-10 14:20:40 UTC
According to that bug it's the apps that were broken, rather than the library, and the apps have long since been discarded (parted just uses the library).
Comment 3 SpanKY gentoo-dev 2006-08-10 16:51:29 UTC
this package is complete garbage and needs to die

if someone else wants to take it, feel free

punting from base-system
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-08-10 18:03:11 UTC
vapier: The last time progsreiserfs came up, I pointed all of this out, and noted that I was taking care of it, under my work in base-system. I'll add myself to the maintainer list, but I want the bugs to go to base-system still, so I check them with other core stuff.

kevquinn: I strongly advise against using progsreiserfs with parted. In specific, the parts that are broken are create/resize/cpfs. testdisk uses progsreiserfs for data recovery only, so it's safe there.

parted SHOULD migrate to using the commandline reiserfsprogs instead of progsreiserfs, but you'll have to get upstream to do that.
Comment 5 SpanKY gentoo-dev 2006-08-10 19:48:01 UTC
i'm tired of seeing this broken ass package, i would just as soon punt it
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-08-10 19:52:42 UTC
The single reason that I want progsreiserfs kept around is that combined with testdisk it provides the ONLY reliable way to recover data from damaged reiserfs partitions.

I'm perfectly ok with you banning any other use of it, if you can figure out how to do so.
Comment 7 Kevin F. Quinn (RETIRED) gentoo-dev 2006-08-11 02:13:38 UTC
(In reply to comment #4)
> kevquinn: I strongly advise against using progsreiserfs with parted. In
> specific, the parts that are broken are create/resize/cpfs. testdisk uses
> progsreiserfs for data recovery only, so it's safe there.

Adding allanonjl as maintainer of sys-apps/parted and livecd herd to CC.  If sys-apps/parted has the use of write parts of libreiserfs stripped out, my stuff (qtparted) will pick that up automatically.

I searched around for information about problems with progsreiserfs, but the author (as recently as mid 2005) asserted he's had no bug reports of any substance against progsreiserfs, and that as far as he was concerned the problems were down to the apps that used it rather than the library.  Of course others disagree, but it seems that no-one has actually posted detailed fault reports.  If sys-apps/parted is modified to eliminate use of progsreiserfs, it would be useful to find and record such information.
Comment 8 Kevin F. Quinn (RETIRED) gentoo-dev 2006-08-11 03:14:56 UTC
For the record; here is some discussion on the GNU parted mailing list:

http://lists.gnu.org/archive/html/bug-parted/2004-03/msg00016.html
http://lists.gnu.org/archive/html/bug-parted/2002-12/msg00016.html
http://lists.gnu.org/archive/html/bug-parted/2004-10/msg00012.html

The situation is not clear.  Some historical (2004) problems that Debian suffered from, according to progsreiserfs maintainer were down to patches Debian applied (which broke big-endian machines).

One recommendation that comes up frequently is to do run reiserfsck (from reiserfsprogs) with options like -rebuild-sb, -rebuild-tree to ensure the filesystem is consistent first.  In v0.3.0.6 Yuri (progsreiserfs author) added some tree checks to the resize stuff.  Yuri has stated several times that if the filesystem is already broken (i.e. inconsistent tree), running tools that use libreiserfs over it (e.g. resize etc) will likely make it worse.

Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-03-13 19:16:23 UTC
And it's still breaking stuff; punt this junk finally.
Comment 10 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-03-13 19:43:34 UTC
Jakub: Hello? see that I say parted people should switch to using the commandline reiserfsprogs tools, and NOT use any of the modification stuff in progsreiserfs, and that progsreiserfs needs to stay for it's data-recovery stuff used by testdisk.
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2007-03-13 19:58:11 UTC
(In reply to comment #10)
> Jakub: Hello? see that I say parted people should switch to using the
> commandline reiserfsprogs tools, and NOT use any of the modification stuff in
> progsreiserfs, and that progsreiserfs needs to stay for it's data-recovery
> stuff used by testdisk.
> 

Yeah, hello indeed... The progsreiserfs junk breaks qtparted/gparted/parted whenever *installed* (Bug 84514), not just when something's compiled against it - yeah you can easily test this by installing parted, then installing progsreiserfs and then trying to run parted... 

So -  I really don't see how people should switch. It plain needs to die, it's dead, unmaintained, broken and makes baby jesus cry. If something needs to be fixed, then it's testdisk that shouldn't use this.
Comment 12 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-03-13 20:33:39 UTC
who changed parted back to using it?
2 years ago we changed parted AWAY from using it.

the root of it is that progsreiserfs has TWO sets of functionality.
1. data-recovery of reiserfs partitions
2. creation/maintaince of reiserfs partitions

testdisk ONLY uses #1, and there is absolutely nothing else out there that provides that ability.
parted ONLY uses #2, but the ability is also available from the official reiserfsprogs.
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2007-03-13 21:01:47 UTC
(In reply to comment #12)
> who changed parted back to using it?
> 2 years ago we changed parted AWAY from using it.

Erm, still misunderstanding each other? I'm not suggesting that parted should be changed back to using sys-fs/progsreiserfs; I'm suggesting that sys-fs/progsreiserfs should finally *bite the dust* and nothing should use it at all... At minimum it should be dropped from qtparted and should block *parted because it plain breaks it.
Comment 14 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-03-13 21:19:23 UTC
You said this:
"The progsreiserfs junk breaks qtparted/gparted/parted
whenever *installed*"
This bug was fixed years ago already, I'm wondering why it came back.

Removing progsreiserfs leaves no way for those poor users of reiserfs to recover their data with testdisk so they can migrate away from it ;-)
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2007-03-13 21:25:13 UTC
(In reply to comment #14)
> Removing progsreiserfs leaves no way for those poor users of reiserfs to
> recover their data with testdisk so they can migrate away from it ;-)

They can always pay $25 to Hans' legal expenses fund and get their answer? :P 

Mkay, I guess I won't make you punt this, so how about the blocker? :)
Comment 16 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-07-14 04:14:32 UTC
parted needes to drop reiserfs usage entirely for the moment, since it's upstream isn't doing anything on moving to pure mkfs (reiserfsprogs), and progsreiserfs should be used less in future.

debian has entirely dropped reiserfs support from testdisk, and while we won't go that far, nothing other than testdisk should be using progsreiserfs.