search for: nullglob

Displaying 20 results from an estimated 23 matches for "nullglob".

2016 Mar 22
0
[PATCH v3 02/11] appliance: Move /proc/cmdline checks earlier.
...t +++ b/appliance/init @@ -75,21 +75,6 @@ $UDEVD --daemon #--debug udevadm trigger udevadm settle --timeout=600 -if grep -sq selinux=1 /proc/cmdline; then - mount -t selinuxfs none /sys/fs/selinux -fi - -# Disk optimizations. -# Increase the SCSI timeout so we can read remote images. -shopt -s nullglob -for f in /sys/block/sd*/device/timeout; do echo 300 > $f; done -# https://access.redhat.com/site/solutions/5427 -for f in /sys/block/{h,s,ub,v}d*/queue/scheduler; do echo noop > $f; done -shopt -u nullglob - -# Update the system clock. -hwclock -u -s - # Parse the kernel command line. if g...
2016 Mar 23
1
Re: [PATCH v3 02/11] appliance: Move /proc/cmdline checks earlier.
...-daemon #--debug > udevadm trigger > udevadm settle --timeout=600 > > -if grep -sq selinux=1 /proc/cmdline; then > - mount -t selinuxfs none /sys/fs/selinux > -fi > - > -# Disk optimizations. > -# Increase the SCSI timeout so we can read remote images. > -shopt -s nullglob > -for f in /sys/block/sd*/device/timeout; do echo 300 > $f; done > -# https://access.redhat.com/site/solutions/5427 > -for f in /sys/block/{h,s,ub,v}d*/queue/scheduler; do echo noop > $f; done > -shopt -u nullglob > - > -# Update the system clock. > -hwclock -u -s > -...
2011 Aug 11
1
[PATCH] hivex: A few tweaks to enable building in a separate directory
...FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - -set -e -shopt -s nullglob - -for f in t/*.py; do - basename "$f" - python "$f" -done diff --git a/python/run-python-tests.in b/python/run-python-tests.in new file mode 100755 index 0000000..af51080 --- /dev/null +++ b/python/run-python-tests.in @@ -0,0 +1,25 @@ +#!/bin/bash - +# hivex Python bindings +...
2016 Mar 22
1
[PATCH] appliance: use bash features for string matching in files
...appliance/init @@ -75,7 +75,9 @@ $UDEVD --daemon #--debug udevadm trigger udevadm settle --timeout=600 -if grep -sq selinux=1 /proc/cmdline; then +cmdline=$(</proc/cmdline) + +if [[ $cmdline == *selinux=1* ]]; then mount -t selinuxfs none /sys/fs/selinux fi @@ -91,16 +93,16 @@ shopt -u nullglob hwclock -u -s # Parse the kernel command line. -if grep -sq guestfs_verbose=1 /proc/cmdline; then +if [[ $cmdline == *guestfs_verbose=1* ]]; then guestfs_verbose=1 fi -if grep -sq guestfs_network=1 /proc/cmdline; then +if [[ $cmdline == *guestfs_network=1* ]]; then guestfs_network=1...
2016 Mar 17
5
[PATCH 0/3] appliance: Pass "quiet" option to kernel when !verbose.
Using the quiet option (when not in verbose mode) improves boot speeds by rather a lot, by avoiding sending messages over the slow emulated UART. Rich.
2014 Jan 10
0
[PATCH 7/7] python: fix test runner so scripts are found when building out-of-tree
--- python/run-python-tests.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/run-python-tests.in b/python/run-python-tests.in index 90aee03..0df646b 100755 --- a/python/run-python-tests.in +++ b/python/run-python-tests.in @@ -19,7 +19,7 @@ set -e shopt -s nullglob -for f in @srcdir@t/*.py; do +for f in @srcdir@/t/*.py; do basename "$f" $PYTHON "$f" done -- 1.8.5.2
2016 Mar 22
19
[PATCH v3 0/11] tests/qemu: Add program for tracing and analyzing boot times.
Lots of changes since v2, too much to remember or summarize. Please ignore patch 11/11, it's just for my testing. Rich.
2016 Mar 23
7
[PATCH v4 0/6] tests/qemu: Add program for tracing and analyzing boot times.
v4: - Lots more analysis of the /init script and other parts. - Display a list of the longest to shortest activities. - Rebase on top of current head. Rich.
2016 Mar 20
14
[PATCH v2 0/7] tests/qemu: Add program for tracing and analyzing boot times.
v1 was here: https://www.redhat.com/archives/libguestfs/2016-March/thread.html#00157 Not running the 'hwclock' command reduces boot times considerably. However I'm not sure if it is safe. See the question I posted on qemu-devel: http://thread.gmane.org/gmane.comp.emulators.qemu/402194 At the moment, about 50% of the time is consumed by SeaBIOS. Of this, about ⅓rd is SGABIOS
2014 Jan 10
14
[PATCH 1/7] Add a minimal hive with "special" keys and values
--- images/README | 14 ++++++++++++ images/mkzero/Makefile | 9 ++++++++ images/mkzero/mkzero.c | 59 +++++++++++++++++++++++++++++++++++++++++++++++++ images/special | Bin 0 -> 8192 bytes 4 files changed, 82 insertions(+) create mode 100644 images/mkzero/Makefile create mode 100644 images/mkzero/mkzero.c create mode 100644 images/special diff --git a/images/README
2014 Mar 23
1
Bug#742397: xen-utils-common: /etc/init.d/dom0weight is hardcoded to use xm
...lected" exit 0 fi if [ "$(basename "$TOOLSTACK")" != xm ] && [ "$(basename "$TOOLSTACK")" != xl ]; then exit 0 fi if ! [ -e /proc/xen/privcmd ]; then exit 0 fi [ -r /etc/default/xendomains ] && . /etc/default/xendomains shopt -s nullglob check_config_name() { xen create --quiet --dryrun --defconfig "$1" | sed -n 's/^.*(name \(.*\))$/\1/p' } check_running() { xen domid "$1" > /dev/null 2>&1 return $? } timeout_coproc() { local TIMEOUT=$1 shift coproc "$@" 2>&1 1>/...
2012 Jun 24
3
Bug#678719: xen-utils-common: please label all created directories for SE Linux
...gt;&2 exit 3 ;; esac exit 0 /etc/init.d/xendomains changed: . /lib/init/vars.sh . /lib/lsb/init-functions xen list &> /dev/null if test $? -ne 0 then exit 0; fi if ! [ -e /proc/xen/privcmd ]; then exit 0 fi [ -r /etc/default/xendomains ] && . /etc/default/xendomains shopt -s nullglob check_config_name() { xen create --quiet --dryrun --defconfig "$1" | sed -n 's/^.*(name \(.*\))$/\1/p' } check_running() { xen domid "$1" > /dev/null 2>&1 return $? } timeout_coproc() { TIMEOUT="$1" for no in $(seq 0 $TIMEOUT); do if [ -...
2020 Sep 03
3
Error while loading shared libraries: libsbz.so
Hi, I have a KVM host running ubuntu 18.04 with libguestfs-tools version 1.36.13-1ubuntu3.3 installed from the Ubuntu's repo and when I try to use virt-cat for example on a VM it fails with: libguestfs: error: appliance closed the connection unexpectedly. > libguestfs: error: guestfs_launch failed. After doing "export LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1" and running the
2017 Dec 11
3
Libguestfs Hangs on CentOS 7.4
...si generic sg0 type 0 [ 0.508178] sd 2:0:1:0: Attached scsi generic sg1 type 0 [ 0.513218] AES CTR mode by8 optimization enabled [ 0.523861] Error: Driver 'pcspkr' is already registered, aborting... [ 0.526062] alg: No test for __gcm-aes-aesni (__driver-gcm-aes-aesni) + shopt -s nullglob + for f in '/sys/block/sd*/device/timeout' + echo 300 + for f in '/sys/block/sd*/device/timeout' + echo 300 + for f in '/sys/block/{h,s,ub,v}d*/queue/scheduler' + echo noop + for f in '/sys/block/{h,s,ub,v}d*/queue/scheduler' + echo noop + shopt -u nullglob + ip addr...
2020 Sep 03
0
Re: Error while loading shared libraries: libsbz.so
...-x /lib/systemd/systemd-udevd ']' > + UDEVD=/lib/systemd/systemd-udevd > + break > + '[' -z /lib/systemd/systemd-udevd ']' > + /lib/systemd/systemd-udevd --daemon > starting version 237 > + udevadm trigger > + udevadm settle --timeout=600 > + shopt -s nullglob > + for f in /sys/block/sd*/device/timeout > + echo 300 > + for f in /sys/block/sd*/device/timeout > + echo 300 > + for f in /sys/block/{h,s,ub,v}d*/queue/scheduler > + echo noop > /init: line 116: echo: write error: Invalid argument > + for f in /sys/block/{h,s,ub,v}d*/queu...
2020 Sep 03
1
Re: Error while loading shared libraries: libsbz.so
...; > > + UDEVD=/lib/systemd/systemd-udevd > > + break > > + '[' -z /lib/systemd/systemd-udevd ']' > > + /lib/systemd/systemd-udevd --daemon > > starting version 237 > > + udevadm trigger > > + udevadm settle --timeout=600 > > + shopt -s nullglob > > + for f in /sys/block/sd*/device/timeout > > + echo 300 > > + for f in /sys/block/sd*/device/timeout > > + echo 300 > > + for f in /sys/block/{h,s,ub,v}d*/queue/scheduler > > + echo noop > > /init: line 116: echo: write error: Invalid argument > >...
2017 Aug 23
2
virt-sysprep: error: no operating systems were found in the guest image on libguestfs-1.36.5
...s/platform/pcspkr/input/input2 [ 1.066605] piix4_smbus 0000:00:01.3: SMBus Host Controller at 0x700, revision 0 [ 1.129345] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input3 [ 1.151341] alg: No test for __gcm-aes-aesni (__driver-gcm-aes-aesni) + shopt -s nullglob + for f in '/sys/block/sd*/device/timeout' + echo 300 + for f in '/sys/block/sd*/device/timeout' + echo 300 + for f in '/sys/block/{h,s,ub,v}d*/queue/scheduler' + echo noop + for f in '/sys/block/{h,s,ub,v}d*/queue/scheduler' + echo noop + shopt -u nullglob + ip addr...
2017 Dec 02
0
Re: [nbdkit PATCH] nbd: Fix memory leak
...ad count=4096 offset=0 nbdkit: file.1: debug: release unload prevention lock nbdkit: debug: received reply for cookie 0x900000008 nbdkit: nbd.4: debug: release unload prevention lock nbdkit: debug: received reply for cookie 0x900000008 nbdkit: nbd.4: debug: release unload prevention lock + shopt -s nullglob + for f in /sys/block/sd*/device/timeout + echo 300 + for f in /sys/block/sd*/device/timeout + echo 300 + for f in /sys/block/{h,s,ub,v}d*/queue/scheduler + echo noop + for f in /sys/block/{h,s,ub,v}d*/queue/scheduler + echo noop + shopt -u nullglob + ip addr add 127.0.0.1/8 brd + dev lo scope host...
2017 Dec 02
2
[nbdkit PATCH] nbd: Fix memory leak
When converting from a single transaction to a linked list, I forgot to free the storage for each member of the list. Reported-by: Richard W.M. Jones <rjones at redhat.com> Fixes: 7f5bb9bf13f041ea7702bda557d9dd668bc3423a Signed-off-by: Eric Blake <eblake at redhat.com> --- I'm still not sure why 'make check' passes while 'make check-valgrind' fails for
2020 Jan 08
3
回复: bug report
...0 [&nbsp; &nbsp; 0.837669] AVX2 version of gcm_enc/dec engaged. [&nbsp; &nbsp; 0.838679] AES CTR mode by8 optimization enabled [&nbsp; &nbsp; 0.841619] sd 2:0:1:0: Attached scsi generic sg1 type 0 [&nbsp; &nbsp; 0.927202] EDAC sbridge:&nbsp; Ver: 1.1.2 + shopt -s nullglob + for f in '/sys/block/sd*/device/timeout' + echo 300 + for f in '/sys/block/sd*/device/timeout' + echo 300 + for f in '/sys/block/{h,s,ub,v}d*/queue/scheduler' + echo noop /init: line 116: echo: write error: Invalid argument + for f in '/sys/block/{h,s,ub,v}d*/queue/sch...