July 24, 2021
by dhoytt
0 comments

Fedora Workstation Crashes Possibly Resolved/ Updates of XCP-ng Packages

Well my Fedora 33 workstation desktop kept freezing and crashing whether I used KDE Plasma, Cinnamon, MATE or Gnome desktop environments this happened with various applications. I suspected my Nvidia Quadro K1200 drivers and was going to really dive into that when I had time. I first updated to Fedora 34 which I wanted to do anyway and had the same issues so looking through the logs and then noticed some selinux alerts I simply ran the sealerts listed and created selinux policies suggested and now my workstation’s desktop is noticeably more responsive and stable.

This is what I found in the logs:

SELinux is preventing gnome-shell from write access on the sock_file dbus-O849AHv64T.

Plugin catchall (100. confidence) suggests *

If you believe that gnome-shell should be allowed write access on the dbus-O849AHv64T sock_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 ‘gnome-shell’ –raw | audit2allow -M my-gnomeshell

semodule -X 300 -i my-gnomeshell.pp

Additional Information:
Source Context system_u:system_r:xdm_t:s0-s0:c0.c1023
Target Context system_u:object_r:tmp_t:s0
Target Objects dbus-O849AHv64T [ sock_file ]
Source gnome-shell
Source Path gnome-shell
Port
Host mamba
Source RPM Packages
Target RPM Packages
SELinux Policy RPM selinux-policy-targeted-34.14-1.fc34.noarch
Local Policy RPM selinux-policy-targeted-34.14-1.fc34.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name mamba
Platform Linux mamba 5.13.4-200.fc34.x86_64 #1 SMP Tue Jul
20 20:27:29 UTC 2021 x86_64 x86_64
Alert Count 223
First Seen 2021-07-12 22:03:50 PDT
Last Seen 2021-07-23 22:38:07 PDT
Local ID c4845b11-2638-4728-8e79-27e115f54210

Raw Audit Messages
type=AVC msg=audit(1627105087.981:551): avc: denied { write } for pid=27398 comm=”gsd-power” name=”dbus-O849AHv64T” dev=”tmpfs” ino=657 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:tmp_t:s0 tclass=sock_file permissive=0

Hash: gnome-shell,xdm_t,tmp_t,sock_file,write

For this alert I simply followed directions after changing directories into my security folder I store my selinux policies and then ran:

# ausearch -c 'gnome-shell' --raw | audit2allow -M my-gnomeshell
#semodule -i my-gnomeshell.pp

There appeared to be another sealert that I found that also affected my desktops stability and possibly spoke to issues with the Nvidia driver:

SELinux is preventing gdb from read access on the chr_file card1.

Plugin catchall (100. confidence) suggests *

If you believe that gdb should be allowed read access on the card1 chr_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 ‘gdb’ –raw | audit2allow -M my-gdb

semodule -X 300 -i my-gdb.pp

Additional Information:
Source Context system_u:system_r:abrt_t:s0-s0:c0.c1023
Target Context system_u:object_r:dri_device_t:s0
Target Objects card1 [ chr_file ]
Source gdb
Source Path gdb
Port
Host mamba
Source RPM Packages
Target RPM Packages
SELinux Policy RPM selinux-policy-targeted-34.14-1.fc34.noarch
Local Policy RPM selinux-policy-targeted-34.14-1.fc34.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name mamba
Platform Linux mamba 5.13.4-200.fc34.x86_64 #1 SMP Tue Jul
20 20:27:29 UTC 2021 x86_64 x86_64
Alert Count 384
First Seen 2021-07-12 22:04:07 PDT
Last Seen 2021-07-23 22:38:06 PDT
Local ID 88f4d8fa-ca05-404e-8449-bd42cfc3bedb

Raw Audit Messages
type=AVC msg=audit(1627105086.850:543): avc: denied { read } for pid=27221 comm=”gdb” name=”card1″ dev=”devtmpfs” ino=523 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:dri_device_t:s0 tclass=chr_file permissive=0

Hash: gdb,abrt_t,dri_device_t,chr_file,read

Once again I just followed the notice from selinux and ran the following:

#ausearch -c 'gdb' --raw | audit2allow -M my-gdb
#semodule -i my-gdb.pp

For the second alert addressing the “gdb” issue I discovered a number of people are having similar issues that are listed in bug alerts at Red Hat: https://bugzilla.redhat.com/show_bug.cgi?id=1896648

