Bug#373099: cron-apt: could handle full /tmp in a more graceful way

2007-07-29 Thread Ola Lundqvist
Hi On Sun, Jul 29, 2007 at 02:37:25AM -0600, Bob Proulx wrote: > Ola Lundqvist wrote: > > Thanks for the patch. However I think it will only work with bash, and > > cron-apt uses /bin/sh as shell. Or do other shells handle $(()) ? > > Using $(( expression )) is okay for POSIX shells and /bin/sh.

Bug#373099: cron-apt: could handle full /tmp in a more graceful way

2007-07-29 Thread Bob Proulx
Ola Lundqvist wrote: > Thanks for the patch. However I think it will only work with bash, and > cron-apt uses /bin/sh as shell. Or do other shells handle $(()) ? Using $(( expression )) is okay for POSIX shells and /bin/sh. Here is a documentation pointer. http://www.opengroup.org/onlinepubs/

Bug#373099: cron-apt: could handle full /tmp in a more graceful way

2007-07-28 Thread Marc Haber
On Sat, Jul 28, 2007 at 12:07:37PM +0200, Ola Lundqvist wrote: > Thanks for the patch. However I think it will only work with bash, and > cron-apt uses /bin/sh as shell. Or do other shells handle $(()) ? I do not have any idea about that. However, we need to calculate things since stat returns its

Bug#373099: cron-apt: could handle full /tmp in a more graceful way

2007-07-28 Thread Ola Lundqvist
Hi Marc Thanks for the patch. However I think it will only work with bash, and cron-apt uses /bin/sh as shell. Or do other shells handle $(()) ? Do you also need as much as 10MB in /tmp? Best regards, // Ola On Sat, Jul 28, 2007 at 09:26:57AM +0200, Marc Haber wrote: > On Mon, Jun 12, 2006 at

Bug#373099: cron-apt: could handle full /tmp in a more graceful way

2007-07-28 Thread Marc Haber
On Mon, Jun 12, 2006 at 10:52:20PM +0200, Ola Lundqvist wrote: > On Mon, Jun 12, 2006 at 09:22:15PM +0200, Marc Haber wrote: > > cron-apt could check for free space on /tmp in the beginning and print > > a more meaningful error message if, say, less than 10 MB is free. This > > will still break if

Bug#373099: cron-apt: could handle full /tmp in a more graceful way

2006-06-12 Thread Ola Lundqvist
Hi On Mon, Jun 12, 2006 at 09:22:15PM +0200, Marc Haber wrote: > Package: cron-apt > Version: 0.4.6 > Severity: wishlist > > When /tmp runs out of space, cron-apt sends an empty report message > and prints some error messages on stderr, which gets mailed to the > user in a cron message. > > cron

Bug#373099: cron-apt: could handle full /tmp in a more graceful way

2006-06-12 Thread Marc Haber
Package: cron-apt Version: 0.4.6 Severity: wishlist When /tmp runs out of space, cron-apt sends an empty report message and prints some error messages on stderr, which gets mailed to the user in a cron message. cron-apt could check for free space on /tmp in the beginning and print a more meaningf