Logwatch cron job
by Robert Moskowitz
This is a little more challenging when you don't have a mailer. I see
it ran:
May 8 03:01:02 lx140e anacron[66134]: Anacron started on 2020-05-08
May 8 03:01:02 lx140e anacron[66134]: Will run job `cron.daily' in 26 min.
May 8 03:01:02 lx140e anacron[66134]: Jobs will be executed sequentially
May 8 03:01:02 lx140e run-parts[66123]: (/etc/cron.hourly) finished
0anacron
May 8 03:27:02 lx140e anacron[66134]: Job `cron.daily' started
May 8 03:27:02 lx140e run-parts[66530]: (/etc/cron.daily) starting
0logwatch
May 8 03:27:17 lx140e run-parts[66530]: (/etc/cron.daily) finished
0logwatch
May 8 03:27:17 lx140e anacron[66134]: Job `cron.daily' terminated
(produced output)
May 8 03:27:17 lx140e anacron[66134]: Normal exit (1 job run)
but no /var/spool/mail/root
So a little digging and I find in
/usr/share/logwatch/default.conf/logwatch.conf
# By default we assume that all Unix systems have sendmail or a
sendmail-like MTA.
# The mailer code prints a header with To: From: and Subject:.
# At this point you can change the mailer to anything that can handle
this output
# stream.
# TODO test variables in the mailer string to see if the To/From/Subject
can be set
# From here with out breaking anything. This would allow mail/mailx/nail
etc..... -mgt
mailer = "/usr/sbin/sendmail -t"
So it looks like I need to modify /etc/logwatch/conf/logwatch.conf with
mailer = "/usr/local/mycron"
And see what happens next.
3 years, 12 months
Pigdin account config files
by Robert Moskowitz
Where does Pigdin keep the accounts for a user?
I need Pigdin for IETF jabber rooms. I have it all set up on my old F30
system, and now need to migrate that information over to my new F32 system.
I cannot find anything as simple as ~/.pigdin
So perhaps someone here knows where to look...
thanks
3 years, 12 months
Acronyms - Just for fun
by David
I have not yet seen a wiki or place where it is super easy to find acronyms
that are used in writing by some Fedora developers in random articles:
Here are some examples, ( some of which may be obscure or just informally
used to simplify an article or antiquated or obsolete, etc. ):
AMA = Ask Me Anything
CFF = Contributor-Friendly Font ?? ( Relating to Opentype font, OTF )
CommOps = Fedora Community Operations
Copr = Cool Other Package Repo
GA = General Availability
FAD = Fedora Activity Days
FAmEMEA = Fedora Ambassadors of Europe, Middle East, and Africa
FAmSCo = Fedora Ambassadors Steering Committee
FAS = Fedora Account System
FC = Font Config or fontconfig
FCAIC = Fedora Community Action and Impact Coordinator
FCL = Fedora Community Outreach and Impact Lead
FEMA = Fedora Election Management and Administration
FE-ML = Fedora Extras Mailing List ??
FESCo = Fedora Steering Committee
FOSS = Free & Open Source Software
FPC= Fedora Packaging Committee
FPgM =Fedora Program Manager
FPL = Fedora Project Leader
FUDCon = Fedora Users and Developer's Conference
LGC = Latin, Greek & Cyrillic
( relating to fonts )
OSAS = Opens Source and Standards
PR = Provision Request ???
( relating to packaging )
SHA-1 = Secure Hash Algorithm 1
SIG = Special Interest Group
SCM = Source Code Management
VCS = ?? ( relating to new proposed fonts )
There are probably many more, not counting all the normal Linux and
computing software acronyms, and abbreviations to simplify writing or
coding or naming of packages.
Brought to you by the boredom of the quarantine
David Locklear
3 years, 12 months
F32 - terrible background
by Robert Moskowitz
Ugh.
And I had the nerve to complain about the F30 background.
This overly blue and bright background has to go!!!
:(
3 years, 12 months
Fedora 32 user rejected
by Geoffrey Leach
New installation of Fedora 32
Root login works
useradd foo
passwd foo
work as expected; in particular the password is verified
"switch user" from the logout dropdown
the new user is displayed, password accepted
screen blacks and we're back to the login
If I use 'no password' for foo, I don't get a password prompt on the
login page, but the behavior is the same.
Thoughts?
3 years, 12 months
Why is SELinux blocking virt-manager from reading my qcow2 file ?
by Sreyan Chakravarty
I have a file for a Windows 10 VM in my home folder under a folder
called virt-manager:
/home/sreyan/virt-manager/Windows 10-disk001.qcow2
When I try to switch on the VM from virt-manager it fails with:
SELinux is preventing worker from read access on the file
/home/sreyan/virt-manager/Windows 10-disk001.qcow2.
***** Plugin qemu_file_image (91.4 confidence) suggests *******************
If Windows 10-disk001.qcow2 is a virtualization target
Then you need to change the label on Windows 10-disk001.qcow2'
Do
# semanage fcontext -a -t virt_image_t
'/home/sreyan/virt-manager/Windows.10-disk001.qcow2'
# restorecon -v '/home/sreyan/virt-manager/Windows.10-disk001.qcow2'
***** Plugin catchall (9.59 confidence) suggests **************************
If you believe that worker should be allowed read access on the Windows
10-disk001.qcow2 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 'worker' --raw | audit2allow -M my-worker
# semodule -X 300 -i my-worker.pp
Additional Information:
Source Context unconfined_u:unconfined_r:svirt_t:s0:c239,c999
Target Context system_u:object_r:svirt_image_t:s0:c276,c718
Target Objects /home/sreyan/virt-manager/Windows
10-disk001.qcow2
[ file ]
Source worker
Source Path worker
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 3
First Seen 2020-05-07 17:34:50 IST
Last Seen 2020-05-07 17:34:50 IST
Local ID 74764396-5a32-4477-9eea-5e643d89c270
Raw Audit Messages
type=AVC msg=audit(1588853090.475:1605): avc: denied { read } for
pid=29914 comm="worker"
path=2F686F6D652F73726579616E2F766972742D6D616E616765722F57696E646F77732031302D6469736B3030312E71636F7732
dev="dm-2" ino=6684679
scontext=unconfined_u:unconfined_r:svirt_t:s0:c239,c999
tcontext=system_u:object_r:svirt_image_t:s0:c276,c718 tclass=file
permissive=0
Hash: worker,svirt_t,svirt_image_t,file,read
Should I just BLINDLY run the commands specified ? I don't want to be
making exceptions that I don't understand fully.
Now what is strange is that it was working fine 2 days back. During that
time I have not done any changes. No updates or whatever.
So why is this happening all of the sudden?
And why the hell is SELinux blocking a file in my /home ? It should be
totally safe, why would anyone think this is suspicious ?
--
Regards,
Sreyan
3 years, 12 months
no GUI (so runlevel3) and HDMI audio - how ?
by lejeczek
Hi guys,
I'd like to be able to have audio via HDMI on a box which
runs no GUI (no Xwin, no Wayland).
Would that be possible? Would you recommend a path and a
solution?
many thanks, L.
3 years, 12 months
GNOME audio routing problem with Bluetooth headset
by Gordon Messmer
I have a new problem with GNOME on Fedora 32. Since upgrading, I'm
unable to make my Bose QC 35 II headset the default audio device.
I'm not having trouble pairing, nor any general Bluetooth audio problem.
I can play audio through VLC, for example, because that application
lets me select my audio sink. If I select the headset as an audio
output in VLC, then audio is played back on the headset as expected.
However, the GNOME "Sound" preferences don't work as expected. I see
the headset there when it is on and connected. If I select the headset
as the Output Device, and then scroll down to select an Alert Sound at
the bottom of that preferences panel, those alerts will play back on the
headset. Nothing else that I've tested does. For example, the audio
tests from the Output Device "Test" button will play back on whichever
audio device was selected before I switched to the headset.
The problem seems to be specific to the headset. If I have an external
monitor connected with headphones plugged in, I'll have Speakers -
Built-in Audio as on option, and HDMI as another. Switching between
those works as expected. However, I can't switch from either of them to
the headset.
If I use "journalctl -f", I can see the following log messages when I
successfully switch between other audio output devices. When I switch
to the headset, there are no log messages.
May 06 18:46:02 vagabond.private.dragonsdawn.net rtkit-daemon[1117]:
Supervising 1 threads of 1 processes of 1 users.
May 06 18:46:02 vagabond.private.dragonsdawn.net rtkit-daemon[1117]:
Successfully made thread 17248 of process 1446 (/usr/bin/pulseaudio)
owned by '556600005' RT at priority 5.
May 06 18:46:02 vagabond.private.dragonsdawn.net rtkit-daemon[1117]:
Supervising 2 threads of 1 processes of 1 users.
3 years, 12 months
re. Restoring a USB back-up using Back-ups (Duplicity)
by Andrew Wood
Thanks for this reply ... I should have said that the USB drive I
mentioned (/run/media/awood/7160-75C1 ) was previously a bootable USB
and partitioned as such. This leads me to wonder if I can simply rename
the volume (is that the correct term?) to the previous name and then use
Duplicity? But what's the parameters for a restore on this USB with this
name?
Thanks for your help and assistance.
Andrew
Date: Wed, 6 May 2020 12:15:32 -0700 From: Samuel Sieb <samuel(a)sieb.net>
Subject: Re: Restoring a USB back-up using Back-ups (Duplicity) on
Fedora To: users(a)lists.fedoraproject.org Message-ID:
<a09052d2-9abc-a40d-82a5-8dc4670c2b31(a)sieb.net> Content-Type:
text/plain; charset=utf-8; format=flowed On 5/6/20 11:38 AM, Andrew Wood
wrote:
> I had a USB flash drive which I backed using Back-ups (Duplicity) on
> Fedora 31. The USB volume was called /run/media/awood/7160-75C1
>
> I then used the same USB flash drive to create a Fedora 32 Live Image on
> it. After this, the USB volume was called
> /run/media/awood/Fedora-WS-Live-32-1-6
>
> How do I restore the contents of the USB flash drive so that it has the
> same contents as the /run/media/awood/7160-75C1 ??
You need to reformat it with the original filesystem id. Open a
terminal and use "fdisk -l" to make sure you have the right device. I'm
going to assume the drive is /dev/sdb and only has one partition. Make
sure it's unmounted by running:
umount /run/media/awood/Fedora-WS-Live-32-1-6
Don't click the eject button because that will also disconnect it from
USB. Then run "sudo mkfs.fat -i 716075C1 /dev/sdb1". Replug the device
and it should come up as before.
------------------------------
3 years, 12 months