DeVO's thoughts 서마이의 생각들을 담는 곳입니다…


# rpm -K shows NOT OK (MISSING KEYS: ….) what da?

As a consultant, I have been recommending my customers to sign their RPMs with their own GPG key.

However, after signing the GPG key, when you try to verify you will see an error as below;

# rpm -K < Package>: (SHA1) DSA sha1 md5 (GPG) NOT OK (MISSING KEYS: )

This means that the key was not imported to RPMDB on the system.

To resolve this, all you need to do is to download/find public key for the GPG key, then import it.

# rpm --import

Tagged as: , No Comments

To extract scripts off a binary RPM

So here is how to extract scripts off a binary RPM

# rpm -qp --scripts

Filed under: djoo's note, Linux No Comments

[Red Hat Satellite6] When Katello-agent install doesn’t update UI status

Apparently, there are cases, where yum install katello-agent doesn't change UI's status and leave it as "uninstalled".

If that happens, run "katello-package-upload" manually.
Apparently, there is a bug, and still hasn't been fixed correctly.


[Red Hat Satellite 6] To be able to override puppet’s variables

For last few months, I had a pleasure working with Red Hat Satellite 6.

I'll write another post on general design/architecture, but for right now..

To be able to override puppet's variable,  after importing it into a "product".

You need to go to, "Configure" -> "Puppet Classes" -> choose the module -> choose the variable -> then tick on the "override".


Booting from External CD/DVD on X200

During this beautiful holiday, I have tried to upgrade my Fedora13 laptop to Fedora15.

Even though I had 200M for my /boot, F15 upgrade using "preupgrade" needed more than 200M to do upgrade.

I have used up all my resources such as deleting old kernels, deleting unnecessary files from /boot.
This didn't work, so as my last resort, I have deleted current kernel's initrd hoping that, upgrade will install the new kernel and I wouldn't need the old kernel. But it required my old kernel.. sigh...
I'll talk about the above in more details later on, but to fix the issue.
I needed to run my laptop in "rescue" mode, but x200 doesn't have CD/DVD rom.

I had to borrow an external CD/DVD rom from a friend of mine.
Next problem is that It wouldn't read the external CD/DVD, and realized that during the boot, only one USB port works.

For X200, there are two(2) USB ports on the left hand side of the machine and one(1) on the other. The working USB port is the left hand side's front one. I never thought, it would be this picky to boot from a DVD

Tagged as: , , , , No Comments

# multipath -ll output info

I have seen a lot of "multipath -ll" output, but outside of few things, I never paid that much attention till today, since someone actually asked me what these specifically meant for, so here we go 🙂

# multipath -ll output

# multipath -ll output


Red Hat Enterprise Linux Updates dates

Due to the fact that I work as a Red Hat Consultant, knowing Red Hat Enterprise Linux (RHEL)'s update dates, comes very handy.



After Red Hat's website redesign, the above URL is not valid anymore.
Now, I refer to below URL:


vncpasswd in a script

During a customer engagement, I had to implement vnc environment to all the servers that I was building.

I thought it would be quite easy using kickstart + postcript.
However, what I didn't realized was that vncpasswd doesn't take stdin for passwd.

After bit of googling, I found that "spawn" and "expect" are my friends;

#!/usr/bin/expect --
spawn vncpasswd
expect "Password: "
send "$argv\r"
expect "Verify: "
send "$argv\r"
expect "$"

This works like a charm 🙂


Digital TV firmware upgrade so easy~

For about a month, without any reason, I didn't have about 3 channels' sound.
Due to my laziness, I didn't follow it up till this morning.
Wow, it was due to frequency changes in recent reconfigurations of couple of broadcasting companies. So the software upgrade fixes it. VERY NICE!!!!

For LG LCD TV users in AUSTRALIA, here is the link that you can use..

So easy to do and it was done within 5 mins.

Once again, I have sound~


Rule of Thumb on debugging a SSL related issue

To save the time, short story, CHECK YOUR SYSTEM TIME and MAKE SURE THEY ARE SYNC'ED!!!!!!

Yes, I am rather feeling stupid today, since I spent good 3 hours trying to figure out what is going on with an automated installation that I was doing...

2 identical hardwares, with two identical setup except the fact that one is booting from SAN and the other one is booting from Local HDD. All the software installations and configurations and scripts... everything was identical.

BUT one would register to the satellite that I kicked off the installation from, and the other one won't

Error log was suggesting that there were SSL verification failure.
Tried to install again about 3 times with exactly the same issue.. Copied the SSL file from the one which is working to the none working... Still didn't work... argh argh argh.....

And out of curiosity I checked the system time...
It says 2009........ WHAT? 2009..................................................
If the Bios setting was never set correctly, and the installation won't be finished correctly....

So the answer is...