Bug#303656: ifupdown: can't write /etc/network/run/ifstate no space left on device

2005-04-08 Thread Anthony Towns
mike at dst wrote:
Preparing to replace ifupdown 0.6.6 (using ifupdown_0.6.6_i386.deb) ...
Unpacking replacement ifupdown ...
Setting up ifupdown (0.6.6) ...
Moving /etc/network/ifstate to /etc/network/run/ifstate
mv: writing `/etc/network/run/ifstate': No space left on device
dpkg: error processing ifupdown (--install):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 ifupdown
There's been another report of this, that looks like it was caused by 
setting a bad value in /etc/default/tmpfs causing /dev/shm to have zero 
space (the value needs to be set in bytes, and is rounded down to a 
multiple of the page size, which I guess means anything less than 4096 
is the same as zero).

Is this what happened in your case, mike? If so, I think we'll probably 
want to put it down to operator error, and add some special casing in 
postinst.

Cheers,
aj
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Bug#303656: ifupdown: can't write /etc/network/run/ifstate no space left on device

2005-04-07 Thread mike at dst
Package: ifupdown
Version: 0.6.6
Severity: critical
Justification: breaks the whole system


(Reading database ... 23841 files and directories currently installed.)
Preparing to replace ifupdown 0.6.6 (using ifupdown_0.6.6_i386.deb) ...
Unpacking replacement ifupdown ...
Setting up ifupdown (0.6.6) ...
Moving /etc/network/ifstate to /etc/network/run/ifstate
mv: writing `/etc/network/run/ifstate': No space left on device
dpkg: error processing ifupdown (--install):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 ifupdown


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages ifupdown depends on:
ii  debconf [debconf-2.0]   1.4.47   Debian configuration management sy
ii  libc6   2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  net-tools   1.60-10  The NET-3 networking toolkit

-- debconf information:
  ifupdown/convert-interfaces: true


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#303656: ifupdown: can't write /etc/network/run/ifstate no space left on device

2005-04-07 Thread Justin Pryzby
On Thu, Apr 07, 2005 at 11:35:36PM +, mike at dst wrote:
 Package: ifupdown
 Version: 0.6.6
 Severity: critical
 Justification: breaks the whole system
 
 
 (Reading database ... 23841 files and directories currently installed.)
 Preparing to replace ifupdown 0.6.6 (using ifupdown_0.6.6_i386.deb) ...
 Unpacking replacement ifupdown ...
 Setting up ifupdown (0.6.6) ...
 Moving /etc/network/ifstate to /etc/network/run/ifstate
 mv: writing `/etc/network/run/ifstate': No space left on device
 dpkg: error processing ifupdown (--install):
  subprocess post-installation script returned error exit status 1
 Errors were encountered while processing:
  ifupdown
Isn't that precisely what should happen?  Under the majority of
circumstances, maintainer scripts should not fail.  But it seems to me
that running out of disk space warrents stopping the install and
letting the admin fix the problem.  Indeed, that is precisely what I'd
want.  You said breaks the whole system.  What broke?

Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]