dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire
home dir !
by linux guy
dnf upgrade to Fedora 35 using --downloaddir just wiped out my entire home
dir... !
So... went to do an upgrade to Fedora 35 and found that I was lacking room
for the downloads. I have /home set up on a separate drive, so I did the
following:
dnf system-upgrade download --downloaddir=/home --releasever=35
The upgrade went well, except when I rebooted into F35 I couldn't log into
my home directory. So I rebooted and logged into a console session. When
I did, I got an error message stating that /home/<me> was missing. ls
/home showed me that all my home directories are missing.
I'm guessing that dnf downloaded all the packages for the upgrade to /home
and then did a rm -rf * on them, taking out my home directories in the
process. Can someone confirm this ?
Any chance I can recover the files ?
I am beyond angry that this happened. I've been using Fedora forever. I'm
sure I've used --downloaddir before without this happening.
2 years, 5 months
Re: OT: system failure -- looking for assist
by Geofffrey Leach
That did it. Many thanks
-----Original Message-----
From: Roger <rogerheflin(a)gmail.com>
To: Community <users(a)lists.fedoraproject.org>
Date: Saturday, 20 November 2021 5:07 AM PST
Subject: Re: OT: system failure -- looking for assist
Were you mounting the reformatted windows partitions in the f32 instance?
If you were, edit /etc/fstab and add ",nofail" to the column that has
fs options and/or says "defaults", a failure to mount (and no noauto
and/or nofail) will drop it to single user mode.
"mount -a" should error on if a mount is failing.
On Fri, Nov 19, 2021 at 9:02 PM Geofffrey Leach <geoff(a)hughes.net> wrote:
>
>
> Fedora 32 - up to date. Printer on wifi. Jobs start failing to print.
> Reboot enters emergency mode.
>
> journalctl does not appear to see a problem: kernel, system services
> and ram disk appear to have completed successfully. At first / was
> 100%, but that has been resolved.
>
> FWIW, I had windows installed. Prior to this reboot the dos partitions
> were reformatted.
>
> Any suggestions as to where I might look to unscramble the problem
> would be appreciated.
>
> _______________________________________________
2 years, 5 months
OT: system failure -- looking for assist
by Geofffrey Leach
Fedora 32 - up to date. Printer on wifi. Jobs start failing to print.
Reboot enters emergency mode.
journalctl does not appear to see a problem: kernel, system services
and ram disk appear to have completed successfully. At first / was
100%, but that has been resolved.
FWIW, I had windows installed. Prior to this reboot the dos partitions
were reformatted.
Any suggestions as to where I might look to unscramble the problem
would be appreciated.
2 years, 5 months
Remap Super and Control on GNOME 41
by Leander Hutton
I'm running Fedora Workstation 35 and I sometimes use vintage IBM keyboards that do not have a super key. In previous versions of GNOME there was an option in the keyboard layout and shortcuts to remap that key or indeed change the Super and Control behavior. I'm not seeing an option to remap the Activities button from Super in GNOME 41 anymore. Did it get removed? I used to remap it to Alt+F1.
Thanks!
Leander
--
---
Leander Hutton
leander(a)one-button.org
www.one-button.org
2 years, 5 months
Getting a prompt that login password doesn't open keyring?
by Michael D. Setzer II
After the last dnf update rebooted machine after kernel
upgrade.
Worked fine on 4 of 5 machines, but on notebook it pops
up with message about keyring was not unlocked with
login password.
Enter the password, but it says doesn't match?
Only option is to cancel, and everything seems fine, but
then it will pop up again?
Is there an option to reset the keyring password, or files
that I could compare between machines. All have the
same userid, and works on other 4 without this popup??
Also, will not let one click on anything else until one
cancels out of the prompt??
Thanks.
2 years, 5 months
Problem with script
by Paul Smith
Dear All,
I am trying to run a script with the following command:
echo "~/scripts/teste.sh" | at 5:59PM
but nothing happens.
My script is:
---------------------------------------
#!/bin/bash
gxmessage -center \
-buttons "Yes":1,"Of Course":2 \
-geometry 290x80 \
-title "Linux Journal Question" 'Does Shawn Powers ROCK?'
answer=$?
case "$answer" in
1)
gxmessage -center "You said 'YES'"
;;
*)
gxmessage -center "I agree, Of Course."
;;
esac
---------------------------------------
If I run
sh ~/scripts/teste.sh
the script works as expected.
Any ideas?
Thanks in advance,
Paul
2 years, 5 months
How to dnf clean all of a specific repo?
by Paul Smith
Dear All,
Suppose that one wants to dnf clean all of a specific repo. I have
tried the following command:
dnf clean all --enablerepo="_copr:copr.fedorainfracloud.org:mfabian:ibus-typing-booster"
--disablerepo="*"
but I get the following error:
# dnf clean all
--enablerepo="_copr:copr.fedorainfracloud.org:mfabian:ibus-typing-booster"
--disablerepo="*"
Error: Unknown repo:
'_copr:copr.fedorainfracloud.org:mfabian:ibus-typing-booster'
#
But
# ls /etc/yum.repos.d/ | grep ibus
_copr:copr.fedorainfracloud.org:mfabian:ibus-typing-booster.repo
#
What am I doing wrong?
Thanks in advance,
Paul
2 years, 5 months
Ejecting USB drive causing system reboot
by Richard Shaw
I have a 125GB NVMe drive in a USB 3.0 enclosure that I was trying to
repartition using the Gnome Disks app.
It failed miserably only giving me errors, so I loaded up gparted. That
worked fine other than the usual "I couldn't inform the kernel so you need
to reboot to see the new partition" error message.
Since it was USB I just unplugged and replugged it. Problem solved.
After I was happy with the result and closed gparted, I went to Nautilus
and ejected the drive. The eject button disappeared but the drive entry in
the navigator did not, and then my system suddenly rebooted.
It's worth mentioning that I'm testing the 5.15.2-200 kernel on Fedora 35,
but even prior to running the testing kernel, with USB thumb drives I
noticed when I ejected them, not only did the entry not disappear, but the
eject button remained as well.
Thanks,
Richard
2 years, 5 months
F35: Default audio output device
by Sam Varshavchik
One of my servers was rebooted two times, so far, since the update to F35.
There's no audio after each reboot. First time: after some scrambling
around, I found that I simply have to switch to "Built-In Analog Stereo" in
XFCE's (my desktop) audio mixer. Fine, so I wrote it off as a result of a
one-time update to Pipewire.
But this happened again, after the 2nd reboot.
I saw nothing in audio mixer which lets me permanently set my default audio
out.
I searched for "pipewire default audio device" and "pipewire save default
audio device" but didn't find anything useful. After browsing some random
links I found mentions of a "pactl" command, so after reading its man page:
$ pactl list short sinks
41 alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-
stereo PipeWire s16le 2ch 48000Hz SUSPENDED
42 alsa_output.pci-0000_00_1b.0.analog-stereo PipeWire
s32le 2ch 48000Hz SUSPENDED
After a reboot:
$ pactl get-default-sink
alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo
Fail.
$ pactl set-default-sink alsa_output.pci-0000_00_1b.0.analog-stereo
Now I have audio again.
After logging out and back in, the default audio is unchanged. But it gets
reset after every reboot. After scratching my head, I looked deeper and
discovered that pactl is pulseaudio, but my understanding is that F35
switched to something called "pipewire".
More digging uncovered the existence of pw-cli. However its man page is
sparse, and after starting it the "dump" and "list objects" command produced
a ton of incomprehensible output. "help" didn't seem to have much help to
say in terms of selecting and saving, permanently, the default output
device. Wouldn't you think that this should be pretty basic, elementary
stuff that any audio framework should put in front of the user, in a very
visible way? But I guess not.
So, anyone knows how to set the permanent default output device?
What component does this bug belong to? Pipewire? Pulseaudio?
2 years, 5 months
ssh key question - does jimc@fedora need to be updated to follow new
hostname ?
by jim.cromie@gmail.com
so I generated my local .ssh/id_rsa before I chose a hostname.
Now that Ive updated hostname, the id ends with jimc@fedora,
which is somehow misleading.
but does it matter otherwise?
as a test, I have added the key w.o alteration to github,
and it works, implying that the hostname is not part of the key itself,
or at least not verified as consistent with the key.
does that sound more or less right?
2 years, 5 months