Bug#376603: [pkg-fetchmail-maint] Bug#376603: fetchmail: empty pidfile in ~/ causes fetchmail to fail silently

Nico Golde nico at ngolde.de
Tue Jul 4 07:16:52 UTC 2006


Hi
* Justin Pryzby <justinpryzby at users.sourceforge.net> [2006-07-04 00:50]:
> Package: fetchmail
> Version: 6.3.4-1
> Severity: important
> 
> $ echo >/home/pryzbyj/.fetchmail.pid
> $ fetchmail; echo $?
> 0
> $
[...] 
> And again *tries* to say something:
> |write(3, "/home/pryzbyj/.fetchmail.pid: Fi"..., 42) = 42
> |close(3)                                = 0
> |munmap(0xa7f88000, 4096)                = 0
> |write(2, "fetchmail: lock creation failed."..., 33) = 33
> |munmap(0xa7f89000, 4096)                = 0
> |exit_group(8)                           = ?
> |Process 20056 detached
> 
> So the second bug is that it tries but fails to report an error to me,
> when it has already inhibited its own ability to do so.  It either
> needs to not do that, or open("/dev/console") or "/dev/tty", or
> "/dev/tty0" or some such in order to write to it, or to use some
> syslog/msg foo (which shouldn't be necessary).

Thats very strange, I can not reproduce this:
fetchmail:
  Installed: 6.3.4-1
  Candidate: 6.3.4-1
  Version table:
 *** 6.3.4-1 0

[nion at noname] (~/) echo > .fetchmail.pid
[nion at noname] (~/) fetchmail; echo $?
/home/nion/.fetchmail.pid: File exists
fetchmail: lock creation failed.
8
What does fetchmail -v say?
Kind regards
Nico
-- 
Nico Golde - JAB: nion at jabber.ccc.de | GPG: 0x73647CFF
http://www.ngolde.de | http://www.muttng.org | http://grml.org
Forget about that mouse with 3/4/5 buttons -
gimme a keyboard with 103/104/105 keys!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-fetchmail-maint/attachments/20060704/a6915e1f/attachment.pgp


More information about the pkg-fetchmail-maint mailing list