Bug#383555: PATCH fix for udev initramfs script

2006-08-18 Thread CJ van den Berg
I've found the solution. See the attached diff.

After replacing nuke with rm -rf (as it was in the last udev version I
believe) and running update-initramfs -u everything is back to normal.

It seems that /dev/.udev/queue/ doesn't even exist here and nuke fails with
an error code 1 which causes the script to terminate before getting around
to moving /dev to the new root whereas rm -rf of course succeeds regardless.

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Bug#383555: PATCH fix for udev initramfs script

2006-08-18 Thread CJ van den Berg
It sure would help if I attached it wouldn't it. :)

...

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]
--- /usr/share/initramfs-tools/scripts/init-bottom/udev.borked  2006-08-19 
00:16:32.0 +0200
+++ /usr/share/initramfs-tools/scripts/init-bottom/udev 2006-08-19 
00:17:04.0 +0200
@@ -18,7 +18,7 @@
 done
 
 # ignore any failed event because the init script will trigger again all events
-nuke /dev/.udev/queue/
+rm -rf /dev/.udev/queue/
 
 # Move the real filesystem's /dev to beneath our tmpfs, then move it all
 # to the real filesystem


signature.asc
Description: Digital signature


Bug#383555: PATCH fix for udev initramfs script

2006-08-18 Thread Marco d'Itri
retitle 383555 udev 0.097 broken by initramfs-tools = 0.74
thanks

On Aug 19, CJ van den Berg [EMAIL PROTECTED] wrote:

 I've found the solution. See the attached diff.
 
 After replacing nuke with rm -rf (as it was in the last udev version I
 believe) and running update-initramfs -u everything is back to normal.
Congratulations for being the first one to get it after a whole day. :-)
In a few days I will reassign the bug to klibc-utils.

A fixed initramfs-tools package is being uploaded, affected users should
upgrade it. Until it will be available they can manually edit
/usr/share/initramfs-tools/scripts/init-bottom/udev .

-- 
ciao,
Marco


signature.asc
Description: Digital signature


Bug#383555: PATCH fix for udev initramfs script

2006-08-18 Thread maximilian attems
On Sat, Aug 19, 2006 at 12:36:57AM +0200, CJ van den Berg wrote:
 It sure would help if I attached it wouldn't it. :)
 
 ...

thanks to pinpoint that,
a fixed klibc-utils nuke is already uploaded to mentors 
- http://mentors.debian.net/debian/pool/main/k/klibc/
and should reach incoming the next day.
 
 -- 
 CJ van den Berg

regards

-- 
maks


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



Bug#383555: PATCH fix for udev initramfs script

2006-08-18 Thread CJ van den Berg
On Sat, Aug 19, 2006 at 12:55:20AM +0200, Marco d'Itri wrote:
 A fixed initramfs-tools package is being uploaded, affected users should
 upgrade it.

Why initramfs-tools?

/usr/share/initramfs-tools/scripts/init-bottom/udev is in the udev package.

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature