On Wed, Apr 06, 2011 at 08:18:06PM +0900, Norbert Preining wrote:
> Follow up to this bug report: downgrading base-files and rm -rf /run
> did help and get me back a running system.
> 
> <rant on>
> Does the maintainer of soemthing like *base-files* at least *once*
> reboot into his own machine before he uploads? It seems not so, that
> is a bug that does effect everyone as far as I see.
> <rant off>

Hi Norbert,

I tested this patch several times before it was uploaded.  I never
once saw this behaviour, because it was introduced in the new
version of udev uploaded the day before, and so during the testing
period udev was behaving correctly.

The bug here is udev's misplaced assumption that the mere presence
of the /run directory implies that it is OK to use it, which is not
valid due to initscripts needing to set things up for this to work.
This would require udev to have a versioned depends upon initscripts
to guarantee that /run is usable, which is the way this was planned
from the start.  However, udev implemented (broken) support for /run
before the directory was even present on the system, which is the
root cause of the problem; udev appears to break systems pretty
effectively when it can't write to /run (it breaks at a minimum
loading of radeon/ttm/fbcon, networking and locks up the console
starting X, including the keyboard, requiring a hard reset; removing
/run fixes this).  This is a failure mode in udev which it should be
handling rather more gracefully; it looks like the /run support in
udev could do with some further testing.

The best solution here would be for udev to disable the use of /run
for the time being, and then once initscripts has been modified to
support /run (patch tested, currently waiting for maintainer upload)
it can re-enable /run support without fear of causing breakage, and
without the need to do any checks that /run is safe to use (though
for such a critical package as udev, it should probably test to ensure
the fallbacks don't break as at present).  I can additionally add a
Breaks: udev (= 167-1) to initscripts to ensure that udev is not using
/run during the upgrade, but we need a fixed version to replace it
before that can be done.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment: signature.asc
Description: Digital signature

Reply via email to