Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67151 - net-news/rawdog-2.4 (version bump)
Summary: net-news/rawdog-2.4 (version bump)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Python Gentoo Team
URL: http://offog.org/code/rawdog.html
Whiteboard:
Keywords:
: 98049 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-10-11 13:42 UTC by Andy Dustman
Modified: 2005-07-25 16:18 UTC (History)
2 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 Andy Dustman 2004-10-11 13:42:55 UTC
New upstream version. Copying existing ebuild for 1.12 is sufficient.

Fun fact: rawdog barfs if you happen to use a NFS home directory, since the fcntl.lockf() calls in persister.py always seem to fail. The symptom of this is you get a zero-length state file, which rawdog reports is corrupted, i.e.

An error occurred while reading state from <home>/.rawdog/state.
This usually means the file is corrupt, and removing it will fix the problem.

Workaround is to comment the fcntl.lockf() calls out. Fix: Write a temporary file (with a different name) in the same directory, flush it, close it, rename it over the original (DJB-style). After looking through the code, I think removing the lockf calls is enough since the locking looks pretty worthless (file is only locked when reading and not writing, except for initial creation). Maybe do this in the unpack:

sed -i -e 's/fcntl.lockf(/#fcntl.lockf/' rawdoglib/persister.py

Error reporting leaves a lot to be desired in this scenario. Same behavior in 1.12, so this should not be a blocker for 1.14.
Comment 1 Andy Dustman 2004-10-12 06:45:28 UTC
I guess the locking's not completely worthless, though still a problem with NFS, but that's not likely to affect too many people.
Comment 2 Martin Bays 2004-11-22 05:48:56 UTC
2.0 is now out upstream. The 1.12 ebuild still works fine.

Should I make a new bug for this?
Comment 3 Andy Dustman 2005-04-29 10:48:56 UTC
rawdog-2.4 upstream version has been available for at least a month now. Rewrote summary to reflect portage reorganization. The rawdog-1.12 ebuild in portage works fine for 2.4 by renaming. I've been using it for about a month.
Comment 4 Julian Krause 2005-05-10 23:30:33 UTC
Confirming that a rename does work for 2.4
Comment 5 Samuel Tardieu 2005-05-11 18:02:17 UTC
Confirming also that it works fine here by renaming the ebuild file.
Comment 6 Renat Lumpau (RETIRED) gentoo-dev 2005-07-03 18:11:31 UTC
This ain't web-apps.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-07-05 13:41:38 UTC
*** Bug 98049 has been marked as a duplicate of this bug. ***
Comment 8 Lukasz Strzygowski (RETIRED) gentoo-dev 2005-07-25 16:18:02 UTC
In Portage. Thanks for info.