Re: Mounting KVM image

2010-06-12 Thread Richard W.M. Jones
On Fri, Jun 11, 2010 at 03:45:39PM -0400, Alex wrote: > Hi, > > >> Another option is guestfish: http://libguestfs.org/ > > I have to migrate the image to a remote system because I don't have > all the tools there to run this. Do you know if guestfish requires a > kvm kernel and processor, or can

Re: Mounting KVM image

2010-06-12 Thread Richard W.M. Jones
Doh ... > guestfish -a systmp-img.img --ro Should be a 'run' command at this point. > run > > list-devices [etc] Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml pack

Re: Mounting KVM image

2010-06-12 Thread Richard W.M. Jones
On Sat, Jun 12, 2010 at 05:53:31PM +0300, kalinix wrote: > It would be useful to post the layout of your hdd, though. He shouldn't need to know the layout of his hdd :-) It's like reading the raw sectors to view a wordprocessor document. Use libguestfs! http://lists.fedoraproject.org/pipermail/

Re: Mounting KVM image

2010-06-12 Thread Richard W.M. Jones
On Sat, Jun 12, 2010 at 11:54:12AM -0600, Greg Woods wrote: > What I really want this for is to be able to restore individual files > from VM images. I back up my virtual machines with a script that pauses > the VM, makes a copy of the disk image, resumes the VM, and moves the > copy to our local m

Re: Mounting KVM image

2010-06-12 Thread Richard W.M. Jones
On Sat, Jun 12, 2010 at 01:13:15PM -0600, Greg Woods wrote: > On Sat, 2010-06-12 at 19:11 +0100, Richard W.M. Jones wrote: > > > Greg, I'd be really interested to talk to you (offline if you like) > > about whether libguestfs could meet your needs here. > > Possib

Re: Mounting KVM image

2010-06-13 Thread Richard W.M. Jones
On Sun, Jun 13, 2010 at 10:31:13PM -0400, Bill Davidsen wrote: > Richard W.M. Jones wrote: > > On Sat, Jun 12, 2010 at 05:53:31PM +0300, kalinix wrote: > >> It would be useful to post the layout of your hdd, though. > > > > He shouldn't need to know the layou

Re: NFS

2010-06-14 Thread Richard W.M. Jones
On Mon, Jun 14, 2010 at 09:24:51AM -0400, Ray Pittigher wrote: > When running a NFS server on Fedora how can I see what files are in use > by others over the NFS mount? In "classic" NFS this isn't really possible. NFS is stateless, so on the server you can only see momentary reads and writes from

Re: Mounting KVM image

2010-06-15 Thread Richard W.M. Jones
On Tue, Jun 15, 2010 at 12:57:23AM -0400, Alex wrote: > Hi, > > > Take it a step at a time: > > > >  guestfish -a systmp-img.img --ro > >  > list-devices > >  > list-partitions > >  > lvs > > > > You can then mount the partition(s) that contain data you want to > > read, for example: > > > >  > mo

Re: Mounting KVM image

2010-06-15 Thread Richard W.M. Jones
On Tue, Jun 15, 2010 at 08:50:37AM +0100, Richard W.M. Jones wrote: > On Tue, Jun 15, 2010 at 12:57:23AM -0400, Alex wrote: > > such as to > > perform a backup while the guest is actually running? A bit early in the morning ... To perform a backup while the guest is running, of c

Re: F13 - Unable to update - package dependency conflicts

2010-06-17 Thread Richard W.M. Jones
On Wed, Jun 16, 2010 at 01:03:07PM -0700, JD wrote: > The info below shows my problem. > 1:libguestfs-1.2.8-1.fc13.i686 Grab the latest package which fixes this issue: https://admin.fedoraproject.org/updates/search/libguestfs Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.

/sys/devices/system/cpu/cpu0/topology/physical_package_id: No such file or directory (was: Re: Need help with virt_install)

2011-03-17 Thread Richard W.M. Jones
On Wed, Mar 16, 2011 at 12:12:24PM -0700, JD wrote: > /virt-install \ >--connect qemu:///system \ >--name Fedora_14_i386 \ >--ram 500 \ >--disk path=/dev/sdc \ >--network network:default \ >--arch i386 \

Re: Save everybody some surprises in Fedora 22!

2014-06-09 Thread Richard W.M. Jones
On Fri, Jun 06, 2014 at 02:46:23PM +0200, Ales Kozumplik wrote: > Hello, > > The time when DNF will take over from Yum in Fedora is nearing. > We're wondering: is there stuff people are still missing from DNF > that they have got recently in Yum? Or even something else! We've > put together a very

