Advertisement
ethanbmnz

Outputs for udev exit failed rc=2

Sep 28th, 2014
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. Output of cat -n /usr/share/initramfs-tools/scripts/init-bottom/udev:
  2.  
  3. 1 #!/bin/sh -e
  4. 2
  5. 3 PREREQS=""
  6. 4
  7. 5 prereqs() { echo "$PREREQS"; }
  8. 6
  9. 7 case "$1" in
  10. 8 prereqs)
  11. 9 prereqs
  12. 10 exit 0
  13. 11 ;;
  14. 12 esac
  15. 13
  16. 14 # we cannot properly synthesize LVM LV change events with udevadm trigger, so
  17. 15 # if we use LVM, we need to let it finish; otherwise we get missing LV symlinks
  18. 16 # (LP #1185394)
  19. 17 if [ -x /sbin/vgchange ]; then
  20. 18 udevadm settle --timeout=121 || true
  21. 19 fi
  22. 20
  23. 21 # Stop udevd, we'll miss a few events while we run init, but we catch up
  24. 22 udevadm control --timeout=121 --exit || \
  25. 23 echo "udev exit failed -- rc=$?"
  26. 24
  27. 25 # move the /dev tmpfs to the rootfs
  28. 26 mount -n -o move /dev ${rootmnt}/dev
  29. 27
  30. 28 # create a temporary symlink to the final /dev for other initramfs scripts
  31. 29 rm -rf /dev
  32. 30 ln -s ${rootmnt}/dev /dev
  33. 31
  34.  
  35. Output of lsb_release -a:
  36.  
  37. No LSB modules are available.
  38. Distributor ID: Ubuntu
  39. Description: Ubuntu 14.04.1 LTS
  40. Release: 14.04
  41. Codename: trusty
  42.  
  43. Out of uname -a:
  44.  
  45. Linux ethanbmnz-pc 3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:07 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement