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, 11 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
6 years
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, 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, 3 months
Running local SSH as background process - possible??
by bruce
Ok guys,
I know this isn't strictly "Fed" related, but the group might have suggestions.
My use case, the process has a number of remote servers. I'd like to
be able to run a bunch of commands on the remote servers as fast as
posible. The initial thought was to loop through the different
IPAddresses, and SSH into each server, to run the commands.
However, this process was still "sequential" in that each SSH session
needs to complete, prior to running the next server/ssh command.
So, my question/need -- is to figure out how to run a ssh as a
background on the local server. This approach would/should allow the
process to quickly fire off commands to the remote ipaddresses/servers
in a much faster/parallel manner.
sortof:
foreach iplist as ipaddress
ssh user1@ipaddress command & (assuming that the '&' runs the local
ssh in the background -- it doesn't!)
Running "stuff" on the remote can occur in a "Screen" session, which
would allow the ssh process to fire off the remote cmd, but it still
doesn't run the local ssh as a "background" process..
Rick has mentioned/discussed the "Screen" function in past threads.
Thoughts/comments....
6 years, 6 months
update fails
by Patrick Dupre
Hello,
I get the following error when I try to update my fedora.
Error: Transaction check error:
file /usr/sbin/upsmon from install of nut-client-2.7.4-14.fc26.x86_64 conflicts with file from package nut-2.7.4-7.fc26.x86_64
file /usr/sbin/upssched from install of nut-client-2.7.4-14.fc26.x86_64 conflicts with file from package nut-2.7.4-7.fc26.x86_64
Error Summary
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
6 years, 6 months
I give up using Fedora ...
by Walter H.
F25 was running fine; after upgrade to F26 my VMware was broken,
now I have a VMware running with F26, which brings this:
"This host does not support "Intel EPT" hardware assisted MMU
virtualization.
This host does not support virtualizing real mode.
The Intel "VMX Unrestricted Guest" feature is necessary to run this
virtual machine on an Intel processor.
Module 'CPUIDEarly' power on failed.
Failed to start the virtual machine."
and the same machine runs the latest Win10 without problems(!)
this machine is an old HP wkst xw4600 with a Core2 Quad Q9300 CPU and 4
GByte RAM
Greetings,
Walter
6 years, 6 months
Radeon(Kaveri) missing firmware and lost HW video acceleration?
by lejeczek
hi fellas
I think I've lost HW video decoding acceleration on A10
PRO-7800B R7 with recent kernel/mesa.
My kodi was nicely using vdpau until recently, I cannot say
when exactly it happened. Now only SW decoding and high CPU
usage.
I think I have all needed packages installed but vaapi also
seems to be gone, when I do:
[entertainer@swir ~]$ vainfo
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/r600_drv_video.so
libva info: Found init function __vaDriverInit_0_40
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.40 (libva )
vainfo: Driver version: mesa gallium vaapi
vainfo: Supported profile and entrypoints
VAProfileNone : VAEntrypointVideoProc
# end of output
and there should be more, right?
In dmesg I see:
....
[ 2.125588] [drm] initializing kernel modesetting (KAVERI
0x1002:0x130F 0x1849:0x130F 0x00).
[ 2.125619] [drm] doorbell mmio base: 0xD0000000
[ 2.125620] [drm] doorbell mmio size: 8388608
[ 2.125693] ATOM BIOS: 113
[ 2.125758] radeon 0000:00:01.0: VRAM: 2048M
0x0000000000000000 - 0x000000007FFFFFFF (2048M used)
[ 2.125760] radeon 0000:00:01.0: GTT: 2048M
0x0000000080000000 - 0x00000000FFFFFFFF
[ 2.125763] [drm] Detected VRAM RAM=2048M, BAR=256M
[ 2.125764] [drm] RAM width 128bits DDR
[ 2.125885] [TTM] Zone kernel: Available graphics
memory: 7184660 kiB
[ 2.125887] [TTM] Zone dma32: Available graphics
memory: 2097152 kiB
[ 2.125887] [TTM] Initializing pool allocator
[ 2.125891] [TTM] Initializing DMA pool allocator
[ 2.125923] [drm] radeon: 2048M of VRAM memory ready
[ 2.125923] [drm] radeon: 2048M of GTT memory ready.
[ 2.125940] [drm] Loading kaveri Microcode
[ 2.126071] [drm] Internal thermal controller without fan
control
[ 2.128154] [drm] radeon: dpm initialized
[ 2.128175] radeon 0000:00:01.0: Direct firmware load for
radeon/bonaire_uvd.bin failed with error -2
[ 2.128177] radeon 0000:00:01.0: radeon_uvd: Can't load
firmware "radeon/bonaire_uvd.bin"
[ 2.128840] radeon 0000:00:01.0: Direct firmware load for
radeon/BONAIRE_uvd.bin failed with error -2
[ 2.128842] radeon 0000:00:01.0: radeon_uvd: Can't load
firmware "radeon/BONAIRE_uvd.bin"
[ 2.129030] radeon 0000:00:01.0: failed UVD (-2) init.
Could you tell your AMD APU(s) is still ok and working in
respect to UVD(video acceleration) in recentkernels/mesas ?
many thanks, L.
.
6 years, 6 months
Error building mkvtoolnix-9.6.0-1.fc26.src.rpm
by JD
$ rpmbuild -v -bb mkvtoolnix.spec 2>&1 | tee mkvtoolnix.build.out
.
.
.
WARNING: unable to read lib/avilib-0.6.10/avilib.c: invalid byte
sequence in US-ASCII
WARNING: unable to read lib/avilib-0.6.10/avimisc.c: invalid byte
sequence in US-ASCII
WARNING: unable to read src/common/checksums/adler32.cpp: invalid byte
sequence in US-ASCII
WARNING: unable to read src/common/checksums/base.cpp: invalid byte
sequence in US-ASCII
WARNING: unable to read src/common/checksums/crc.cpp: invalid byte
sequence in US-ASCII
WARNING: unable to read src/common/checksums/md5.cpp: invalid byte
sequence in US-ASCII
WARNING: unable to read src/common/spu.cpp: invalid byte sequence in
US-ASCII
.
.
.
At end of build, it belched
g++ -Wall -Wno-comment -Wfatal-errors -Wlogical-op
-D_FILE_OFFSET_BITS=64 -DMTX_LOCALE_DIR=\"/usr/share/locale\"
-DMTX_PKG_DATA_DIR=\"/usr/share/mkvtoolnix\"
-DMTX_DOC_DIR=\"/usr/share/doc/mkvtoolnix\" -fstack-protector -fPIC
-std=gnu++11 -Wnon-virtual-dtor -Woverloaded-virtual -Wextra
-Wno-missing-field-initializers -Wno-maybe-uninitialized
-I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -I/usr/include/qt5/QtGui
-I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5
-I/usr/include/qt5/QtCore -I/usr/include/qt5 -I/usr/include -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic
-include src/common/common_pch.h -I. -Ilib -Ilib/avilib-0.6.10 -Isrc -c
-MMD -MF ./rake.d/dependency.d/tmp/src_common_json_o.d -o
src/common/json.o -x c++ src/common/json.cpp
In file included from src/common/json.cpp:19:0:
src/common/json.h:23:76: error: 'nlohmann::json<std::map, std::vector,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
bool, long int, double, std::allocator>::parser_callback_t' has not been
declared
nlohmann::json parse(nlohmann::json::string_t const &data,
nlohmann::json::parser_callback_t callback = nullptr);
^
compilation terminated due to -Wfatal-errors.
6 years, 6 months