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
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
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
Openvpn start fails on reboot
by Stephen Davies
If I reboot my F24 system, openvpn server fails to properly start but a
subsequent manual systemctl start openvpn@server does succeed.
The reboot log shows:
Mar 5 11:52:51 mustang audit: SERVICE_START pid=1 uid=0 auid=4294967295
ses=4294967295 msg='unit=openvpn@server comm="systemd"
exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 5 11:52:51 mustang systemd: Started OpenVPN Robust And Highly Flexible
Tunneling Application On server.
Mar 5 11:52:51 mustang audit: SERVICE_START pid=1 uid=0 auid=4294967295
ses=4294967295 msg='unit=openvpn@server comm="systemd"
exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 5 11:52:53 mustang systemd: openvpn(a)server.service: Main process exited,
code=exited, status=1/FAILURE
Mar 5 11:52:53 mustang systemd: openvpn(a)server.service: Unit entered failed
state.
Mar 5 11:52:53 mustang audit: SERVICE_STOP pid=1 uid=0 auid=4294967295
ses=4294967295 msg='unit=openvpn@server comm="systemd"
exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Mar 5 11:52:53 mustang systemd: openvpn(a)server.service: Failed with result
'exit-code'.
It looks as if the automatic start may be happening too early in the boot process.
6 years, 6 months
Lost wired connection
by Lucélio Gomes de Freitas
Hi,
Somebody helps?
Old "Fedora 20-x86_64" installed and working. Due to a problem,
I Changed my motherboard and lost network(Internet) connection.
How to recover connection before install Fedora-Kde-live-25-1-3?
Thanks.
6 years, 9 months
Problem with a52dec package
by Makarov Fedor
Good day, friends.
Have some trouble with a52dec package. During dnf upgrade a52dec it need liba52, and finaly we get conflict
file /usr/lib64/liba52.so.0.0.0 from installing package liba52-0.7.4-25.fc24.x86_64 conflict with file from package a52dec-libs-0.7.4-20.fc24.x86_64
Please fix this.
________________________________
Конфиденциально:
Информация, содержащаяся в этом документе и приложениях к нему, может быть использована только получателем. Отправитель не несет юридической ответственности за содержание данного сообщения. Если это письмо попало к Вам случайно, пожалуйста, срочно удалите данный документ. Не посвящайте в содержание этого документа кого либо еще и не делайте копий. Совершение данных действий является противозаконным.
6 years, 9 months
Is there a way to stop ipv6 leakage without turning off ipv6?
by William Oliver
I'm using Fedora 25 on an HP laptop with KDE. I commonly use a VPN
service, but it leaks ipv6 addresses. This seems to be a common
problem with VPN and ipv6, from what I've read on the internet.
So, I've turned off ipv6 for my wireless interface, and that seems to
solve the problem. However, I just can't help but think that this will
eventually cause a problem somewhere.
Is there a better solution for ipv6 leakage with a vpn on Fedora 25
other than just turning it off?
Thanks,
billo
6 years, 9 months
No X after booting F25
by Stephen Davies
Since upgrading to F25, I no longer get a graphical login page.
I have run systemctl set-default graphical.target and runlevel5.target and
default.target both point to graphical.target but I still get the
non-graphical login.
6 years, 9 months
gdm won't start gnome (wayland) session after running once a
gnome-classic session
by Joachim Backes
Hi all,
normally, I'm using a gnome (wayland) desktop sessions. If I started
(only once) the gnome classic session, then logging out and
thenre-logging in again with the usage of gnome (wayland), I still get a
gnome classic session. Only after restarting my box, I can again run
gnome (wayland) sessions.
My login manager is gdm.
Anybody sees this too?
Kind regards
Joachim Backes
--
Fedora release 25 (Twenty Five)
Kernel-4.10.10-200.fc25.x86_64
Joachim Backes <joachim.backes(a)rhrk.uni-kl.de>
https://www-user.rhrk.uni-kl.de/~backes/
6 years, 10 months
Video editing disaster
by Wade Hampton
I am trying out multiple video editors on Fedora, with very poor results
and a ton of crashes.
Anyone have recommendations on how to stablize one of these or can you
recommend a
video editor that just works (like kdenlive used to when I used it last a
year ago)?
I am having the same results on two Fedora 25, 64-bit systems, fully
updated. The packages
are from rpmfusion and on one of the two systems from unitedrpms. My main
system is an
older 6-core AMD with 8G of RAM so it should handle it.
The files I am testing with are:
JPG images from a DSLR
Quicktime from my DSLR (MVI_xxx.MOV),
Movie from my Android phone xxxxxxxxx.m2ts
Movie from a DVD xxx.mpg
Movie from a digital camcorder (Sony AVCHD): xxxx.MTS
KDENLIVE:
My goto editor was Kdenlive, but it won't open files. I keep getting "clip
is invalid".
The terminal outputs:
mlt_repository_init: failed to dlopen /usr/lib64/mlt/libmltavformat.so
(/lib64/libavdevice.so.57: symbol av_buffersink_get_sample_aspect_ratio,
version LIBAVFILTER_6 not defined in file libavfilter.so.6 with link time
reference)
I think there is a lib miss-match.
PITIVI:
Pitivi is nice, but I can't keep it running. Multiple core dumps.
OPENSHOT:
I really love OpenShot. I tried the one from rpmfusion and it crashed all
the time,
for example when trying transitions. I also tried the latest version via
AppImage:
OpenShot-v2.3.3-x86_64.AppImage
This seemed much more stable, but I could still crash it with transitions,
adding
an MP3 file for audio, etc.
Anyone have a good, stable video editor or have suggestions on how to run
one of these
in a stable platform?
Note, I am filing bug reports on many of these crashes....
Thanks,
--
Wade Hampton
6 years, 10 months