I decided to look up the first sealert as well and there are a number of bug listings for that as well plus a forum discussion I found: https://ask.fedoraproject.org/t/selinux-is-preventing-gnome-shell-from-write-access-on-the-sock-file-dbus-xodxlwour5/14515

https://bugzilla.redhat.com/show_bug.cgi?id=1942775

I also went ahead migrated virtual systems from one XCP-ng to another updated both XCP-ng hosts hypervisor systems after the migrations and then moved the virtual systems back to their respective hosts after performing the updates on each physical host. During the migration of the relays server that brief microsecond may have affected people streaming Snakeice’s House of Beats without a media streaming player that buffers and does not attempt restarts after minor interruptions .. All in all a very productive morning now time for breakfast.

July 21, 2021
by dhoytt
0 comments

Updated XCP-ng from 8.1 to 8.2

I’m prepping to move the dhoytt.com web server to a different web server. So I decided to update the underlying hypervisor XCP-ng first.

First I migrated all of my virtual systems off of my slave Xcp-ng system then loaded the XCP-ng 8.2 ISO via ILO of my BL460c Gen 8 blade system, rebooted booted of the XCP-ng ISO, verified the XCP-ng and started the install.

The reasons I want to move the dhoytt.com web server to a new version of software was so that I could have the most recent versions of PHP and MariaDB without having to manually just update the packages or the repositories. I just want to use the OS’ current repositories for less work.

In doing the updates I updated my slave XCP-ng system first which is the incorrect procedure so I had a little downtime as I shutdown the VM’s on the master installed it and then brought my webserver and relay server back up after in updating the XCP-ng master server. Since I took down the relays for the streaming server I decided to update the W2019 server that hosts my music and then streams to my relay servers of IceCast and ShouCast which took me down quite a bit longer since the W2019 Data Center updates were large and took two reboots of my physical BL460c gen8 blade system.

Everything is up to the outside world after updating and rebooting my w2019 music server, relay server and web server but still have to get the slave in my XCP-ng pool correct since it was not showing the network properly because I updated it first. Even after updating the master of the XCP-ng pool then rebooting the slave it never picked up the networking information from the master of the XCP-ng pool. I restored the old 8.1.1 version of XCP-ng then perform the upgrade of the XCP-ng slave again and that failed as well. After trying a slew of things I finally just did a flat new install on the slave system, redid the networking and everything is solid again.

Next step create a new VM and make sure it has the correct versions of software and move the bits and about 7 databases running on the MariaDB instance over and start making some long needed changes to the site.

Just a curiosity note I did notice a brief microsecond loss of network connectivity from my relays when doing a live migration of the relay stream server that hosts IceCast and ShoutCast. I will investigate that at a later date if I remember. This is one reason I write to this blog as some historical reference and weird partial biography.

July 14, 2021
by dhoytt
0 comments

Mid-Morning System Updates

Had some critical system updates of my w2019 Data Center system that hosts my Sam Broadcasting system here from my home data center and decided to also update my Centos 8 Linux system and Centos 7 Linux web server.

The Centos 8 system hosts my IceCast and ShoutCast relays that you connect to when streaming the music from my W2019 system. The Centos 7 system of course houses my WordPress CMS system and a database that syncs with the w2019 system and then publishes information to that Snakeice House of Beats blog https://dhoytt.com/snake-ice-radio-blog/.

The Centos 8 Linux system also hosts my Zoneminder CCTV system which was also updates along with one of my Plex server instances.

July 5, 2021
by dhoytt
0 comments

Utilizing Garden Produce

The utilization of all that great produce from your garden is why you go through the trouble of growing a garden in the first place. Once that production of food stops you long for that season to begin again so you do not have to make trips to the store for fresh vegetables. Here below you can see me frying squash, Lemon boy and cherry tomatoes. I tried lightly battered and egg batter to find my preference was lightly battered fried vegetables not double dipped in egg batter.  I made some salsa numerous times as you can dress up many dishes with salsa as well as use as dips for chips as you watch TV. I made a salad of squash, cucumber, Swiss chard, lemon boy, black pearl, yellow pear beef eater and early girl tomatoes. I added in some sweet onions, mushrooms not from the garden and then basil, rosemary, tarragon and chives from the garden. I then put some salmon over the salad and dressed it with white balsamic dressing. Another way I always utilize my garden produce is making teas and today I gathered up my herbs of mint, basil, sage, lemon thyme, rosemary, I forgot my stevia this time, but it still came out just fine. I had the tea a little warm and put the rest into a container in the refrigerator and will in indulge in that tea for a few days. That nice clean refreshing taste is something I long for now. There are so many ways to use what I have in the garden, and I still have not even made the pizza sauce as I did last year or used my food storage device. Today I had my first cucumbers of the season and habanero peppers as well. The habanero peppers kicked the salsa up a few notches with the jalapeno and serrano peppers and the cucumbers were refreshing with the salad.

