Fonts in F27
by Gordon Messmer
After upgrading to F27, I noticed that fonts looked "off". I made a
screenshot of Thunderbird and gnome-terminal displaying roughly
identical contents on Fedora 25, 26, and 27. The older two releases are
identical, but F27's fonts (both fixed-width and variable-width) appear
to be the same width as they were previously, but taller. Characters
like monospace 'o' used to be round and are now oblong. Everything
seems slightly heavier as a result of the additional pixels. Does
anyone know if this change was intentional? Personally, I think it's
worse than before.
5 years, 10 months
F26 update: gnome-terminal doesn't launch; locale issues
by Mike Zingale
I just did an update from F25 to F26 via dnf. After it boots, I can no
longer start gnome terminal (nothing shows). If I ssh into the machine and
try it remotely, I see the following:
$ gnome-terminal
(process:3586): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Error constructing proxy for
org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling
StartServiceByName for org.gnome.Terminal: Timeout was reached
So it looks like there is a locale issue in my update. Does anyone know
how to fix this?
5 years, 10 months
how to correctly log without journald (and its blobs)?
by Franta Hanzlík
In previous Fedora distros was (IMHO) right way to log only to syslog,
without journald and its (for me) unwanted annoying binary logs, by using
configuration as:
*) Set systemd log target to syslog:
systemd.log_target=syslog (syslog-or-kmsg) ---- on kernel cmdline
systemd.default_standard_output=syslog --/
and
LogTarget=syslog ---- in systemd.conf
DefaultStandardOutput=syslog --/
*) configuring rsyslog to listen on /dev/log unix socket:
$SystemLogSocketName /dev/log ------ in rsyslog.conf
$ModLoad imuxsock ----/
$OmitLocalLogging off ---/
$AddUnixListenSocket /run/systemd/journal/syslog --/(legacy directives)
$AddUnixListenSocket /run/systemd/journal/socket -/
$AddUnixListenSocket /run/systemd/journal/stdout /
(not sure when all last three directives needed)
*) prevent to run journald:
systemctl mask systemd-journald.service
(and maybe mask systemd-journal-flush.service)
And it works fine.
But in actual Fedora 24 in systemd man page values syslog-or-kmsg and
syslog are missing in LogTarget option. As systemd/journald man pages
say hardly anything about exact mean of appropriate configuration for
this purpose, then please when someone more knowledgeable can advise:
- where to direct the systemd output? Maybe to kmsg an then read it in
rsyslog via imklog?
(rsyslog should have also imkmsg module, but is not in rsyslog-8.12.0-3.fc24)
- what about /run/log/journal/.../system.journal ?
On my test F24 system it have open rsyslogd, abrt-dump-journal-oops and
abrt-dump-journal-xorg (no need for these last two) processes. Uses it
also something else?
- what about /run/systemd/journal/{dev-log,socket,stdout} unix sockets?
Should rsyslogd listen on them?
- /dev/log seems be now symlink to /run/systemd/journal/dev-log socket
(as defined by systemd-journald-dev-log.socket) Should it be left
(because now something sends to /run/systemd/journal/dev-log), or can
be /run/systemd/journal/dev-log removed?
Thanks in advance for some clarification about this.
Franta Hanzlik
5 years, 11 months
how to (re-?)construct grub menu?
by William
Good afternoon,
I found out the rather hard way what caused those boot failure problems
that were the subject of a threat starting last month. After my weekly
"dnf upgrade" last Thursday, I checked my root e-mail, and found the
hard drive had 8 bad sectors, then 16 bad sectors. A smartctl short
test showed several parameters "pre-fail", and the others "old-age". I
obtained a new drive. My Cray Research friend gave me a USB stick with
"Clonezilla-Live-Version" on it. That duplicated the old hard drive
onto the new one, but apparently not 100%. After the old drive was
removed and the new drive installed, I could not boot. The system was
being put into a grub shell(?). (It displayed the "grub> " prompt.)
After beating out heads against the wall (or the phone), my Cray
research friend gave me another USB stick with "Boot-Repair-Disk" on it.
That rebuilt a grub file, but not correctly. But at least I got a
grub menu when booting, and I was able to edit the shell that the grub
menu entry would run. I had to take the "efi" off the commands
"linuxefi" and "initrdefi". That allows me to boot up Fedora. But the
menu is missing an entry for windows, and I still have to edit that
script every time.
I want the grub menu to offer the three most recent patches of Fedora,
the most recent Fedora rescue shell, and windows-7, in that order.
(This is a dual-boot system.) And I want the shells launched by the
menu entries to be correct. How do I get that accomplished - the
correct Fedora-25 way? If it matters, the motherboard uses UEFI bios.
Thank-you in advance.
Bill.
6 years, 1 month
F27 - fail2ban not adding iptables chains
by John Horne
Hello,
I recently upgraded my PC from F26 to F27, and noticed that fail2ban was not
adding the configured chains to iptables. This worked fine at F26.
There are no error messages in the log files (dmesg, /var/log/messages,
/var/log/fail2ban.log). I have tried disabling SELinux, then restarting
fail2ban but the chains still do not appear. I do not use firewalld so removed
the fail2ban-firewalld package. I set the fail2ban log level to debug, and that
showed the relevant iptables commands that would add the chains, but otherwise
gave no indication of any error. (I used the logged iptables commands to
manually add the chains, and all the commands worked fine.)
If I log (using logger) appropriate log messages - such as an SSH failed
authentication attempt - then that particular chain does appear in iptables. If
I unban the logged IP address, then the chain remains in iptables. If I restart
fail2ban, then the chain is no longer in iptables.
I'm now a bit stumped as to what might be the problem. Anyone any ideas?
Thanks,
John.
--
John Horne | Senior Operations Analyst | Technology and Information Services
University of Plymouth | Drake Circus | Plymouth | Devon | PL4 8AA | UK
________________________________
[http://www.plymouth.ac.uk/images/email_footer.gif]<http://www.plymouth.ac.uk/worldclass>
This email and any files with it are confidential and intended solely for the use of the recipient to whom it is addressed. If you are not the intended recipient then copying, distribution or other use of the information contained is strictly prohibited and you should not rely on it. If you have received this email in error please let the sender know immediately and delete it from your system(s). Internet emails are not necessarily secure. While we take every care, Plymouth University accepts no responsibility for viruses and it is your responsibility to scan emails and their attachments. Plymouth University does not accept responsibility for any changes made after it was sent. Nothing in this email or its attachments constitutes an order for goods or services unless accompanied by an official order form.
6 years, 2 months
Failure with Intel wireless on Dell XPS 17
by Go Canes
After a dnf update today, I was unable to bring up my normal wireless
connection on a Dell XPS 17 laptop. I was able to get a connection
via my cellphone, and did a "dnf downgrade iwl*-firmware
NetworkManager*", and after a reboot I am back online.
From info in /var/log/messages, it looks like the relevant firmware
packages are iwl7260-firmware-1:25.30.13.0-76.fc25.noarch which was
downgraded to iwl7260-firmware-1:25.30.13.0-68.fc25.noarch.
I'm happy to open a bugzilla if there isn't one on this issue, but it
seems to me I should have more info than what I posted above, and so
am looking for advice/guidance from the list.
Thanks in advance!
6 years, 2 months
Tweaking Fedora
by Beartooth
Within the next three weeks or so, barring any great surprises, I
hope to be putting Fedora 27 onto four PCs, a laptop, and a netbook. IIRC,
the netbook, which I haven't used recently, has F24 now; all the others
are running 26. I'll do all I can by upgrading, because every time I do a
fresh install, it costs me something more than a whole day per machine to
do the tweaking I need.
(I've been running Fedora since it was RedHat7; so my trifocal
fingers and arthritic eyeballs know their jobs IF I get all the tweaks
right -- a great boon and a bringer of cyber-survival, since I also keep
getting slower and more forgetful....)
A correspondent on another list says one used to be able to use
Mondo Rescue to grab all the settings on an existing install and clone
them onto a new one. That would save me vast tedium.
But the Mondo Rescue site lists only rpms for Fedora 23 and
before. And either I'm garbling my correspondent's directions, or they
don't work any more -- or both.
I tried a few variations on "dnf install Mondo-xyzq". I also
downloaded a few .rpms from Mondo's repository and ran "rpm -ivh" against
them. Both tries failed.
Is there a tutorial somewhere? Has Mondo Rescue forked into
something with another name? Have the Fedora Gurux and Alpha Plus
Technoids come up with a replacement while I wasn't looking??
--
Beartooth Staffwright, Not Quite Clueless Power User
Remember I know little (precious little!) of where up is.
--
/home/btth/sig/nqc
6 years, 3 months
Samba support fails in F27
by Temlakos
Everyone:
After several days of fruitless effort I have to bring this to the
community. Since I upgraded to F27, I have never been able to sustain
any viable network connection to other computers on my network that run
Windows 10. Which means if I ever have to transfer files between or
among them, I have to use USB flash drives or even USB-connectable
moveable HDD's.
Now I suppose I could buy a spare Western Digital Passport for this
application. But I would like to know what I'm missing.
For the record:
The computer I'm typing this on, that runs F27, presently has a wireless
connection to the network. I hope, within the next two months, to move
to an environment where I can connect this computer to the network using
a MoCA adapter, a switch in the room, and a coaxial connector in the
wall to connect this computer, a printer, and maybe a laptop if I bring
it into the same room. That never used to make any difference, but yes,
I'm going to try to "remedy" that "fault" (if anyone here chooses to
find fault with using a wireless connection).
The Samba workgroup is named Home. That's case-sensitive.
I have User authentication on the Samba server.
I created Samba user accounts for every Fedora user account on this
machine--all three of them.
With F26, I could always look up Home under Samba Shares and find it.
But now--nothing. And even specifying Home gets a not-found-here kind of
message.
The Services application shows that both smb and nmb are running.
So what's wrong, where might the fault lie, and how do I correct it?
Temlakos
6 years, 3 months
Recover a Guest win7 on Fedora KVM.
by Lucélio Gomes de Freitas
Hi,
Need help.
I lost the host Fedora25 when the Virtual machine(win7) was off.
I installed Fedora 25 on a new 1TB disk. Now I can mount the old root
and home on the new Fedora25. How to recover the win7 guest machine?
Ps:
$ uname -a
Linux localhost.localdomain 4.13.15-100.fc25.x86_64 #1 SMP Tue Nov 21
22:45:32 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Please help me. Thanks.
6 years, 3 months