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

Nico Golde nico at ngolde.de
Wed Jul 19 12:16:43 UTC 2006


Hi,
* Justin Pryzby <justinpryzby at users.sourceforge.net> [2006-07-19 01:24]:
> On Tue, Jul 04, 2006 at 09:16:52AM +0200, Nico Golde wrote:
> > * 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:
> Indeed, my first attempt to do so failed, and now it works
> consistently..  The initial problem was out of disk space in /home,
> allowing the file to be overwritten/created, but not allowing any
> writes (which should also be an error, actually...).

Yes fetchmail should warn about this.

> Did you ever reproduce this one?

Nope, sorry. Matthias, can you please fix this in the next 
upstream version?
Kind regards
Nico
-- 
Nico Golde - JAB: nion at jabber.ccc.de | GPG: 0x73647CFF
http://www.ngolde.de | http://nion.modprobe.de/blog/
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/20060719/9c48be08/attachment.pgp


More information about the pkg-fetchmail-maint mailing list