July 4, 2021
by dhoytt
0 comments

Delicious July 4th Mini Meatloaves

I didn’t want a long smoke today so I thought for a while about what ingredients I had that would make something fast and easy then decided on meatloaf. I didn’t want to deal with leftovers and get up early due to planning on working on projects late into the nights this weekend. I had bought ground beef planning on burgers but wanted something more to go along with vegetables.

I started looking up meatloaf recipes and came across several I thought would be good but settled on this one: https://gimmesomegrilling.com/mini-smoked-meatloaf/.

Since I don’t have oats and wanted to use them instead of breadcrumbs I used some Quaker Instant oat meal (an opportunity to use an item that will help me clear space in my kitchen pantry) with strawberry flavors. It was delicious even with that hint of strawberry flavor from the instant oatmeal. This will now be a go to for me in my bag of BBQ recipes.

June 23, 2021
by dhoytt
0 comments

Flower Garden Looking Good Vegetable Garden Productive

Earlier this week I clipped my rose bushes and did some weeding in the front yard and the flowers are looking spiffy, plus my vegetable garden is producing! I have a bunch of “Lemon Boy tomatoes” “Red Cherry Husky tomatoes”, “Beef Eater tomatoes”, zucchini squash and Ichiban eggplants.

I roasted the eggplants and some tomatoes on the gas grill to go with Ahi Tuna and “skirt steak”. One night and then for lunch another Ahi Tuna steak.Then made some Pico De Gallo from some of the tomatoes.

June 14, 2021
by dhoytt
0 comments

Took Down Virtual Environment for Storage Maintenance

I had a storage alarm on my storage array start screaming today because it lost power to one of its redundant power supplies plus had slight temperature high reading on CPU #1. I found out that the power supply without any power was going to one of my UPS’ I utilize for my workstations and not my servers so switched that to the proper UPS and that worked.

That power supply was not connected to the protected battery side of that UPS outlets. I will look at why the UPS switched modes on me later but since its only for workstations and nothing else was plugged into that unprotected side of the UPS.

I decided to take the storage arrays down and blow the dust out of them since they have had a very long up time of several months. I had one of the fiber cables hang up and I had to get a small screwdriver to disconnect it, then putting them back in I had to realign the rails of my rack to make them go back in and not knock the cove back of my main storage chassis and cause an intrusion alert.

I found it was really good to login on IPMI on my Supermicro motherboard to view the sensor data before and after cleaning up my chassis. Just looking now there’s a wide disparity between my CPU #1 and #2 temperatures so I will plan a maintenance window and make sure that the heat sinks are seated properly and reapply heat sink compound. I was able to observe the fans look fine and blew the fins of my heat sinks out so the airflow looks fine.

Once the storage array came back up I checked the connections were on the proper networks and XCP-ng could see the paths to my storage and brought my VM’s back up as you can see since this site is back up. My music stream stayed up since the streaming server and the relay server are 2 separate physical servers. That’s all for tonight!

My main storage array systems internals.

June 13, 2021
by dhoytt
0 comments

Pico De Gallo From the Garden With Chicken Tacos

My tomatoes are increasing in production and being anxious to devour my garden produce today I decided to make some Pico De Gallo. I found a nice recipe online that was simple and delicious. I made it all from items in my garden except the onions, garlic and I used lemon juice instead of lime juice.

I used mostly my Lemon Boy tomatoes and some cherry husky red tomatoes from my garden plus cilantro and, jalapenos. I cooked my chicken on my gas grill in on of my Corningware dishes which is way quicker than doing it in my oven in the house and doesn’t heat the house up. I have to say I will be making this Pico De Gallo a lot as it came out very well!

