Red Hat Bugzilla – Bug 9736
maildir patch for Pine is bogus
Last modified: 2008-05-01 11:37:54 EDT
The 'maildir' patch included in the Red Hat 6.1 and 6.2beta pine RPM causes
some very undesirable behavior. It causes pine to do a recursive stat of
files in your home directory.
If you have a recursive symlink in your home directory, Pine will die
instantly when you ask for a folder list:
redhat6.2% ln -s ~ maildirsucks
[ press 'l' ]
Problem detected: "Received abort signal".
If you strace pine, you will notice that it is trying to recursively stat
every file in your home directory up to 3 levels deep.
This is bad.
If your home directory has a lot of files in it, and is mounted over a
network, this is unbelieveably bad.
This either needs to get fixed, or else the maildir patch should be removed
from Pine. (isn't the patch really intended to be used on the server end,
I can't reproduce it like that, but:
Add a new user
Make a symlink, "ln -s ~ foobar"
Run pine to create the mail directory
Go to $HOME/mail
Make a new symlink:
ln -s ~ foobar
Go to your home directory
Run pine, use "l"
I've removed the maildir patches - look for 4.21-13 or higher in the next
Fixed in Bug # 18038.