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