[Fedora-livecd-list] /dev/live no longer being created since udev-153 update?

James Heather j.heather at surrey.ac.uk
Thu Aug 26 12:38:54 UTC 2010


Hmm. I can't get it to work by specifying udev-151-9 in the kickstart
file. I don't know why.

However, I can confirm that you can boot up off your USB stick, log in
to a vt as root, and

    yum downgrade udev

and then reboot, and it'll mount home. (You might also need to

    rm -rf /home/*

if it's created some home directories by that point, but please do check
it hasn't mounted your persistent home first...)

This could also be done with a %post in the kickstart file.

James

On Thu, 2010-08-26 at 08:30 +0100, James Heather wrote:

> Ah! Thanks for the warning. I noticed last night that /home wasn't
> mounting any more, and assumed it was something naughty I'd done. I was
> going to waste a few hours this morning troubleshooting it, so I'm glad
> I don't have to.
> 
> I discovered a while back, working around a synaptics bug, that you can
> specify a version of a package in the kickstart file. So rather than
> 
>         synaptics
> 
> I was specifying
> 
>         synaptics-1.0
> 
> and making sure the old rpm was available in a local repo. My suggested
> workaround here is to specify an older version of udev, and make it
> available. Two possibilities: either specify the one in the release
> repo, or download the one before the problem occurred and put it in a
> local repo. The former is easier, but it might break some dependencies.
> 
> James
> 
> On Thu, 2010-08-26 at 00:58 +0100, Darren Albers wrote:
> > Aaron,
> >
> > I am experiencing the same issue and tracked it down to the udev
> > update just not exactly why.   I reset the overlay and only installed
> > udev and had the issue on the next boot.
> >
> > Thanks!
> > Darren
> >
> > On Wed, Aug 25, 2010 at 7:54 PM, Aaron Cohen <aaron at assonance.org> wrote:
> > > Hi all,
> > >
> > >  If I "rdbreak" on the kernel command line, I see that /dev/live is
> > > created correctly (though it now points to
> > > /dev/disk/by-uuid/<aBunchOfDigits> where formerly it pointed to
> > > /dev/disk/by-label/DiskLabel).
> > >
> > >  After switch_root though, /dev/live is gone.
> > >
> > >  If I add "udevlog" to the command line, I see the following in
> > > /dev/.udev/udev.log (see particularly where it says, "link_update: no
> > > reference left, remove '/dev/live'").  I'm not positive it's the udev
> > > update that is causing my problem, but it's my current best guess.
> > >
> > > 1282809066.068591 [1006] util_run_program: '/sbin/blkid' (stdout)
> > > 'ID_FS_UUID=154d47db-ab8e-4e6b-9968-196322d73e50'
> > > 1282809066.068610 [1006] util_run_program: '/sbin/blkid' (stdout)
> > > 'ID_FS_UUID_ENC=154d47db-ab8e-4e6b-9968-196322d73e50'
> > > 1282809066.068616 [1006] util_run_program: '/sbin/blkid' (stdout)
> > > 'ID_FS_SEC_TYPE=ext2'
> > > 1282809066.068621 [1006] util_run_program: '/sbin/blkid' (stdout)
> > > 'ID_FS_VERSION=1.0'
> > > 1282809066.068626 [1006] util_run_program: '/sbin/blkid' (stdout)
> > > 'ID_FS_TYPE=ext3'
> > > 1282809066.068631 [1006] util_run_program: '/sbin/blkid' (stdout)
> > > 'ID_FS_USAGE=filesystem'
> > > 1282809066.068942 [1006] util_run_program: '/sbin/blkid -o udev -p
> > > /dev/sdb2' returned with exitcode 0
> > > 1282809066.068991 [1006] udev_rules_apply_to_event: LINK
> > > 'disk/by-uuid/154d47db-ab8e-4e6b-9968-196322d73e50'
> > > /lib/udev/rules.d/60-persistent-storage.rules:66
> > > 1282809066.069164 [1006] udev_rules_apply_to_event: IMPORT
> > > 'fstab_import sdb2 block/8:18
> > > disk/by-id/usb-Corsair_VoyagerGT_A034000000000085-0:0-part2
> > > disk/by-path/pci-0000:00:1d.7-usb-0:5:1.0-scsi-0:0:0:0-part2
> > > disk/by-uuid/154d47db-ab8e-4e6b-9968-196322d73e50 mapper/'
> > > /lib/udev/rules.d/79-fstab_import.rules:1
> > > 1282809066.069183 [1006] util_run_program: 'fstab_import sdb2
> > > block/8:18 disk/by-id/usb-Corsair_VoyagerGT_A034000000000085-0:0-part2
> > > disk/by-path/pci-0000:00:1d.7-usb-0:5:1.0-scsi-0:0:0:0-part2
> > > disk/by-uuid/154d47db-ab8e-4e6b-9968-196322d73e50 mapper/' started
> > > 1282809066.072679 [1006] util_run_program: 'fstab_import sdb2
> > > block/8:18 disk/by-id/usb-Corsair_VoyagerGT_A034000000000085-0:0-part2
> > > disk/by-path/pci-0000:00:1d.7-usb-0:5:1.0-scsi-0:0:0:0-part2
> > > disk/by-uuid/154d47db-ab8e-4e6b-9968-196322d73e50 mapper/' returned
> > > with exitcode 1
> > > 1282809066.072745 [1006] udev_rules_apply_to_event: IMPORT
> > > 'udisks-part-id /dev/sdb2' /lib/udev/rules.d/80-udisks.rules:85
> > > 1282809066.072766 [1006] util_run_program: 'udisks-part-id /dev/sdb2' started
> > > 1282809066.081692 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stderr) 'libudev: udev_device_new_from_syspath: '
> > > 1282809066.081727 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stderr) 'device 0x9f4e110 has devpath
> > > '/devices/pci0000:00/0000:00:1d.7/usb1/1-5/1-5:1.0/host2/target2:0:0/2:0:0:0/block/sdb/sdb2''
> > > 1282809066.081924 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stderr) 'libudev: udev_device_new_from_syspath: '
> > > 1282809066.081943 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stderr) 'device 0x9f4fca0 has devpath
> > > '/devices/pci0000:00/0000:00:1d.7/usb1/1-5/1-5:1.0/host2/target2:0:0/2:0:0:0/block/sdb''
> > > 1282809066.082100 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stderr) 'libudev: udev_device_read_db: '
> > > 1282809066.082118 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stderr) 'device 0x9f4fca0 filled with db file data'
> > > 1282809066.082386 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stderr) 'using device_file=/dev/sdb
> > > syspath=/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-5/1-5:1.0/host2/target2:0:0/2:0:0:0/block/sdb,
> > > offset=3372364800 ao=0 and number=2 for /dev/sdb2'
> > > 1282809066.083758 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stderr) 'Entering MS-DOS parser (offset=0, size=4143972352)'
> > > 1282809066.083784 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stderr) ''
> > > 1282809066.083807 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stderr) 'MSDOS_MAGIC found'
> > > 1282809066.083823 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stderr) ''
> > > 1282809066.083844 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stderr) 'looking at part 0 (offset 32256, size 3372332544, type
> > > 0x07)'
> > > 1282809066.083859 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stderr) ''
> > > 1282809066.083874 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stderr) 'new part entry'
> > > 1282809066.083888 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stderr) ''
> > > 1282809066.083917 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stderr) 'looking at part 1 (offset 3372364800, size 764951040, type
> > > 0x83)'
> > > 1282809066.083933 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stderr) ''
> > > 1282809066.083949 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stderr) 'new part entry'
> > > 1282809066.083963 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stderr) ''
> > > 1282809066.083980 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stderr) 'looking at part 2 (offset 0, size 0, type 0x00)'
> > > 1282809066.083995 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stderr) ''
> > > 1282809066.084010 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stderr) 'new part entry'
> > > 1282809066.084024 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stderr) ''
> > > 1282809066.084041 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stderr) 'looking at part 3 (offset 0, size 0, type 0x00)'
> > > 1282809066.084056 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stderr) ''
> > > 1282809066.084070 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stderr) 'new part entry'
> > > 1282809066.084085 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stderr) ''
> > > 1282809066.084100 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stderr) 'Exiting MS-DOS parser'
> > > 1282809066.084115 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stderr) ''
> > > 1282809066.084130 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stderr) 'MSDOS partition table detected'
> > > 1282809066.084145 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stderr) ''
> > > 1282809066.084206 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stdout) 'UDISKS_PARTITION=1'
> > > 1282809066.084238 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stdout) 'UDISKS_PARTITION_SCHEME=mbr'
> > > 1282809066.084262 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stdout) 'UDISKS_PARTITION_NUMBER=2'
> > > 1282809066.084285 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stdout) 'UDISKS_PARTITION_TYPE=0x83'
> > > 1282809066.084308 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stdout) 'UDISKS_PARTITION_SIZE=764951040'
> > > 1282809066.084331 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stdout) 'UDISKS_PARTITION_LABEL='
> > > 1282809066.084353 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stdout) 'UDISKS_PARTITION_UUID='
> > > 1282809066.084375 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stdout) 'UDISKS_PARTITION_FLAGS=boot'
> > > 1282809066.084401 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stdout) 'UDISKS_PARTITION_SLAVE=/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-5/1-5:1.0/host2/target2:0:0/2:0:0:0/block/sdb'
> > > 1282809066.084424 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stdout) 'UDISKS_PARTITION_OFFSET=3372364800'
> > > 1282809066.084447 [1006] util_run_program: '/lib/udev/udisks-part-id'
> > > (stdout) 'UDISKS_PARTITION_ALIGNMENT_OFFSET=0'
> > > 1282809066.084753 [1006] util_run_program: 'udisks-part-id /dev/sdb2'
> > > returned with exitcode 0
> > > 1282809066.085062 [1006] udev_rules_apply_to_event: RUN
> > > 'socket:@/org/freedesktop/hal/udev_event'
> > > /etc/udev/rules.d/90-hal.rules:2
> > > 1282809066.085084 [1006] udev_event_execute_rules: no node name set,
> > > will use kernel supplied name 'sdb2'
> > > 1282809066.085279 [1006] udev_device_update_db: created db file for
> > > '/devices/pci0000:00/0000:00:1d.7/usb1/1-5/1-5:1.0/host2/target2:0:0/2:0:0:0/block/sdb/sdb2'
> > > in '/dev/.udev/db/block:sdb2'
> > > 1282809066.085291 [1006] udev_node_update_old_links: update old name,
> > > '/dev/live' no longer belonging to
> > > '/devices/pci0000:00/0000:00:1d.7/usb1/1-5/1-5:1.0/host2/target2:0:0/2:0:0:0/block/sdb/sdb2'
> > > 1282809066.085349 [1006] link_update: no reference left, remove '/dev/live'
> > > 1282809066.085365 [1006] udev_node_add: creating device node
> > > '/dev/sdb2', devnum=8:18, mode=0660, uid=0, gid=6
> > > 1282809066.085376 [1006] udev_node_mknod: preserve file '/dev/sdb2',
> > > because it has correct dev_t
> > > 1282809066.085382 [1006] udev_node_mknod: set permissions /dev/sdb2,
> > > 060660, uid=0, gid=6
> > > 1282809066.086706 [1006] node_symlink: preserve already existing
> > > symlink '/dev/block/8:18' to '../sdb2'
> > > 1282809066.086907 [1006] link_find_prioritized: found 'b8:18' claiming
> > > '/dev/.udev/links/disk\x2fby-id\x2fusb-Corsair_VoyagerGT_A034000000000085-0:0-part2'
> > > 1282809066.086920 [1006] link_update: creating link
> > > '/dev/disk/by-id/usb-Corsair_VoyagerGT_A034000000000085-0:0-part2' to
> > > '/dev/sdb2'
> > > 1282809066.086936 [1006] node_symlink: preserve already existing
> > > symlink '/dev/disk/by-id/usb-Corsair_VoyagerGT_A034000000000085-0:0-part2'
> > > to '../../sdb2'
> > > 1282809066.087013 [1006] link_find_prioritized: found 'b8:18' claiming
> > > '/dev/.udev/links/disk\x2fby-path\x2fpci-0000:00:1d.7-usb-0:5:1.0-scsi-0:0:0:0-part2'
> > > 1282809066.087023 [1006] link_update: creating link
> > > '/dev/disk/by-path/pci-0000:00:1d.7-usb-0:5:1.0-scsi-0:0:0:0-part2' to
> > > '/dev/sdb2'
> > > 1282809066.087037 [1006] node_symlink: preserve already existing
> > > symlink '/dev/disk/by-path/pci-0000:00:1d.7-usb-0:5:1.0-scsi-0:0:0:0-part2'
> > > to '../../sdb2'
> > > 1282809066.087109 [1006] link_find_prioritized: found 'b8:18' claiming
> > > '/dev/.udev/links/disk\x2fby-uuid\x2f154d47db-ab8e-4e6b-9968-196322d73e50'
> > > 1282809066.087118 [1006] link_update: creating link
> > > '/dev/disk/by-uuid/154d47db-ab8e-4e6b-9968-196322d73e50' to
> > > '/dev/sdb2'
> > > 1282809066.087133 [1006] node_symlink: preserve already existing
> > > symlink '/dev/disk/by-uuid/154d47db-ab8e-4e6b-9968-196322d73e50' to
> > > '../../sdb2'
> > > 1282809066.087233 [1006] udev_monitor_send_device: passed -1 bytes to
> > > monitor 0x95f9278
> > > 1282809066.087249 [1006] udev_watch_begin: adding watch on '/dev/sdb2'
> > > 1282809066.087523 [1006] udev_device_update_db: created db file for
> > > '/devices/pci0000:00/0000:00:1d.7/usb1/1-5/1-5:1.0/host2/target2:0:0/2:0:0:0/block/sdb/sdb2'
> > > in '/dev/.udev/db/block:sdb2'
> > >
> > >
> > > -- Aaron
> > > --
> > > livecd mailing list
> > > livecd at lists.fedoraproject.org
> > > https://admin.fedoraproject.org/mailman/listinfo/livecd
> > >
> > --
> > livecd mailing list
> > livecd at lists.fedoraproject.org
> > https://admin.fedoraproject.org/mailman/listinfo/livecd
> 
> 
> --
> livecd mailing list
> livecd at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/livecd


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/livecd/attachments/20100826/74efa783/attachment.html 


More information about the livecd mailing list