Changeset 2444 in MondoRescue for branches/2.2.10/mindi/rootfs


Ignore:
Timestamp:
Sep 30, 2009, 4:44:40 AM (16 years ago)
Author:
Bruno Cornec
Message:
  • priority given to env var for tmpdir
  • fuse FS excluded from tmpdir computation
  • Improves udev timeout handling
  • fuse device is needed at restore time for sshfs
  • Avoids comment analysis in the new code handling deplist.d
  • Avoids error message if some ssh conf files do not exist
  • Improvements on sshfs/ssh management in restore mode
  • Include now all minimal requirements for sshfs
  • Fix udev support in init for Mandriva 2009.1 (udevadm settle is blocking)
  • Improve deplist.d/* files
  • adds libnss for ssh support in boot disk
  • Solve a memory management issue in DSF module (strtok => mr_strtok)
  • DSF now also supports partitions in addition to full disks
  • Adds debug in open_and_list_dir
  • Improve user management for NetFS cases
  • ssh in the restore env needs some dlopened libs (libnss_compat|files)
  • Warning emited in case of duplicate mountpoints or devices in fstab found
  • Use only the AWK veriable everywhere and not the awk command
  • Simplify GetInitrdFilesystemToUse which doesn't need to detect everything, but just know if it's initramfs (new mode) or a compressed FS ext2/3 (older mode) as initrd is anyway re-made by mindi. Should fix #353

(Backport from 2.2.9)

Location:
branches/2.2.10/mindi/rootfs
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mindi/rootfs/etc/passwd

    r2428 r2444  
     1root::0:0::/:/bin/bash
    12halt:x:7:0:halt:/sbin:/sbin/halt
    2 operator:x:11:0:operator:/root:/bin/bash
    3 root::0:0::/root:/bin/bash
     3operator:x:11:0:operator:/:/bin/bash
    44shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
    55sync:x:5:0:sync:/sbin:/bin/sync
     
    88daemon:x:2:2:daemon:/sbin:
    99adm:x:3:4:adm:/var/adm:
    10 lp:x:4:7:lp:/var/spool/lpd:
    11 mail:x:8:12:mail:/var/spool/mail:
    12 postmaster:x:14:12:postmaster:/var/spool/mail:/bin/bash
    13 news:x:9:13:news:/usr/lib/news:
    14 uucp:x:10:14:uucp:/var/spool/uucppublic:
    1510man:x:13:15:man:/usr/man:
    1611guest:x:405:100:guest:/dev/null:/dev/null
  • branches/2.2.10/mindi/rootfs/etc/udev-links.conf

    r1804 r2444  
    5656
    5757M null      c   1 3
     58M fuse      c   10 229
  • branches/2.2.10/mindi/rootfs/sbin/init

    r2382 r2444  
    301301    fi
    302302    # Depending on udevd version it gives back the hand or not :-(
    303     if [ ! "`ps | grep udevd`" ]; then
     303    ps | grep udevd 2> /dev/null 1> /dev/null
     304    if [ $? -ne 0 ]; then
    304305        /sbin/udevd --daemon &
     306        echo "Waiting for udev to start..."
    305307        sleep 5
    306308    fi
     
    309311        /sbin/udevtrigger
    310312    fi
     313    echo "Waiting for udev to discover..."
    311314    create_dev_makedev
    312315    # Newer version use udevadm for that
    313     if [ -x /sbin/udevadm ]; then
    314             /sbin/udevadm settle --timeout=10
    315     elif [ -x /sbin/udevsettle ]; then
    316         /sbin/udevsettle
     316    if [ -x /sbin/udevsettle ]; then
     317        /sbin/udevsettle --timeout=10
     318    elif [ -x /sbin/udevadm ]; then
     319        /sbin/udevadm trigger
     320        /sbin/udevadm settle --timeout=10
    317321    fi
    318322    # It seems we need to have more static devs on some distro were
  • branches/2.2.10/mindi/rootfs/sbin/start-netfs

    r2382 r2444  
    8181    if [ "$proto" = "sshfs" ]; then
    8282        LogIt "Mounting SSHFS share ($netfsmount) on /tmp/isodir..."
    83         sshfs -o ro $netfsmount /tmp/isodir
     83        # We need a correct console for ssh
     84        ln -sf /dev/console /dev/tty
     85        sshfs -o ro,StrictHostKeyChecking=no $netfsmount /tmp/isodir
    8486    elif [ "$proto" != "" ]; then
    8587        LogIt "Mounting Network share ($netfsmount) on /tmp/isodir..."
Note: See TracChangeset for help on using the changeset viewer.