Adding drivers to initrd using kickstart & dracut

2014-06-12 Thread Richard W.M. Jones
I have a working kickstart for building a Fedora 20 guest. But I want to add Xen drivers to the guest's initrd. So far I'm doing: %post pushd /etc/dracut.conf.d echo 'add_drivers+="xen-blkfront xen-netfront"' > xen-drivers.conf popd dracut %end However although this creates the /etc/dracut.con

Re: Adding drivers to initrd using kickstart & dracut

2014-06-12 Thread Richard W.M. Jones
On Thu, Jun 12, 2014 at 08:49:30AM -0500, Chris Adams wrote: > Once upon a time, Richard W.M. Jones said: > > However although this creates the /etc/dracut.conf.d/xen-drivers.conf > > file in the guest, it doesn't add the Xen drivers to the initramfs. > > (I also

Re: nedit

2015-09-30 Thread Richard W.M. Jones
On Tue, Sep 29, 2015 at 11:59:49AM +0200, Patrick Dupre wrote: > Hello, > > When I open more than 1 windows in nedit, the copy/paste does not work. > I can only do inside the same widown: I cannot copy/paste from window > to window. Actually this can also happens from the second window to inside

Copr builds for Fedora 25?

2016-08-31 Thread Richard W.M. Jones
I see in the settings of my Copr repository that Fedora 25 isn't available. Of course F25 is only in Alpha at the moment, but there is a Fedora Rawhide option, which is even more "alpha" than F25. Importantly this means I cannot build nor install the packages on the Fedora 25 Alpha server that I

Re: qemu + plan9(virtfs) and access(still) denied

2016-09-01 Thread Richard W.M. Jones
On Wed, Aug 31, 2016 at 10:00:30PM -, pelj...@yahoo.co.uk wrote: > hi everybody > > I wonder if you had a chance to use virtfs with passthrough in qemu? > I have a host that passes through a directory to a guest, in the guest I can > mount the tag successfully and list the content of the moun

Boot normally, but give me a root shell

2016-10-06 Thread Richard W.M. Jones
Is there a way to get Fedora to boot into a root shell, without requiring a password? NOTE: I'm not interested in "emergency" shells and this is not for recovering a system. I want the (specialized, non-networked) system to boot as normal, all the way to multi-user.target, and then drop me to a

Re: change folder heirarchy in a tar file without extracting to disk

2016-10-06 Thread Richard W.M. Jones
On Thu, Oct 06, 2016 at 03:08:53PM -, jerome.ya...@gmail.com wrote: > Is there a way to change the folder structure inside a tar file without > extracting it to disk first? > > For example, I have the following file/folder structure in a tar file, > test.tar. > > dir1/ > dir1/file1 > dir1/f

Re: Boot normally, but give me a root shell

2016-10-07 Thread Richard W.M. Jones
On Fri, Oct 07, 2016 at 09:19:55AM +0200, Ahmad Samir wrote: > On 6 October 2016 at 23:55, Richard W.M. Jones wrote: > > > > Is there a way to get Fedora to boot into a root shell, without > > requiring a password? > > > > NOTE: I'm not interested in

Does kdump work for you with Fedora 25?

2016-12-02 Thread Richard W.M. Jones
I followed the instructions here: https://fedoraproject.org/wiki/How_to_use_kdump_to_debug_kernel_crashes After booting with crashkernel=128M, starting the kdump service which is running: # kdumpctl status Kdump is operational I enabled sysrq: echo 1 > /proc/sys/kernel/sysrq Then at t

Re: What user and password to use in cloud images?

2013-11-09 Thread Richard W.M. Jones
On Thu, Nov 07, 2013 at 11:16:08PM +0100, Juan Orti Alcaine wrote: > I cannot login with the user 'fedora'. I'm connected to the console (it is a > CloudStack cloud), and have tried all combinations of ec2-user/fedora > /passwords/without-passwords. You've solved it, but for reference virt-sysp

Setting resolution to 4K kills nouveau ... but how do I recover?

2019-09-03 Thread Richard W.M. Jones
I've got a new machine with an nVidia card and an external 4K display. For whatever reason selecting 4K in the graphical display resolution tool causes the Nouveau driver to crash. After this I can no longer log in because even after a reboot it tries to select 4K again. How can I (from ssh) cha

Re: Setting resolution to 4K kills nouveau ... but how do I recover?

2019-09-06 Thread Richard W.M. Jones
On Tue, Sep 03, 2019 at 01:24:02PM -0400, Tom Horsley wrote: > On Tue, 3 Sep 2019 17:46:53 +0100 > Richard W.M. Jones wrote: > > > How can I (from ssh) change the display resolution back to something > > lower? > > If it stores it on a per-user basis, perhaps creating

frama-c can't start up on simple example

2020-06-18 Thread Richard W.M. Jones
I was trying to run through the tutorial here: https://allan-blanchard.fr/publis/frama-c-wp-tutorial-en.pdf The first example on page 15 & 16 fails with: [wp] Running WP plugin... [wp] User Error: Prover 'alt-ergo' not found in why3.conf I couldn't get any further. What I tried was: -

Re: frama-c can't start up on simple example

2020-06-18 Thread Richard W.M. Jones
On Thu, Jun 18, 2020 at 12:31:44PM +0100, Richard W.M. Jones wrote: > - Run /usr/lib64/why3/commands/why3config by hand (why isn't it in >/usr/bin?), which creates $HOME/.why3.conf So the reason it's not in /usr/bin is because you have to run it like this: $ why3 confi

Re: frama-c can't start up on simple example

2020-06-19 Thread Richard W.M. Jones
On Thu, Jun 18, 2020 at 03:15:13PM -0600, Jerry James wrote: > On Thu, Jun 18, 2020 at 9:01 AM Jerry James wrote: > > I see this in the log: > > > > [wp] User Error: Prover 'alt-ergo' not found in why3.conf > > > > which is a lie. Prover alt-ergo is most definitely listed in > > why3.conf. I'll

Firewalld, IPv6, no forwarding happening

2015-05-20 Thread Richard W.M. Jones
I'm totally baffled by how to get firewalld to forward IPv6 packets. On my home network, every machine has a public IPv6 address (from radvd). My ISP has IPv6. In between is a Fedora machine running firewalld, but packets simply do not transition from one network interface to the other. If I pi

Re: Firewalld, IPv6, no forwarding happening

2015-05-20 Thread Richard W.M. Jones
On Wed, May 20, 2015 at 02:36:28PM -0700, Rick Stevens wrote: > On 05/20/2015 02:13 PM, Richard W.M. Jones wrote: > >I'm totally baffled by how to get firewalld to forward IPv6 packets. > > > >On my home network, every machine has a public IPv6 address (from > &

Re: Firewalld, IPv6, no forwarding happening

2015-05-21 Thread Richard W.M. Jones
On Thu, May 21, 2015 at 08:33:16PM +0930, Tim wrote: > On Wed, 2015-05-20 at 22:13 +0100, Richard W.M. Jones wrote: > > If I ping ipv6.google.com from inside, I can see the packets as far as > > the internal interface on the firewall, but they simply disappear. > > Ju

Re: Firewalld, IPv6, no forwarding happening

2015-05-22 Thread Richard W.M. Jones
It turns out there are two problems. (1) You must manually assign a public IPv6 address to at least one of your router's interfaces. This is because when sending an IPv6 packet, the kernel chooses a source address by looking at the addresses of all interfaces. If none of them has a public addres

Playing blu-ray disks on Fedora

2015-05-31 Thread Richard W.M. Jones
Is it possible to play commercial blu-ray disks on Fedora? (I expect of course that I'd have to install some RPMFusion software, and even 'other' software off the net). If it is possible at all, are there external (USB) blu-ray drives which are better than others? Rich. -- Richard Jones, Virt

Re: [virt-tools-list] [OT] virtual exam environment

2014-07-09 Thread Richard W.M. Jones
On Fri, Jul 04, 2014 at 03:14:44PM +0200, Pal, Laszlo wrote: > Hi, > > I'm going to create some virtual exam environment and maybe > kvm/qemu/virsh can do the job. > > This environment should consists several virtual machines (linux + > windows) and several virtual networks. This is not a big dea

Re: [virt-tools-list] [OT] virtual exam environment

2014-07-09 Thread Richard W.M. Jones
On Wed, Jul 09, 2014 at 07:24:41PM +0100, Richard W.M. Jones wrote: > VMware have some rather nice "lab" software that lets you recreate > groups of virtual machines instantly. I think it's designed for > creating repeatable test environments. The name of this escapes me

Re: "Sticky keyboard" fault?

2013-04-23 Thread Richard W.M. Jones
It's a massive usability fail, masquerading as an accessibility feature. See: https://bugzilla.redhat.com/show_bug.cgi?id=816764 Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monito

Mouse movement jerky after plugging in external monitor

2013-06-11 Thread Richard W.M. Jones
I have a Lenovo X230 (laptop with a small internal screen) and a large external screen. When the external screen is not plugged in, mouse movements are fine. When I plug in the external screen (I have the XFCE desktop spread over both internal and external), horizontal movements of the mouse bec

Re: Mouse movement jerky after plugging in external monitor

2013-06-12 Thread Richard W.M. Jones
On Tue, Jun 11, 2013 at 08:50:24AM -0700, Jack Craig wrote: > I have this symptom on my F17, logitech/usb, used to be fine.. > > i swapped out the mouse and the symptom went away,... Indeed an external mouse works fine for me too. (Unfortunately I can't use one for long periods b/c of RSI). Ric

Making dnf install ssh:// work

2022-01-16 Thread Richard W.M. Jones
# dnf install ssh://foo/tmp/bar.rpm Last metadata expiration check: 0:00:41 ago on Sun 16 Jan 2022 09:21:19 GMT. [MIRROR] bar.rpm: Curl error (1): Unsupported protocol for ssh://foo/tmp/bar.rpm [Protocol "ssh" not supported or disabled in libcurl] I'm trying to work out if it's possible to make

Re: Making dnf install ssh:// work

2022-01-17 Thread Richard W.M. Jones
On Sun, Jan 16, 2022 at 04:57:34PM +, Michael Young wrote: > On Sun, 16 Jan 2022, Richard W.M. Jones wrote: > > > > ># dnf install ssh://foo/tmp/bar.rpm > >Last metadata expiration check: 0:00:41 ago on Sun 16 Jan 2022 09:21:19 GMT. > >[MIRROR] bar.rpm: Curl e

systemd service fails to run with "ConditionACPower=true was not met"

2022-08-05 Thread Richard W.M. Jones
Fedora 36, plocate-1.1.15-3.fc36.x86_64, systemd-250.8-1.fc36.x86_64 /usr/lib/systemd/system/plocate-updatedb.service has ConditionACPower=true because they don't want updatedb to run when on a laptop battery. Now, my machine is an Intel NUC which has an Intel mobile chipset but is very definitel

Re: systemd service fails to run with "ConditionACPower=true was not met"

2022-08-05 Thread Richard W.M. Jones
On Fri, Aug 05, 2022 at 11:36:13AM +0100, Barry wrote: > > > > On 5 Aug 2022, at 10:48, Richard W.M. Jones wrote: > > > > Fedora 36, plocate-1.1.15-3.fc36.x86_64, systemd-250.8-1.fc36.x86_64 > > > > /usr/lib/systemd/system/plocate-updatedb.service has &g

Re: systemd service fails to run with "ConditionACPower=true was not met"

2022-08-05 Thread Richard W.M. Jones
On Fri, Aug 05, 2022 at 12:16:46PM +0100, Richard W.M. Jones wrote: > I think this is a systemd bug. It seems like the source/sink check was added recently to fix: https://github.com/systemd/systemd/issues/21988 but that the fix is either wrong or incomplete. Here's another interesting

Noto fonts - ugly and unreadable for everyone or just me?

2022-09-18 Thread Richard W.M. Jones
So I upgraded from Fedora 35-ish to 37 recently, and the most obvious thing is the change to Google Noto fonts (https://www.fedoraproject.org/wiki/Changes/DefaultToNotoFonts) Wow oh wow, are these fonts ugly and unreadable for everyone or is it just a peculiarity of my system or of the upgrade pr

Re: Noto fonts - ugly and unreadable for everyone or just me?

2022-09-18 Thread Richard W.M. Jones
On Sun, Sep 18, 2022 at 08:29:52PM +0800, Lily White wrote: > Also, please attach a screenshot so we'll know if it's actually a > problem or a personal taste issue. http://oirase.annexia.org/tmp/ugly.png > And don't forget to go to the test list. The same thing would apparently happen on F36. R

Re: Noto fonts - ugly and unreadable for everyone or just me?

2022-09-18 Thread Richard W.M. Jones
On Sun, Sep 18, 2022 at 05:30:42PM +0100, Richard W.M. Jones wrote: > On Sun, Sep 18, 2022 at 08:29:52PM +0800, Lily White wrote: > > Also, please attach a screenshot so we'll know if it's actually a > > problem or a personal taste issue. > > http://oirase.annexia.o

Re: Noto fonts - ugly and unreadable for everyone or just me?

2022-09-19 Thread Richard W.M. Jones
On Sun, Sep 18, 2022 at 05:36:14PM +0100, Richard W.M. Jones wrote: > On Sun, Sep 18, 2022 at 05:30:42PM +0100, Richard W.M. Jones wrote: > > On Sun, Sep 18, 2022 at 08:29:52PM +0800, Lily White wrote: > > > Also, please attach a screenshot so we'll know if it's a

Re: Noto fonts - ugly and unreadable for everyone or just me?

2022-09-22 Thread Richard W.M. Jones
On Mon, Sep 19, 2022 at 09:58:16PM +0100, Barry wrote: > What is it that you are finding ugly about noto that is great I deja? Small spidery unreadable letters. They actually appear better somehow in the screenshots than they do on the screen itself. Rich. -- Richard Jones, Virtualization Grou

Enabling Apache HTTP/2 => Too many open files error

2023-02-27 Thread Richard W.M. Jones
I fixed this now, but I could find virtually no documentation about it online, so I'm writing this email to document what surely must be a common problem ... I wanted to enable HTTP/2 support in Apache on Fedora 38. I followed the documentation here which worked [although it's way more complicate

Re: Fedora (37) i686 32-bit virt-p2v ?

2023-02-27 Thread Richard W.M. Jones
On Sun, Feb 26, 2023 at 07:57:39PM +0100, Franta Hanzlik via users wrote: > Hi, > > I want to virtualize any old i686 Windows XP 32-bit physical PC on F37. > Result from building virt-p2v boot disk: > > # virt-p2v-make-disk -o /dev/sde --arch i686 > virt-p2v-make-disk: cannot find /usr/lib64/vir

Re: Enabling Apache HTTP/2 => Too many open files error

2023-02-27 Thread Richard W.M. Jones
servers to clients. > > I am also not sure the push functionality is well understood in a > security context. > > So it is probably a good idea to make HTTP/2 optional, until an > organization has an opportunity to weigh the risks versus reward. Good points, thanks. Rich. > Je

VLC in Fedora vs RPMFusion

2023-12-24 Thread Richard W.M. Jones
I just did an upgrade on my Fedora 38(-ish) machine and dnf wants to replace the rpmfusion version of vlc: Name: vlc Epoch : 1 Version : 3.0.19 Release : 0.7.fc39 Architecture: x86_64 Install Date: Tue 22 Aug 2023 11:56:54 BST Group : Unspecified Size

Re: VLC in Fedora vs RPMFusion

2023-12-24 Thread Richard W.M. Jones
On Sun, Dec 24, 2023 at 04:55:50PM +0100, Ralf Corsépius wrote: > Am 24.12.23 um 16:20 schrieb Richard W.M. Jones: > >Is there some advantage here? I don't want to lose the ability to > >playback weird / proprietary stuff, which is (I assume) why I needed > >to use

Re: rpmbuild

2017-09-19 Thread Richard W.M. Jones
On Sun, Sep 17, 2017 at 09:48:26PM +0200, Patrick Dupre wrote: > Hello, > > Can somebody tell me whatis wrong in the spec file In addition to the other reply, some stylistic points ... > Group: Development/Libraries This is not needed. > BuildRoot: %{_tmppath}/%{name}-%{version}-

Re: [F26] missing /run/user/${USER} directory

2017-09-21 Thread Richard W.M. Jones
On Wed, Sep 20, 2017 at 10:56:35AM +0200, Frédéric Bron wrote: > Hi, > > I have a user for which /run/user/${USER} directory is not > automatically created. I manually created the directory and made it > owned by the user and all was fine but after reboot it had disappeard > and I had to do it aga

How to debug grub2-efi -> kernel transition issues?

2021-03-29 Thread Richard W.M. Jones
I have a weird problem on an old Asus Zenbook UX305C where new kernels cannot be installed by grub. Specifically what happens is they appear in the boot menu fine, but if you try to boot them then the machine hangs hard with a completely black screen. Oddly the kernel installed by Anaconda can b

Re: How to debug grub2-efi -> kernel transition issues?

2021-03-30 Thread Richard W.M. Jones
On Mon, Mar 29, 2021 at 02:02:58PM -0600, Chris Murphy wrote: > On Mon, Mar 29, 2021 at 1:55 AM Richard W.M. Jones wrote: > > > > > > I have a weird problem on an old Asus Zenbook UX305C where new kernels > > cannot be installed by grub. Specifically what happens is

perf / DWARF bug - is this something to do with the new DWARF format?

2021-05-24 Thread Richard W.M. Jones
https://bugzilla.redhat.com/show_bug.cgi?id=1963865 I can't get stack traces using --call-graph=dwarf information working in Rawhide at the moment. It seems as if perf doesn't understand the new debuginfo information. I find this whole area to be incredibly confusing and opaque. For example, ho