Problems with disk? apps failed, then reboot failed. Needed fsck
by Robert Moskowitz
I was working away this morning and got a failure with LIbreOffice. Was
not actually using it, but then the dialog popped up without the content
being filled out, Just whatever was on the screen when it opened...
I could not get OpenOffice to restart. It did create a abrt and tried
to upload a bug report, but that failed.
I tried to open my Fedora mail folder to see if anything was being
discussed, but Thuderbird would not show content of the folder.
Oh, oh time. Time to reboot. But first do a 'dnf update' and got a new
LibreOffice.
Reboot failed. Got dropped in emergency mode. Turned out my /home
partition was not mounted.
I have not had to deal with this in YEARS and I am away from home so no
old system to fall back on. In fact no other computers here. Internet
via my cellphone.
I remembered the disk recovery program started with 'f', fortunately not
too many such and found fsck which I ran on /dev/sda5
Lots of errors I let it fix and as you many guess I am now up and running.
LibreOffice recovered the docs I had open.
Thunderbird is opening folders.
I guess other things are working,
but 2 items.
LibreOffice uploaded a dump, but I did not create a bug report. Should I
(I did get a new LibreOffice in all this). If so, how do I find what
was uploaded to link to a bug report?
How do I figure out what fsck fixed and what may now be a broken
important file? It could just be tmp junk for all I know.
Anyway big scare here with only a non-working computer and no one to
talk to for help, as I have not been in this sort of recovery mode for
years. I was not looking forward to getting home tonight and THEN start
recoverying.
Backup first order of business tomorrow morning.
2 years, 3 months
F35 problems with Xfce Application Finder
by Robert Moskowitz
F35 with Xfce:
<Alt-F2> brings up the Application finder.
I type in, say, VNC, to get to TigerVNC.
I see /usr/bin/vncviewer as the option?
I press enter, and I get a instance of Thunar open to /usr/bin.
Other programs do the same thing, some work (like Firefox).
How to I correct this?
thanks
2 years, 3 months
The definitive guide to replacing a disk in raid1?
by cen
I recently had to replace a bad disk in raid1 array and finding proper
docs was not a good experience.
There is apparently also a trap with not having a bootloader installed
on the replacement disk which can make the system unbootable in cause of
array degradation. Some of the guides don't mention this, I just
happened to stumble upon this information on serverfault.
I came up with these steps, can someone verify this is the correct way
with no hidden troubles lurking somewhere?
/dev/sde - remaining healthy disk
/dev/sdf - bad disk
/dev/sdd - new disk
# remove bad disk
mdadm --fail /dev/md127 /dev/sdf1
mdadm --remove /dev/md127 /dev/sdf1
# copy partition map from good disk to new disk
sfdisk -d /dev/sde | sfdisk /dev/sdd
# verify the new disk has boot, raid flags and /dev/sdd1 is same size as
/dev/sde1
parted /dev/sdd print
# remove raid metadata
mdadm --zero-superblock /dev/sdd1
# install bootloader on new disk
grub2-install /dev/sdd1
# add to the mirror
mdadm --grow /dev/md127 --add /dev/sdd1 --raid-devices=2
# watch it rebuild
watch -n 5 -d cat /proc/mdstat
2 years, 3 months
OT: Linux kernel version in fiber modem
by Jonathan Ryshpan
On a whim I opened up the:
Legal Disclaimer Open Source Licenses
in the management page for my fiber modem (ATT installed 2021/03/30)
and discovered that the kernel is rather old:
linux kernel - Version 3.4.11
There are about 163 other open source components, probably most of
similar ages.
Is this a security problem?
--
Sincerely Jonathan Ryshpan <jonrysh(a)pacbell.net>
The above message, which does not represent
the opinion of the Berkeley Linux Team, is sold
by weight, not by volume.
Some settling of the contents may have occurred
during shipment.
2 years, 3 months
Setting up bitcoin for purchases
by Alex
Hi, I'd like to set up bitcoin to pay for services online. Do you have
a guide you can recommend on how to do this for fedora35?
My search shows this one from about five years ago. Is this still current?
https://fedoramagazine.org/bitcoin-fedora-electrum/
I'd like to link it to a credit card or a specific physical bank
account to use it to pay for random things and to just play around.
Thanks,
Alex
2 years, 3 months
Panel Problem
by Joe Zeff
I'm using Fedora 31, Xfce 4.14 and Compiz and am not in a position to
upgrade right now. My preference is to have one panel, at the bottom of
the screen, but suddenly that panel moved up until the bottom was where
the top should be. Restarting Compiz didn't help, nor did logging out
and back in without saving the configuration. Trying to go back to an
earlier setting just gave me a full top panel and a short bottom one.
I've managed to remove the bottom one but I can't find out how to get
that remaining panel back where it belongs. Does anybody know what
happened or how to correct it? And yes, the panel is unlocked.
2 years, 3 months
Pan updates
by Beartooth
Pan 0.149 is just out; but I get $ rpm -q pan
pan-0.147-1.fc35.x86_64
--
Beartooth Staffwright, Not Quite Clueless Power User
Remember I know little (precious little!) of where up is.
2 years, 3 months
tiigervnc: Attempted to configure an invalid screen layout
by Frank Elsner
Hello,
I've problems to connect to an vnc server. Tigervnc dies with the message
Attempted to configure an invalid screen layout
The log reads:
| $ vncviewer -Log *:stderr:100 hansipv4.in-ulm.de
|
| TigerVNC Viewer 64-bit v1.11.0
| Built on: 2021-06-16 00:00
| Copyright (C) 1999-2020 TigerVNC Team and many others (see README.rst)
| See https://www.tigervnc.org for information on TigerVNC.
|
| Thu Dec 23 19:42:57 2021
| DecodeManager: Detected 8 CPU core(s)
| DecodeManager: Creating 4 decoder thread(s)
| TcpSocket: Connecting to hansipv4.in-ulm.de [217.10.9.184] port 5900
| CConn: Connected to host hansipv4.in-ulm.de port 5900
| CConnection: reading protocol version
| CConnection: Server supports RFB protocol version 3.8
| CConnection: Using RFB protocol version 3.8
| CConnection: processing security types message
| CConnection: Server offers security type [unknown secType](17)
| CConnection: Server offers security type VncAuth(2)
| CConnection: Choosing security type VncAuth(2)
| CConnection: processing security message
|
| Thu Dec 23 19:43:06 2021
| CConnection: processing security result message
| CConnection: processing security result message
| CConnection: Authentication success!
|
| Thu Dec 23 19:43:07 2021
| CConnection: reading server initialisation
| CConnection: initialisation done
| Viewport: No key mapping for key LVL3
| Viewport: No key mapping for key HNGL
| Viewport: No key mapping for key MDSW
| Viewport: No key mapping for key ALT
| Viewport: No key mapping for key META
| Viewport: No key mapping for key SUPR
| Viewport: No key mapping for key HYPR
| Viewport: No key mapping for key I248
| Viewport: No key mapping for key I249
| Viewport: No key mapping for key I250
| Viewport: No key mapping for key I251
| Viewport: No key mapping for key I252
| Viewport: No key mapping for key I253
| Viewport: No key mapping for key I254
| PlatformPixelBuffer: Using shared memory XImage
| CConn: Using pixel format depth 24 (32bpp) little-endian rgb888
| CConn: Attempted to configure an invalid screen layout
| PlatformPixelBuffer: Freeing shared memory XImage
Any help to solve the problem appreciated
Greetings, Frank Elsner
2 years, 3 months
condor
by Patrick Dupre
Hello,
I am trying to run condor to subgmit jobs in batch
I first run
systemctl start condor.service
but I get
SElinux security alert
SELinux is preventing condor_master from getattr access on the filesystem /sys/fs/cgroup.
***** Plugin catchall (100. confidence) suggests **************************
If you believe that condor_master should be allowed getattr access on the cgroup filesystem 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 'condor_master' --raw | audit2allow -M my-condormaster
# semodule -X 300 -i my-condormaster.pp
Additional Information:
Source Context system_u:system_r:condor_master_t:s0
Target Context system_u:object_r:cgroup_t:s0
Target Objects /sys/fs/cgroup [ filesystem ]
Source condor_master
Source Path condor_master
Port <Unknown>
Host Sappho
Source RPM Packages
Target RPM Packages
SELinux Policy RPM selinux-policy-targeted-34.22-1.fc34.noarch
Local Policy RPM selinux-policy-targeted-34.22-1.fc34.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name Sappho
Platform Linux Sappho 5.15.10-100.fc34.x86_64 #1 SMP Fri
Dec 17 14:51:10 UTC 2021 x86_64 x86_64
Alert Count 7
First Seen 2021-12-25 22:22:54 CET
Last Seen 2021-12-25 22:23:32 CET
Local ID 1400e954-ed34-4677-a93e-ff1dd7872d7d
Raw Audit Messages
type=AVC msg=audit(1640467412.250:3818): avc: denied { getattr } for pid=328138 comm="condor_master" name="/" dev="cgroup2" ino=1 scontext=system_u:system_r:condor_master_t:s0 tcontext=system_u:object_r:cgroup_t:s0 tclass=filesystem permissive=0
Hash: condor_master,condor_master_t,cgroup_t,filesystem,getattr
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire interdisciplinaire Carnot de Bourgogne
9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
Tel: +33 (0)380395988 | | Room# D114A
===========================================================================
2 years, 3 months