I must give props to where I found this delicious yet simple recipe:

https://www.bonappetit.com/recipe/pico-de-gallo-2

Pico De Gallo from the garden tomatoes, cilantro and jalapenos with my last taco of the evening.

June 10, 2021
by dhoytt
0 comments

Slugs in Garden Like Beer

Picked up a snail trap product that uses beer as bait for my garden and it immediately started working once setup. I placed this trap called Slug X from Garland in place put some beer in the traps then went inside and looked up reviews and usage. 15 minutes later I decided to go and top off the 2 slug traps and the slug trap near my tomato plants already had a slug moving up the outside of the container. I went inside to get my phone to take a picture and that fast a slug had moved inside seeking the beer.

I really hope this continues to work this well as I just put some slug poison pellets down 2 days ago to kill the slugs on the outer edges outside of my gardens. I like the non-poisonous solution less toxic and better I found these Slug X snail traps at the Habitat for Humanity store here In Sacramento.

Slug X snail trap near green leafy vegetables.
Slug X snail trap near tomato plants.
Inners of Slug X slug trap with first customer after just 10 or 15 minutes being in place.

June 5, 2021
by dhoytt
0 comments

Backyard Oasis and Garden Bounty Trickle

So much in this little backyard space but made it my little oasis by design with the garden, pool, strips of grass and BBQ pits. Nothing like doing a little gardening and then taking a dip in the pool and doing something quick on the gas grill or slow on one of the BBQ pits. Then either way sipping a cold beverage in the shade or poolside. I also enjoy seeing some of nature like my favorite dragon fly or blue jays coming through. I miss the swam of bees my thai basil plant used to bring and I may plant another one just for the bees.

15 years with this and still going though I would love more room for a workshop and my boats plus other vehicles I would like plus storage for when going to auctions. Added the solar a couple of years ago and now have a nice energy credit so I have lowered my energy footprint and I’m somewhat self-sustainable, definitely not burdening the electric grid and producing some of my own foods.

I’m growing collard greens, okra, carrots, beets (once I get the seedlings in the ground), Swiss Chard, raspberries, grapes, white, black and Ichiban eggplants, mixed greens, lemon thyme, parsley, yellow squash, zucchini squash,sweet basil, purple basil, mad hatter peppers, Serrano peppers, habanero peppers, bell peppers, chili peppers, ancho chili peppers, Cilantro, chives, green onions, yellow onions, Mexican tarragon, chamomile, mint, sage, rosemary, yellow pear tomatoes, black plum tomatoes, Early girl tomatoes, Lemon boy tomatoes, husky red cherry tomatoes, peas, beans, dill, red ghost peppers and lunch box orange sweet peppers.

I need to make a special place for asparagus that can grow yearly and not overturn that part of the garden.

Well time for some vittles with slices of garden tomatoes and then perhaps a dip into the pool. Then will make some tea from my garden herbs later.

Lemon 🍋 Boy Hybrid tomatoes 🍅.
Picked today 06/05/2021 Swiss Chard, Lemon Boy Tomatoes, one Husky Cherry Red Tomato and zucchini squash.
PVC trellis for raspberry and grape vines to climb over with squash. cucumbers, Swiss chard, peppers, mixed greens in the foreground plus gourmet collards against the fence.
The weekly work of picking weeds out of the vegetable gardens. This is about half of a 5 gallon bucket.
Putting some liquid feed fertilizer on drip systems so it feeds my garden every time it waters. Love this setup and its been in place since I built the garden.
West part of the garden. Notice I keep my herbs in the front so that I can walk out right before dinner and clip with little effort.
Ichiban Eggplants growing like crazy. I haven’t planted this variety in a number of years.
Parsley and Ichiban eggplant.
Look close enough and you can see dozens of habanero peppers getting bigger and a lot more blooms about to turn into habanero peppers.
Chili peppers getting strong.
Herbs to the front! Showing Mints, purple and sweet basil, chives not see are right behind them with tarragon barely visible to the right and parsley to the left.
Serrano peppers thriving next to biggies in the garden grape and squash vines.
Part of the herb tea collective chamomile, Mexican tarragon and more mint. Cilantro is to the left.
Early girl tomato starting to ripen.
Purple basil coming up from a seed from last years plants.
Letting beans run and take over Swiss chard going to seed.
Sage holding its spot in the garden.
Peas in their pods.