Who is the problem kid: Win10 or Fedora?
by Walter H.
Hello,
I've got a Win10 box und a Fedora VM
both are latest updates / release [Win10 22H2 19045.3086 and Fedora 38]
I was used to connect to the Fedora VM from the Win10 box
- with the OpenSSH commands, that are nativly available in Windows
- with WinSCP
- or the ssh commands inside the WSL [Debian Distribution]
some time ago I noticed that the used keys from the WSL don't work any more;
I added this inside the Fedora in the sshd_config
HostKeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes ssh-rsa
then the login using the keys from WSL were working again;
but why didn't this help to login using the keys via the Win 10 OpenSSH
commands;
there I had to create new keys
ssh-keygen -t ed25519
and then to modify the above addings like this:
HostKeyAlgorithms +ssh-rsa,ssh-ed25519
PubkeyAcceptedKeyTypes ssh-rsa,ssh-ed25519
the same with WinSCP, there I had to gernerate a new key, too;
the used ssh-rsa keys are refused, even from WSL they work;
a bit confusing/strange;
Walter
9 months, 3 weeks
WD BLUE SSD died. Not even seen in BIOS or via USB?
by Michael D. Setzer II
Had the WD SSD just die in one of my 5 Home Fedora 37
machines. Reply from WD is just it is out of warranty.
Wondering if others are seeing this or it is just one bad drive.
Have machines monitor all my computers every 15 minutes, so it
reported machine was down. Check machine, and it was showing
errors. So went to reboot it to run fsck, but on reboot, it doesn't
even see the disk in bios.
Tried different cables, and different ports, and even hooked it to
other computers, but no response at all. dmesg doesn't even show
anything when hooked with a USB adapter..
Hooked the old regular hard disk that had been in machine before I
imaged it to the SSD disk. It booted just fine, but that had Fedora
35, so ran the upgrade to 36, and then to 37. So have machine
back up, and restored 99% of the stuff from copies of files on other
machine.
I contacted WD more to see why there was no warning, and if
there was any way to recover data? They did ask for a picture of
top and bottom of disk, and gave them the lshw -c disk info on my
other 5 WD SSD disks. Been happy with speed, but if they are
going to fail like this not sure if WD brand has gone down hill?
Just wonder if there are any options or should do something to
avoid failures. Use to have Novell Servers with Duplex drives, but
fortunately never had any of the SCSI disks fail.
+------------------------------------------------------------+
Michael D. Setzer II - Computer Science Instructor (Retired)
mailto:mikes@guam.net
mailto:msetzerii@gmail.com
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+
9 months, 4 weeks
Not enough swap space to hibernate
by Patrick O'Callaghan
I'm experimenting with hibernating rather than suspending my system
overnight. However I get this:
$ sudo systemctl hibernate
Call to Hibernate failed: Not enough swap space for hibernation
But:
$ free -h
total used free shared buff/cache available
Mem: 15Gi 4.6Gi 3.4Gi 80Mi 7.5Gi 10Gi
Swap: 71Gi 0B 71Gi
$ swapon
NAME TYPE SIZE USED PRIO
/SWAP/swapfile file 64G 0B -2
/dev/zram0 partition 8G 0B 100
So it appears that I should have enough swap. What's going on?
poc
9 months, 4 weeks
Power save problems with screen shut off
by Alex
Hi,
I have a fedora37 Asus/Intel desktop system that I'd like to be able
to shut the monitors off after some period of inactivity. When I select the
"turn off the screen when inactive for" option and select some period of
time (5 minutes), it shuts off all three monitors, then a few seconds later
they all come back on. In another five minutes, it does it again. This is
the first time in a long time I've tried to configure the power save to
shut off the monitors.
I thought it may have had something to do with one of the applications
(maybe a browser running a video or something related, but it does it with
virtually no applications running except for perhaps a file manager and a
few terminals.
I've also had problems with suspend on this PC, where pressing the power
button doesn't always suspend the PC, but instead only shuts off the
monitors but doesn't actually suspend the computer. After pressing the
power button again, the monitors turn on again. Pressing the power button
again to suspend the computer typically works the second time (or maybe
third cycle of doing this). When the computer is eventually resumed, it
shows a kernel oops but there's otherwise no impact on operation. I've
reported this kernel issue already, but I don't think it's a significant
issue. Perhaps a compatibility issue with my motherboard, but it has been
happening for more than a year over multiple versions of fedora and
multiple kernels.
I'm not really sure what more information I can provide to help
troubleshoot this. Here are some hardware details.
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev ef)
Hardware name: System manufacturer System Product Name/PRIME Z370-A, BIOS
3004 07/12/2021
Here's a link to the lshw output for my computer:
https://pastebin.com/Y4kJjgSq
I suppose the easy answer is that it's a hardware problem, but there are no
other problems or impact by the kernel issue I mentioned above. No
stability issues through multiple versions of fedora.
Thanks,
Alex
9 months, 4 weeks
Help with perl in httpd
by Peter Boy
I have the thankless task of getting an application written with perl to run on one of our F38 servers.
The application was developed around 2005 or so, last changes around 2012, the developer is long gone from the university and the colleagues whose (long term) project use the application know nothing except how to use the finished system. It was running on an external DomainFactory web space, which has now been terminated at short notice and I only have the backup, no configuration information. The last time I used perl was more than a decade ago. Those were the times.
I installed a fresh VM as default and added https and mod_perl.
The problem is:
The html pages show up nicely, the perl scripts are downloaded automatically.
The Perl scripts are scattered around in DocumentRoot and various subdirs and sub-subdirs. So they are not all in one cgi directory.
I faintly remember having to enable directories for Perl. I guess that mod_perl basically already does that as usual in Fedora.
As far as I have found information, everything is based on a dedicated cgi directory, where all scripts are located and executed. But there must be another way, at least the application worked a week ago as it is.
When the application is running again, I will banish it to a container behind a proxy. So security issues are somewhat relaxed.
Any help greatly appreciated.
--
Peter Boy
https://fedoraproject.org/wiki/User:Pboy
PBoy(a)fedoraproject.org
Timezone: CET (UTC+1) / CEST /UTC+2)
Fedora Server Edition Working Group member
Fedora Docs team contributor and board member
Java developer and enthusiast
9 months, 4 weeks
youtube-dl error (F37 and F38)
by Ranjan Maitra
Hi,
I have been having this error using youtube-dl for a while. Here is what I get:
$ youtube-dl --verbose https://www.youtube.com/watch?v=SzH7_gGAM3Y
[debug] System config: ['--prefer-free-formats']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=SzH7_gGAM3Y']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.11.4 (CPython) - Linux-6.3.8-200.fc38.x86_64-x86_64-with-glibc2.37
[debug] exe versions: ffmpeg 6.0, ffprobe 6.0
[debug] Proxy map: {}
[youtube] SzH7_gGAM3Y: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 814, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 835, in __extract_info
ie_result = ie.extract(url)
^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/youtube_dl/extractor/common.py", line 1012, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Strangely, works fine with mpv, which I understand uses youtube-dl.
Any suggestions on the problem?
Many thanks and best wishes,
Ranjan
9 months, 4 weeks
Using the magis sysrq key
by Geoffrey Leach
I've been trying to develop strategies for dealing with a suddenly
unresponsive system. One thing that looks promising is the "magic sysrq
key". However a far as I can tell, that only works in the console,
which makes it unavailable in my situation, where Alt+F1 does not work
either.
Is there an alternative with equivalent functionality?
Thanks.
9 months, 4 weeks
rpmbd bebuild problem
by ToddAndMargo
Hi All,
Fedora 36
# rpm --rebuilddb
error: failed to replace old database with new database!
error: replace files in /usr/lib/sysimage/rpm with files from
/usr/lib/sysimage/rpmrebuilddb.3281 to recover
coping the files over did not help.
How do I fix?
Many thanks,
-T
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10 months
How do I change an smb password?
by ToddAndMargo
Hi All,
Fedora 36
samba-4.16.4-0.fc36.x86_64
# smbpasswd -U bozo
...
mod_smbfilepwd_entry: opening file /var/lib/samba/private /smbpasswd
mod_smbfilepwd_entry: entry exists for user bozo
And it does not change (user exists). I have to
vi delete bozo from /var/lib/samba/private /smbpasswd
and then add the user as a new account.
What am I doing wrong?
Many thanks,
-T
10 months