similar to: missing mount cmd confuses guestfish

Displaying 20 results from an estimated 100 matches similar to: "missing mount cmd confuses guestfish"

2013 Aug 22
1
Re: missing mount cmd confuses guestfish
On Thu, Aug 22, 2013 at 02:40:27PM +0200, Olaf Hering wrote: > On Sun, Aug 18, Olaf Hering wrote: > > > > > I think calling "sh" before "mount" should not confuse guestfish like > > that: > > > > # guestfish (1.20.4 on sles11sp3) > > Doing the same, by accident, with 1.22.5 causes a crash: > > > # guestfish -r -v
2013 Aug 22
0
Re: missing mount cmd confuses guestfish
On Sun, Aug 18, Olaf Hering wrote: > > I think calling "sh" before "mount" should not confuse guestfish like > that: > > # guestfish (1.20.4 on sles11sp3) Doing the same, by accident, with 1.22.5 causes a crash: # guestfish -r -v --network ><fs> add-drive /work/kvm/images/opensuse12.3/disk0.raw ><fs> launch ><fs> sh "ip
2013 Aug 07
1
[PATCH] Fix parsing of boot flag in do_part_get_bootable()
The code in do_part_get_bootable() assumes that if a partition has the bootable flag set, then that is the only flag. It compares the entire flags field with the string "boot". However, the boot flag isn't always the only flag. For instance, POWER systems typically have a bootable partition of type 0x41 (PPC PReP boot), which parted -m displays as: # parted -m -- f18.img unit b
2015 Nov 19
5
[PATCH] daemon: always provide stdin when running chroot commands (RHBZ#1280029)
When running commands in the mounted guest (using the "command" API, and APIs based on it), provide the /dev/null from the appliance as open fd for stdin. Commands usually assume stdin is open if they didn't close it explicitly, so this should avoid crashes or misbehavings due to that. --- daemon/command.c | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-)
2015 Dec 02
3
[PATCH] daemon: improve internal commandrvf
- add a flag to request chroot for the process, which is done only as very last (before chdir) operation before exec'ing the process in the child: this avoids using CHROOT_IN & CHROOT_OUT around command* invocations, and reduces the code spent in chroot mode - add failure checks for dup2 and open done in child, not proceeding to executing the process if they fail - open /dev/null
2013 Dec 06
1
talloc, samba and sssd
Hi, I want to compil sssd on my SLES11SP3 server. sssd require talloc.h for compile and samba use talloc too ! a talloc header file exist in samba source tree and there are tools for compile-it. So my question are : - Can I use and compile code in samba tree for have an external lib ? - If I Install libtalloc-devel from sles, what inpact on samba compil ? regards St?phane Purnelle
2014 May 13
2
new warnings in hivex-1.3.10
hivex-1.3.10 does not pass the sles11sp3 post-build-checks anymore, 1.3.8 was still ok. The relevant output is: ... [ 57s] Hivex.xs: In function 'XS_Win__Hivex_node_name': [ 57s] Hivex.xs:236: warning: implicit declaration of function 'newSVpvn_utf8' [ 57s] Hivex.xs:236: warning: assignment makes pointer from integer without a cast [ 57s] Hivex.xs: In function
2009 Aug 12
2
[PATCH] If using SELinux, mount /selinux in the appliance
I think this patch is also uncontroversial. If selinux=1 then we mount /selinux in the appliance. We also bind-mount it into guests when running commands, just like we do for /proc, /dev etc. If SELinux is disabled, then /selinux doesn't get mounted. Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones virt-p2v converts physical machines to virtual
2013 Aug 18
3
missing chdir before chroot in guestfsd
daemon.c does just a chroot, without chdir. The result is that pwd does not work correctly (it causes fs/dcache.c:prepend_unreachable() to add the unreachable string). A workaround is to add "cd /" before each sh command. ><fs> mount /dev/sda2 / ><fs> sh "cd / ; chroot / ; /bin/pwd" / ><fs> sh "/bin/pwd" (unreachable)/ ><fs> sh
2015 Jun 10
3
Failed to init inotify - Too many open files
Hello, I've a problem on my system with inotify. In the smbd logfile are shown a lot messages like this: [2015/06/10 11:15:21.644453, 0, pid=57030, effective(12700, 100), real(0, 0)] smbd/notify_inotify.c:297(inotify_setup) Failed to init inotify - Too many open files [2015/06/10 11:15:23.968497, 0, pid=57030, effective(12700, 100), real(0, 0)] smbd/notify_inotify.c:297(inotify_setup)
2015 Dec 01
2
Re: [PATCH] daemon: always provide stdin when running chroot commands (RHBZ#1280029)
On Tue, Dec 01, 2015 at 04:16:57PM +0100, Pino Toscano wrote: > On Tuesday 01 December 2015 15:59:56 Mateusz Guzik wrote: > > I would argue that /dev has to be at least partially populated for anything > > that gets executed in the chroot. At the very least special nodes like null, > > zero and {u,}random are needed. > > We do not assume anything about guests, which
2014 Sep 02
0
10MiB/s is normal tap:aio:file.raw ?
Hi there I am analyzing disk performance. I'm testing raw (tap: aio) and lvm (phy :). The tests I'm doing on a SLES11SP3, cpu I7, 4GBRam, disco-SATAII 7200rpm. With phy: lvm achievement 70-80MiB / s (an acceptable value) With tap: aio: file.raw achievement 5-9MiB / s, which is very low ... 10MiB / s is what you should expect access to a tap: aio: file.raw? or I have something
2009 Aug 17
13
total warning-removal for daemon/
The warnings in daemon were aggravating and risky for development (too easy to miss new ones) so I spent some time last week and today working on removing them. The first patch gets us down to almost no warnings with the original -Wall setting. That was by far the hardest part. Once I'd done that, I enabled nearly all of gcc's warnings via gnulib's warnings and manywarnings modules
2014 Mar 11
2
error:libvirt can not be used with os services
hello,please help me,thanks. i download libvirt1.1.3.4 tarball opensouce,and use following commands to build&compile it. ./configure make make install ldconfig And i check the system output,all sucessed,but when i execute "service libvirtd status",i receive an error. openstack:/data/安装介质/libvirt-1.1.3.4 # libvirtd --version libvirtd (libvirt) 1.1.3.4
2003 Aug 23
1
[Bug 117] register_target() creates circular linked list
https://bugzilla.netfilter.org/cgi-bin/bugzilla/show_bug.cgi?id=117 ------- Additional Comments From laforge@netfilter.org 2003-08-23 22:24 ------- I'm not sure if I understand you correctly. How does register_target create a circular list? initially, iptables_targets == NULL. then you register the first target (t), and you set t->next = iptables_targets (== NULL), and then point
2006 Jul 18
2
Vulnerability in vixie cron?
Hi, Recently there have been advisories and patches for SuSE and RedHat (and probably a few others) regarding a vulnerability in Vixie Cron. The details say that there's insufficient checking of the return value of setuid, which can lead to priviledge escalation and lets users run cron jobs with root priviledges. As far as I know, FreBSD also uses Vixie Cron (at least the cron(8) manpage
2014 Mar 28
2
Re: ANNOUNCE: libguestfs 1.26 released
On Fri, Mar 28, 2014 at 10:00:49AM +0100, Olaf Hering wrote: > Does your build have "working GNU getopt function... yes"? Seems so: $ rm config.cache $ ./configure |& grep getopt checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for getopt.h... (cached) yes checking for getopt_long_only... yes checking whether getopt is
2016 Dec 02
9
3.9.1-rc2 is ready for testing
Hi, I just tagged 3.9.1-rc2, so testing can begin. There was a bug found in -rc1 before I could send out a release announcement, so I decided to merge the fix and tag -rc2 to save some testing cycles. We can always use more testers, so if you are interested in helping, let me know. Thanks, Tom
2014 Mar 28
2
Re: ANNOUNCE: libguestfs 1.26 released
On Fri, Mar 28, 2014 at 09:42:52AM +0100, Olaf Hering wrote: > On Thu, Mar 27, Richard W.M. Jones wrote: > > > I'm pleased to announce libguestfs 1.26, a library and set of tools > > This fails to link at least in sles11sp3, 1.25.37 was still ok: > > ... > [ 288s] virt_index_validate-index-validate.o: In function `main': > [ 288s]
2014 Mar 27
4
ANNOUNCE: libguestfs 1.26 released
I'm pleased to announce libguestfs 1.26, a library and set of tools for accessing and modifying virtual machine disk images. This release took more than 6 months of work by a considerable number of people, and has many new features (see release notes below). You can get libguestfs 1.26 here: Main website: http://libguestfs.org/ Source: