1 line null webserver
by Mike Wright
Hi all,
I'm using dnsmasq to create an ad/media blocker. Whenever it receives a
request for any listed domain I want to return a specific IP that points
to a dummy webserver. That part works.
It's the dummy webserver that has me stumped. I'd like it to return 0
bytes, status 200 for every connection to port 80.
nc seems like a good candidate but I can't get it right.
Anybody have a nc one-liner or other alternative that would accomplish this?
Thanks for any ideas,
Mike Wright
1 year, 4 months
Can't log in as root in a console anymore, in F37
by stan
So after running dnf update on Dec 2, I can no longer log in as root in
a console. I shut down last night, and when I booted this morning, the
problem was there. I can su to root, and the root account is still
present in /etc/shadow, as is the root directory.
I have seen that root is being removed from install unless explicitly
requested, but I thought that was only for new installs and existing
installs wouldn't be affected.
Does anyone have any ideas about what might have gone wrong? Here is
the list of updates that caused the problem (if it was an update, and
there isn't something else going on).
2022-12-02T09:44:47-0700 SUBDEBUG Upgraded: authselect-1.4.0-3.fc37.x86_64
2022-12-02T09:44:47-0700 SUBDEBUG Upgraded: sane-backends-devel-1.1.1-9.fc37.x86_64
2022-12-02T09:44:47-0700 SUBDEBUG Upgraded: gd-devel-2.3.3-6.fc37.x86_64
2022-12-02T09:44:47-0700 SUBDEBUG Upgraded: libavif-devel-0.10.1-3.fc37.x86_64
2022-12-02T09:44:47-0700 SUBDEBUG Upgraded: libass-devel-0.16.0-2.fc37.x86_64
2022-12-02T09:44:47-0700 SUBDEBUG Upgraded: hplip-gui-3.22.10-1.fc37.x86_64
2022-12-02T09:44:47-0700 SUBDEBUG Upgraded: hplip-3.22.10-1.fc37.x86_64
2022-12-02T09:44:48-0700 SUBDEBUG Upgraded: libsane-hpaio-3.22.10-1.fc37.x86_64
2022-12-02T09:44:48-0700 SUBDEBUG Upgraded: hplip-libs-3.22.10-1.fc37.x86_64
2022-12-02T09:44:48-0700 SUBDEBUG Upgraded: sane-backends-drivers-scanners-1.1.1-9.fc37.x86_64
2022-12-02T09:44:48-0700 SUBDEBUG Upgraded: sane-backends-drivers-cameras-1.1.1-9.fc37.x86_64
2022-12-02T09:44:48-0700 SUBDEBUG Upgraded: sane-backends-1.1.1-9.fc37.x86_64
2022-12-02T09:44:49-0700 SUBDEBUG Upgraded: sane-backends-libs-1.1.1-9.fc37.x86_64
2022-12-02T09:44:49-0700 SUBDEBUG Upgraded: gd-progs-2.3.3-6.fc37.x86_64
2022-12-02T09:44:49-0700 SUBDEBUG Upgraded: efl-1.26.3-1.fc37.x86_64
2022-12-02T09:44:50-0700 SUBDEBUG Upgraded: python3-matplotlib-qt5-3.6.2-1.fc37.x86_64
2022-12-02T09:44:51-0700 SUBDEBUG Upgraded: python3-matplotlib-gtk3-3.6.2-1.fc37.x86_64
2022-12-02T09:44:51-0700 SUBDEBUG Upgraded: mock-3.4-1.fc37.noarch
2022-12-02T09:44:55-0700 SUBDEBUG Upgraded: python3-matplotlib-3.6.2-1.fc37.x86_64
2022-12-02T09:44:55-0700 SUBDEBUG Upgraded: python3-matplotlib-data-3.6.2-1.fc37.noarch
2022-12-02T09:44:55-0700 SUBDEBUG Upgraded: gd-2.3.3-6.fc37.x86_64
2022-12-02T09:44:55-0700 SUBDEBUG Upgraded: kf5-kimageformats-5.100.0-1.fc37.x86_64
2022-12-02T09:44:55-0700 SUBDEBUG Upgraded: darktable-4.0.1-5.fc37.x86_64
2022-12-02T09:44:56-0700 SUBDEBUG Upgraded: python3-matplotlib-data-fonts-3.6.2-1.fc37.noarch
2022-12-02T09:44:56-0700 SUBDEBUG Upgraded: mock-filesystem-3.4-1.fc37.noarch
2022-12-02T09:44:56-0700 SUBDEBUG Upgraded: hplip-common-3.22.10-1.fc37.x86_64
2022-12-02T09:44:56-0700 SUBDEBUG Upgraded: php-phpspec-prophecy-1.15.0-3.fc37.noarch
2022-12-02T09:44:56-0700 SUBDEBUG Upgraded: freeipa-healthcheck-core-0.11-5.fc37.noarch
2022-12-02T09:44:56-0700 SUBDEBUG Upgraded: libavif-0.10.1-3.fc37.x86_64
2022-12-02T09:44:56-0700 SUBDEBUG Upgraded: python3-matplotlib-tk-3.6.2-1.fc37.x86_64
2022-12-02T09:44:56-0700 SUBDEBUG Upgraded: efl-devel-1.26.3-1.fc37.x86_64
2022-12-02T09:44:56-0700 SUBDEBUG Upgraded: libass-0.16.0-2.fc37.x86_64
2022-12-02T09:44:56-0700 SUBDEBUG Upgraded: authselect-libs-1.4.0-3.fc37.x86_64
2022-12-02T09:44:56-0700 SUBDEBUG Upgraded: xdg-desktop-portal-gtk-1.14.0-2.fc37.x86_64
2022-12-02T09:44:56-0700 SUBDEBUG Upgraded: python3-regex-2022.9.13-1.fc37.x86_64
2022-12-02T09:44:56-0700 SUBDEBUG Upgraded: perl-Object-Pad-0.71-1.fc37.x86_64
2022-12-02T09:44:56-0700 SUBDEBUG Upgraded: libbluray-1.3.3-1.fc37.x86_64
2022-12-02T09:44:56-0700 SUBDEBUG Upgraded: darktable-tools-noise-4.0.1-5.fc37.x86_64
2022-12-02T09:44:56-0700 SUBDEBUG Upgraded: certmonger-0.79.15-4.fc37.x86_64
2022-12-02T09:44:57-0700 SUBDEBUG Upgraded: SDL2_image-2.6.1-1.fc37.x86_64
2022-12-02T09:44:57-0700 SUBDEBUG Upgraded: kiwi-tools-9.24.50-1.fc37.x86_64
1 year, 4 months
Partitioning with Anaconda
by Geoffrey Leach
Installing Fedora 37 (over 35) from the live boot ISO. I had hoped to
preserve the /home partition, but I was unable to figure out how to do
that. I was unable, in fact, to figure out how to get custom
partitioning to work. My attempts were met with this message:
Failed to find a suitabble stage 1 device.
EFI system partition must be mounted on one of /boot/efi
<repeats>
Searching for any explanation -- indeed any guidance on how to do
custom partitioning in Anaconda -- was a failure.
Could someone please point me to some enlightment? thanks.
1 year, 4 months
KVM not avaible even though CPU and MB support is present
by Ranbir
I'm trying to create a VM on my Fedora 36 desktop with virt-manager and
I'm seeing this error:
"Warning: KVM is not available. This may mean the KVM package is not
installed, or the KVM kernel modules are not loaded. Your virtual
machines may perform poorly."
Ok, so I figured I must have left VT-d disabled in the BIOS. I
rebooted, checked the setting and found it enabled. Strange.
I booted back into Fedora and looked for the "vmx" flag for my
i9-10900X and sure enough found it present.
I have the a lot of qemu related packages installed. I also have the
necessary kvm RPMS installed:
libvirt-daemon-kvm-8.1.0-2.fc36.x86_64
qemu-kvm-6.2.0-16.fc36.x86_64
qemu-kvm-core-6.2.0-16.fc36.x86_64
When I try to manually insert the kvm_intel module, I get this error:
modprobe: ERROR: could not insert 'kvm_intel': Operation not supported
I've been using KVM for a very long time and recently successfully
migrated to modular libvirt on my kvm host. I would like to think that
I know a little bit about getting KVM running. :/
I'm currently running kernel version 6.0.9-200. Is it broken? Is anyone
else having problems with kvm on Intel CPUS in Fedora 36? Is there
something I'm doing incorrectly?
Any help would be appreciated.
--
Ranbir
1 year, 4 months
What is 127.0.0.1.8888
by Geoffrey Leach
Attempting to log in to Google account. Process hangs for some minutes,
then complains that it can't access 127.0.0.1.8888. Any idea what's
going on? (Fedora 35, reasonably current)
Thanks.
1 year, 4 months
spam through Hyperkitty
by Tim
Well, so much for the notion that web forums are better at stopping
spam than mailing lists...
I didn't believe it then, and I don't believe it now.
--
uname -rsvp
Linux 3.10.0-1160.80.1.el7.x86_64 #1 SMP Tue Nov 8 15:48:59 UTC 2022 x86_64
Boilerplate: All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
1 year, 4 months