Anaconda error, no explanation
by Geoffrey Leach
I'm installing Fedora 30 on a system that has an existing linux
installation. It is my intention to replace the existing linux.
I'm using custom partitioning.
When exiting the custom partitioning page (click Done) it says that
there's an error, but does not elaborate. A second click on done gives
me a summary page with three errors (ext4 partitions) and no
explanation.
On the installation summary page, "begin installation" is not enabled.
FWIW, the boot loader is UEFI
Thoughts? Advice?
4 years, 1 month
Alpine curiosity
by AV
I have been a longtime user of mutt but switched to
evolution and/of geary to have less configuration
hassle.
Yesterday I had an hour to spare so I decided to
have a look at the Alpine email client.
I installed and did a minimal config only adding
imap, smtp and sender. No password.
Out of curiosity I tried to send myself an email
(to 'volovics(a)ziggo.nl') expecting Alpine to ask
for my password. To my surprise it looked like
the mail got sent without password. Indeed a few
minutes later I received it in evolution.
Evolution is my default email client on this laptop.
Could Alpine have used the password encoded by
evolution? I can't find any comprehensive
documentation on the working of alpine and
don't feel like digging into alpine internals
because I am not going to use it.
Maybe somebody with alpine knowledge can explain.
AV
4 years, 1 month
dnf question
by David
There is a poster on Reddit criticizing dnf as being too slow.
I do not use Reddit.
But here is my question.
The terminal emulator is running in wayland. Right ?
So is it fair to compare that to a distro or DE not using wayland ?
Obviously, I have no clue what I am talking about.
Also, if dnf speed is important to you, should you not reduce unnecessary
processes or do it in the tty ?
D.L.
4 years, 1 month
netfsname: command not found
by Hiisi
Hello, list.
After compiling some ancient Fortran project I'm unable to run the
resulting binary. It halts with the following message:
netfsname: command not found
Searching with dnf I wasn't able to get any matches. I understand it
must be some old commands, but maybe grey-headed folks here could
point me into the right direction?
--
Hiisi.
Registered Linux User #487982. Be counted at: https://linuxcounter.net/
--
Spandex is a privilege, not a right.
4 years, 1 month
SELinux is blocking hibernate
by Sreyan Chakravarty
I have just configured a 8GB swap file on my Fedora 31 laptop. But it seems
that SELinux is blocking access to the swap file.
SELinux is preventing systemd-sleep from read access on the file
fedora.swap.
***** Plugin catchall (100. confidence) suggests
**************************
If you believe that systemd-sleep should be allowed read access on the
fedora.swap file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c 'systemd-sleep' --raw | audit2allow -M my-systemdsleep
# semodule -X 300 -i my-systemdsleep.pp
Additional Information:
Source Context system_u:system_r:init_t:s0
Target Context unconfined_u:object_r:swapfile_t:s0
Target Objects fedora.swap [ file ]
Source systemd-sleep
Source Path systemd-sleep
Port <Unknown>
Host localhost.HPNotebook
Source RPM Packages
Target RPM Packages
SELinux Policy RPM selinux-policy-3.14.4-50.fc31.noarch
Local Policy RPM selinux-policy-targeted-3.14.4-50.fc31.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name localhost.HPNotebook
Platform Linux localhost.HPNotebook
5.5.15-200.fc31.x86_64
#1 SMP Thu Apr 2 19:16:17 UTC 2020 x86_64
x86_64
Alert Count 1
First Seen 2020-04-13 21:12:22 IST
Last Seen 2020-04-13 21:12:22 IST
Local ID 39955636-b570-49ae-9286-ae92b49dc1c7
Raw Audit Messages
type=AVC msg=audit(1586792542.56:418): avc: denied { read } for pid=5603
comm="systemd-sleep" name="fedora.swap" dev="dm-1" ino=13
scontext=system_u:system_r:init_t:s0
tcontext=unconfined_u:object_r:swapfile_t:s0 tclass=file permissive=0
Hash: systemd-sleep,init_t,swapfile_t,file,read
--
The above is the message I got from the SELinux trouble shooter.
This is the screenshot of the problem: https://imgur.com/a/1x55clI
What can I do ?
I don't know a whole lot about SELinux, do I have to add a label or
something?
Please help.
Thanks.
Regards,
Sreyan Chakravarty
4 years, 1 month
Old GCC versions
by Hiisi
Hello, list!
Back in the day, Fedora had compat-gcc in repos. I can't find it any
longer. How do I install older versions of GCCC now? Say, I need GCC
4.6. What's the best way of getting it on Fedora 31?
--
Hiisi.
Registered Linux User #487982. Be counted at: https://linuxcounter.net/
--
Spandex is a privilege, not a right.
4 years, 1 month
device names
by Jack Craig
hi all,
on F30, i would like to swap enp4s0 to eth0.
outside the network ifcfg* files, any other place(file) to update?
i scanned /etc/ find no additional references.
also any wisdom that sez this idea is folly??
tia, jackc...
4 years, 1 month
OT: simplest way to display on-screen blinking colored indicator
by Ranjan Maitra
Dear friends,
Sorry, this is OT but I thought that some of you might have suggestions.
I want to have an on-screen indicator in the form of a icon or something that is blinking red if vpn is disconnected and steady green if vpn is up. Could also be extended to other features but right now let us go with this.
The reason I need this is because the Cisco icon (that I need for VPN because of required third-party 2FA) is very tiny and almost impossible to see. It is time-consuming and distracting to constantly have to hover over the icon to see whether it says Connected and Disconnected.
So, I am thinking of a small script that will check every second (say) if VPN is on or off and then display accordingly. The script part, I think I can write on my own. It is what th script will do/call that i am having trouble with. So any suggestions as to what I could do.
Now, I am aware that I can perhaps get something like conky to be set up for this, but I was hoping to have something far simpler. But I do not quite know how to do the simple display part.
My apologies again that this has nothing to do with Fedora, but I come as a proud and happy user of its 31 editions.
Many thanks and best wishes,
Ranjan
4 years, 1 month
Unable to hibernate Fedora 31 using swap file
by Sreyan Chakravarty
I have Fedora 31 installed in VirtualBox, and I am trying to test out
hibernation with a swap file, but no matter what I do I am unable to get
Hibernation to work.
I am using a 6GB swap file with the RAM allocated to the VM is 5GB, so the
file should be sufficient for a successful hibernate.
This is my /etc/fstab:
/dev/mapper/vgfedora-fedora / ext4 defaults
1 1
UUID=070a13c2-7c99-4703-bb7a-e408245316c4 /boot ext4
defaults 1 2
/fedora.swap none swap 0 0
This is my grub.cfg:
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.lvm.lv=vgfedora/fedora rhgb quiet
resume=/dev/vgfedora/fedora resume_offset=587776"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true
I have followed the instructions from the Arch wiki:
https://wiki.archlinux.org/index.php/Power_management/Suspend_and_hiberna...
I am hibernating using the following command:
sudo /usr/lib/systemd/systemd-sleep hibernate
Weirdly, there are no errors in the log that I get with journalctl -b :
https://pastebin.com/9cfnRx8V
I have not added any hooks to the initramfs because if you see the tutorial
it says that if you are using systemd then you don't need any additional
hooks in the initramfs. Thus, I did not rebuild my initramfs.
Do I have to do that ? Fedora uses systemd by default right ?
I don't understand what I am doing wrong, I am only using LVM but no
encryption.
This is my lsblk -f output:
NAME FSTYPE LABEL UUID
FSAVAIL FSUSE% MOUNTPOINT
sda
├─sda1 ext4 070a13c2-7c99-4703-bb7a-e408245316c4
739.3M 17% /boot
└─sda2 LVM2_member
m1OMiT-aeUG-9Fb1-pNSw-LmUn-rKJK-cHYASh
└─vgfedora-fedora ext4 8cec892a-8da9-4ee2-95fe-bc2e0c4cd3aa
24G 34% /
sr0
Let me know if there are any other logs I can include, I am unable to
understand what is the root cause of the problem, there are no errors any
where.
Even SELinux is not complaining.
Thanks.
--
Regards,
Sreyan Chakravarty
4 years, 1 month