Fixing Random Samba Share Lockouts Part 2 w/Docker

Continuation of my previous post about fixing random Samba Share lockouts. I discovered that Docker and Samba were fighting to gain access to the folders. If I set the label to samba_share_t, then Docker loses access. If I allow Docker (with “Z” option while running container), then Docker resets the label to “svirt_sandbox_file_t”. How can I make both use it? Turns out there is a solution. Credit to this Serverfault post: https://serverfault.com/a/881098/449814 Create a new …

Read moreFixing Random Samba Share Lockouts Part 2 w/Docker

Fixing Random Samba Share Lockouts

Ever had Samba shares on CentOS become randomly inaccessible? If so, I might have a cure… Turns out the culprit is (yet) again SELinux. Thank you SELinux for your super sensitive security policies… It turns out that you might have lost extra important SELinux label on the share and sub-folders. Don’t ask me why and how? Perhaps a boot failure or power failure or random act of God?! OK, here’s the solution you are looking …

Read moreFixing Random Samba Share Lockouts

Fixing Grub2 on Centos 7

Grub2 is a very frustrating bootloader esp. when it fails. Here are some of things I have tried that have worked in the past related to Grub2 errors. Symptom – System starts into Grub2 prompt or simply does not start. This happened to me recently when yum package update broke something in Grub. The system was booting into Grub2 prompt. This happened on my system because of bad grub.cfg file. Assuming you still have a …

Read moreFixing Grub2 on Centos 7

How to cook perfectly spicy Maggi

It’s easy.. You need 1 pack of Maggi. Use a non stick pan and add 1 cup of water. Then add the spice mix. This step is important to put the spice mix before putting noodles. Then mix and allow the water to heat up but don’t boil. Then take Maggi and split in the middle to split the two layers. Put each layer in the pan. Wait 1 minute and then turn each layer. …

Read moreHow to cook perfectly spicy Maggi

Time to cook some Okra

Okra is one of my favorite vegetables and I love it Indian style. The Indian style Okra is a staple at my parents house. This tasty dish is fairly easy to make and can be eaten at any meal including breakfast. Traditionally, Okra will be eaten with handmade Roti with or without ghee (I prefer with Ghee). In my case below, I used ready to eat Naan. Okra is one of those versatile dishes that …

Read moreTime to cook some Okra

Jasmine my print server

Last week I built a print server at home. I already have a home server called Jarvis which does media sharing through Plex and runs this blog but it’s situated in the basement. The printer I wanted to use is a USB label printer therefore it wasn’t feasible for me to use Jarvis as a print server as it would have required a very long USB cable from basement to second floor where my home …

Read moreJasmine my print server

How to configure Brother QL-700 label printer on CentOS

I recently built a print server at home where I have attached the Brother QL-700 label printer. That printer does not have Wireless printing feature and I wanted to have all computers in the house be able to use it over the network. I thought of buying a new label printer that comes with Wireless connectivity but I couldn’t find any brand new label printer less than $100. Then I had an idea. Why don’t …

Read moreHow to configure Brother QL-700 label printer on CentOS

Installing Nest Thermostat

Replaced the old thermostat with the smart Nest thermostat. Had always been wanting a smart thermostat and after we bought the house, it was the perfect opportunity to get it. The previous thermostat used to be an Aprilaire thermostat. I believe it also controlled a humidifier. However, there is no central humidifier I could find, therefore, it was only to control temperature.

Installing Wire Shelving in the Closets

Old house and extremely limited shelving in Closets, sounds familiar right? Well, I decided to take care of storage by installing shiny new wire shelving in all the 3 closets we have in the house. Here are some photos of the Master Bedroom closet. I know what you are thinking, it’s so tiny! Yes Sir or Madam, this is an Old house. Back then they did not have large walk-in closets. So before image: Step …

Read moreInstalling Wire Shelving in the Closets