search for: udevsettle

Displaying 20 results from an estimated 25 matches for "udevsettle".

Did you mean: udev_settle
2009 Dec 18
1
[PATCH] daemon: Work around udevsettle issue (RHBZ#548121).
...hines into Xen guests. http://et.redhat.com/~rjones/virt-p2v -------------- next part -------------- >From 5c6147ecc7ee3cf657edb1e19ad5ab4e973424e0 Mon Sep 17 00:00:00 2001 From: Richard Jones <rjones at redhat.com> Date: Fri, 18 Dec 2009 19:20:37 +0000 Subject: [PATCH] daemon: Work around udevsettle issue (RHBZ#548121). --- daemon/guestfsd.c | 30 +++++++++--------------------- 1 files changed, 9 insertions(+), 21 deletions(-) diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c index 520a4a4..0fc0128 100644 --- a/daemon/guestfsd.c +++ b/daemon/guestfsd.c @@ -1038,31 +1038,19 @@ device_name...
2012 Sep 03
1
[PATCH] daemon: remove call to obsolete udevsettle
.... Signed-off-by: Olaf Hering <olaf at aepfle.de> diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c index e6d5fde..0db56e4 100644 --- a/daemon/guestfsd.c +++ b/daemon/guestfsd.c @@ -54,7 +54,6 @@ #include "daemon.h" GUESTFSD_EXT_CMD(str_udevadm, udevadm); -GUESTFSD_EXT_CMD(str_udevsettle, udevsettle); static char *read_cmdline (void); @@ -1287,16 +1286,9 @@ random_name (char *template) * * Use 'udevadm settle' after certain commands, but don't be too * fussed if it fails. - * - * 'udevsettle' was the old name for this command (RHEL 5). This was - * d...
2009 Dec 16
1
udevsettle failures
Builds in Koji currently fail with: /sbin/udevsettle missing or unknown command which means that we don't wait long enough after partitions etc have been created. In Fedora >= 12, we shouldn't use /sbin/udevsettle. It's been deprecated in favour of 'udevadm settle'. The relevant code is: http://git.annexia.org/?p=libgues...
2009 Nov 18
1
[PATCH] daemon/RHEL: Choose correct udev settle script.
...d.c +++ b/daemon/guestfsd.c @@ -976,5 +976,25 @@ device_name_translation (char *device, const char *func) void udev_settle (void) { - command (NULL, NULL, "/sbin/udevadm", "settle", NULL); + static int which_prog = 0; + + if (which_prog == 0) { + if (access ("/sbin/udevsettle", X_OK) == 0) + which_prog = 2; + else if (access ("/sbin/udevadm", X_OK) == 0) + which_prog = 1; + else + which_prog = 3; + } + + switch (which_prog) { + case 1: + command (NULL, NULL, "/sbin/udevadm", "settle", NULL); + break; + ca...
2014 Mar 07
3
"connection refused", but server is listening
netstat -lptu gives me tcp6 0 0 [::]:16514 [::]:* LISTEN 1314/libvirtd so the server is correctly listening on interfaces. My /etc/libvirt/libvirtd settings are defaulted. My /etc/default/libvirt-bin has "-d -l" options so server is listening. If I do virsh -c qemu://143.225.229.190/system (that is my ip or an ip belonging to my network) I
2010 Jul 21
0
[PATCH] RFC: Advanced Storage Configuration
...IVE" -s "mkpart primary ext2 0M -1" - hostvgpart="1" - fi - log "Toggling LVM on" - parted "$HOSTVGDRIVE" -s "set $hostvgpart lvm on" - parted "$ROOTDRIVE" -s "print" - udevadm settle 2> /dev/null || udevsettle - reread_partitions "$HOSTVGDRIVE" + log "Creating LVM partition(s) for HostVG" + local drv= + for drv in $HOSTVGDRIVE; do + if [ "$ROOTDRIVE" = "$drv" ]; then + parted "$drv" -s "mkpart primary ext2 ${RootBackup_e...
2009 Sep 30
1
[PATCH node] split root filesystems out of HostVG and onto their own partitions
...ot; log "Toggling boot on" parted $DRIVE -s "set 1 boot on" log "Toggling LVM on" - parted $DRIVE -s "set 2 lvm on" + parted $DRIVE -s "set 4 lvm on" parted $DRIVE -s "print" udevadm settle 2> /dev/null || udevsettle @@ -356,11 +367,11 @@ perform_partitioning() fi partboot=${DRIVE}1 - partpv=${DRIVE}2 + partpv=${DRIVE}4 if [ ! -e "$partpv" ]; then # e.g. /dev/cciss/c0d0p2 partboot=${DRIVE}p1 - partpv=${DRIVE}p2 + partpv=${DRIVE}p4 fi l...
2013 Nov 22
2
Re: HA: Accessing iSCSI disc images from the RHEV Manager using libguestfs
...t 1717 0 libcrc32c 1246 0 Fri Nov 22 12:04:01 UTC 2013 uptime: 2.47 1.42 verbose daemon enabled linux commmand line: panic=1 console=ttyS0 udevtimeout=300 no_timer_check acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=xterm udevadm settle udevsettle udevsettle: No such file or directory libguestfs: recv_from_daemon: received GUESTFS_LAUNCH_FLAG libguestfs: [03456ms] appliance is up Guest launched OK. libguestfs: send_to_daemon: 64 bytes: 00 00 00 3c | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 d2 | 00 00 00 00 | ... guestfsd: main_loop: new request,...
2010 Apr 05
1
RESEND: [PATCH node 1/3] enables ability for a common shared root
...;Toggling LVM on" - parted $HOSTVGDRIVE -s "set $hostvgpart lvm on" - parted $ROOTDRIVE -s "print" + parted "$HOSTVGDRIVE" -s "set $hostvgpart lvm on" + parted "$ROOTDRIVE" -s "print" udevadm settle 2> /dev/null || udevsettle - reread_partitions $HOSTVGDRIVE + reread_partitions "$HOSTVGDRIVE" # sync GPT to the legacy MBR partitions - if [ "gpt" == "$LABEL_TYPE" ]; then - log "Running gptsync to create legacy mbr" - gptsync $ROOTDRIVE + if [ "$...
2013 Nov 22
4
Re: HA: Accessing iSCSI disc images from the RHEV Manager using libguestfs
Unfortunately, placing the link into the /boot does not work. libguestfs-test-tool failes with the same message: ************************************************************ * IMPORTANT NOTICE * * When reporting bugs, include the COMPLETE, UNEDITED * output below in your bug report. *
2014 Sep 28
2
Re: Why libguestfs guest exist exceptionally?
...ed linux commmand line: panic=1 noapic console=ttyS0 udevtimeout=600 no_timer_check acpi=off printk.time=1 cgroup_disable=memory root=/dev/vdb selinux=0 guestfs_vmchannel=tcp:10.0.2.2:33186 guestfs_verbose=1 TERM=vt100 vmchannel: tcp:10.0.2.2:33186 udevadm settle udevadm: No such file or directory udevsettle libguestfs: recv_from_daemon: received GUESTFS_LAUNCH_FLAG libguestfs: [34364ms] appliance is up Guest launched OK. libguestfs: send_to_daemon: 64 bytes: 00 00 00 3c | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 d2 | 00 00 00 00 | ... guestfsd: main_loop: new request, len 0x3c /dev/sda: No such file or di...
2009 Sep 30
0
[PATCH node] RESEND: split root file systems out of HostVG onto separate partitions
...-1 log "Toggling boot on" parted $DRIVE -s "set 1 boot on" log "Toggling LVM on" - parted $DRIVE -s "set 2 lvm on" + parted $DRIVE -s "set 4 lvm on" parted $DRIVE -s "print" udevadm settle 2> /dev/null || udevsettle if [[ "$DRIVE" =~ "^/dev/mapper" ]]; then @@ -550,11 +561,11 @@ perform_partitioning() fi partboot=${DRIVE}1 - partpv=${DRIVE}2 + partpv=${DRIVE}4 if [ ! -e "$partpv" ]; then # e.g. /dev/cciss/c0d0p2 partboot=${DRIVE}p1 -...
2014 Sep 28
0
Re: Why libguestfs guest exist exceptionally?
...onsole=ttyS0 udevtimeout=600 > no_timer_check acpi=off printk.time=1 cgroup_disable=memory > root=/dev/vdb selinux=0 guestfs_vmchannel=tcp:10.0.2.2:33186 > guestfs_verbose=1 TERM=vt100 > > vmchannel: tcp:10.0.2.2:33186 > udevadm settle > udevadm: No such file or directory > udevsettle > libguestfs: recv_from_daemon: received GUESTFS_LAUNCH_FLAG > libguestfs: [34364ms] appliance is up > Guest launched OK. > libguestfs: send_to_daemon: 64 bytes: 00 00 00 3c | 20 00 f5 f5 | 00 > 00 00 04 | 00 00 00 d2 | 00 00 00 00 | ... > guestfsd: main_loop: new request, len 0x3...
2014 Sep 28
2
Re: Why libguestfs guest exist exceptionally?
...t;> no_timer_check acpi=off printk.time=1 cgroup_disable=memory >> root=/dev/vdb selinux=0 guestfs_vmchannel=tcp:10.0.2.2:33186 >> guestfs_verbose=1 TERM=vt100 >> >> vmchannel: tcp:10.0.2.2:33186 >> udevadm settle >> udevadm: No such file or directory >> udevsettle >> libguestfs: recv_from_daemon: received GUESTFS_LAUNCH_FLAG >> libguestfs: [34364ms] appliance is up >> Guest launched OK. >> libguestfs: send_to_daemon: 64 bytes: 00 00 00 3c | 20 00 f5 f5 | 00 >> 00 00 04 | 00 00 00 d2 | 00 00 00 00 | ... >> guestfsd: main_lo...
2014 Sep 28
2
Re: Why libguestfs guest exist exceptionally?
On Sun, Sep 28, 2014 at 6:26 PM, Richard W.M. Jones <rjones@redhat.com> wrote: > On Sun, Sep 28, 2014 at 04:30:37PM +0800, Zhi Yong Wu wrote: >> HI, >> >> On a RHEL5 box, i tried to directly run guest which was issued by >> libguestfs virt-xxx commands as below. But after some minutes, it >> exited exceptionally. >> >> Does anyone also hit the
2006 Apr 30
0
xm create: INIT: cannot execute "/etc/init.d/boot"
...s: 262144 (order: 10, 4194304 bytes) TCP bind hash table entries: 65536 (order: 8, 1048576 bytes) TCP: Hash tables configured (established 262144 bind 65536) TCP reno registered NET: Registered protocol family 1 Write protecting the kernel read-only data: 327k Starting udevd Creating devices Usage: udevsettle [--timeout=<seconds>] Loading xennet netfront: Initialising virtual ethernet driver. Loading xenblk Registering block device major 8 Loading reiserfs Waiting for device /dev/sda1 to appear: ok rootfs: major=8 minor=1 devn=2049 fsck 1.38 (30-Jun-2005) [/bin/fsck.reiserfs (1) -- /] fsck.reiser...
2009 Oct 22
0
[PATCH node] merge Root and /boot partitions
...boot on" + parted $DRIVE -s "mkpart primary ext2 ${RootBackup_end}M -1" log "Toggling LVM on" - parted $DRIVE -s "set 4 lvm on" + parted $DRIVE -s "set 3 lvm on" parted $DRIVE -s "print" udevadm settle 2> /dev/null || udevsettle @@ -366,12 +356,10 @@ perform_partitioning() gptsync $DRIVE fi - partboot=${DRIVE}1 - partpv=${DRIVE}4 + partpv=${DRIVE}3 if [ ! -e "$partpv" ]; then # e.g. /dev/cciss/c0d0p2 - partboot=${DRIVE}p1 - partpv=${DRIVE}p4 + partpv=$...
2009 Nov 04
1
[PATCH node] add ability to select separate disks for Root and HostVG in o-c-storage
...tvgpart="1" + fi log "Toggling LVM on" - parted $DRIVE -s "set 3 lvm on" - parted $DRIVE -s "print" + parted $HOSTVGDRIVE -s "set $hostvgpart lvm on" + parted $ROOTDRIVE -s "print" udevadm settle 2> /dev/null || udevsettle # sync GPT to the legacy MBR partitions if [ "gpt" == "$LABEL_TYPE" ]; then log "Running gptsync to create legacy mbr" - gptsync $DRIVE + gptsync $ROOTDRIVE fi - partpv=${DRIVE}3 + partpv=${HOSTVGDRIVE}${hostvgpart}...
2010 Mar 31
1
[PATCH node] Handle space in storage wwid
...;Toggling LVM on" - parted $HOSTVGDRIVE -s "set $hostvgpart lvm on" - parted $ROOTDRIVE -s "print" + parted "$HOSTVGDRIVE" -s "set $hostvgpart lvm on" + parted "$ROOTDRIVE" -s "print" udevadm settle 2> /dev/null || udevsettle - reread_partitions $HOSTVGDRIVE + reread_partitions "$HOSTVGDRIVE" # sync GPT to the legacy MBR partitions if [ "gpt" == "$LABEL_TYPE" ]; then log "Running gptsync to create legacy mbr" - gptsync $ROOTDRIVE + gptsync &...
2012 Jul 21
5
[PATCH 1/5] mount: add a macro to resolve path or device
Add a macro DUP_RESOLVE_DEVICE_OR_PATH to resolve path or device. Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> --- daemon/daemon.h | 18 ++++++++++++++++++ daemon/mount.c | 13 ++----------- po/POTFILES | 8 ++++++++ 3 files changed, 28 insertions(+), 11 deletions(-) diff --git a/daemon/daemon.h b/daemon/daemon.h index 85eec45..39cc3f3 100644 --- a/daemon/daemon.h +++