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

Bug#499062: openoffice.org-common: "find ~/.mozilla/firefox -name cert8.db" in soffice is a killing OOo starting time.



tag 499062 + wontfix
retitle 499062 [fixed for 3.1, cws cmcfixes48] openoffice.org-common: "find ~/.mozilla/firefox -name cert8.db" in soffice is a killing OOo starting time
thanks

Hi,

Fabrice Lorrain wrote:
> Tonight, I just saw the culprit in action (ps -faux) :
> 
> lorrain  10249  0.0  0.1   4084  1152 pts/1    S+   22:14   0:00      \_
> /bin/sh /usr/bin/ooimpress pouet.ppt
> lorrain  10250  0.0  0.1   4628  1500 pts/1    S+   22:14   0:00         
> \_ /bin/sh /usr/lib/openoffice/program/soffice -impress pouet.ppt
> lorrain  10260  0.0  0.0   4628   740 pts/1    S+   22:14   0:00          
>    \_ /bin/sh /usr/lib/openoffice/program/soffice -impress pouet.ppt
> lorrain  10261  6.0  0.1   4492  1744 pts/1    R+   22:14   0:00          
>        \_ find /home/lorrain/Fab_sid/.mozilla/firefox -name cert8.db
> lorrain  10262  0.0  0.0   3512   692 pts/1    S+   22:14   0:00          
>        \_ head -n 1
> 
> The crude "find" above and :

I don't see what's crude in there, sorry.

> $ du -sh /home/lorrain/Fab_sid/.mozilla/firefox
> 4,8G    /home/lorrain/Fab_sid/.mozilla/firefox

err, maybe you should clean it up a bit to a sane size?

> Fixing this problem for Lenny would be appreciated.

No way. Too much a change.

> A quick fix, could be to check only the first level directory and if no
> result where found refert to the full find.

Huh?

$ find .mozilla -name "cert8.db"
.mozilla/firefox/fpxsk24r.default/cert8.db

Because it's in that "random string" dir you have to use find..

> 
> Severity=important, because using OOo was so annoying that I revert to
> other applications.

Well, if you let your mozilla profile grow to 4G...

> Out of curiosity :
> - What use has OOo with iceweasel cert8.db ?

It uses the certificates (using NSS) for XML signing.

> - Why chose this one in particular (I have also a
.mozilla/flock/*/cert8.db) ? 

It looks for one cert8.db. Whether that's right or not is not the business
of the snippet - I know it's too unflexible but we needed a solution to
make document signing work out of the box.

> - Are you aware of any other application in debian looking/using iceweasel
> certification file ?

No.

OOo 3.1 will have reworked code (http://www.openoffice.org/issues/show_bug.cgi?id=92087),
though, which makes the snippet unnecessary.
Maybe I'll backport it for 3.0, but for 2.4.1 the train has long left.

Regards,

Rene



Reply to: