[arch-general] /bin symlink breaking fetchmail

Scott Lawrence bytbox at gmail.com
Thu Jun 6 23:26:03 EDT 2013


On Thu, 6 Jun 2013, Leonid Isaev wrote:

> On Thu, 6 Jun 2013 22:20:46 -0400 (EDT)
> Scott Lawrence <bytbox at gmail.com> wrote:
>
>> Hey all,
>>
>> In short, the latest upgrade seems to have borked fetchmail:
>>
>>    fetchmail: Error writing to MDA: Broken pipe
>>
>> Deleting the /bin symlink and creating a /bin directory containing only a
>> symlink /bin/sh pointing to /usr/bin/bash, makes fetchmail work again.
>>
>> Running `strace -vf fetchmail` reveals that the execve("/bin/sh"...) call
>> returns EPERM.
>>
>> I'm well and truly stumped. I'm using courier-mta as my mda, but that
>> shouldn't be relevant. Has anybody encountered this?
>
> I haven't: fetchmail + exim work as before. However, exim listens on
> localhost:25, does courier do too or you use fetchmail's --mda option?

No, I use --mda.

I figured it out, though - I had TOMOYO restricting fetchmail, and it wasn't 
configured to allow execution of /usr/bin/bash.

Sorry for the noise, all.

>
>
> -- 
> Leonid Isaev
> GnuPG key: 0x164B5A6D
> Fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D
>

-- 
Scott Lawrence

Linux baidar 3.9.4-1-ARCH #1 SMP PREEMPT Sat May 25 16:14:55 CEST 2013 x86_64 GNU/Linux


More information about the arch-general mailing list