Comment 10 for bug 333718

Revision history for this message
Rodrigo Linfati (rlinfati) wrote :

i make a very ugly hack to fix this.

rlinfati@virtu:~$ uname -a
Linux virtu 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux
rlinfati@virtu:~$ mount |grep ext4
/dev/sda2 on / type ext4 (rw,relatime,errors=remount-ro)

On /usr/src/libfsync/ i make the libfsync.c file
**** libfsync.c ****
int fsync (int fd) {
 return 0;
}
******************
and compile with "gcc -Wall libfsync.c -o libfsync.so -shared -fPIC -Wl,-soname,libfsync.so"

and, in the 2nd line of /usr/bin/liferea put "export LD_PRELOAD=/usr/src/libfsync/libfsync.so"

and fixed!

NOW.... please remove excesive fsync of liferea to make a real fix!

Thanks!