SELinux bites man: a story

A co-worker recently came to me with an interesting and mysteriousproblem. He was setting up a Red Hat Enterprise 4 based machine withMySQL, using a default setup except he'd changed the location of MySQL'sdata directory from /var to a different partition. Now MySQL wasn'tstarting properly.

The symptoms were really funny: the init.d script installed by thesystem didn't work, except if he ran it by hand with ' sh -x ', it did.So


Pointers to some SELinux explanations

SELinux is one of those things that have been cropping up on my radarever since I had to start telling the Red Hat installer not to turnit on. (I kept not enabling it because changing an entire securityarchitecture of a system is not to be done lightly, even when it'sa new system I'm setting up.)

SELinux is an imposing system with equally imposing documentation.Fortunately, recently Dan Walsh of Red Hat has been posting some veryuseful (to me) 'SELinux for beginners


姑姑,又見姑姑



這幾天都在聽人說神鵰
有人說特技好看
有人說節奏超快
有人說女主角可愛
可是對看劉德華版長大的我而言
一次又一次的神鵰重拍
只是說明了我們又老了幾年吧

我記得那年我讀小學
我記得陳玉蓮演的小龍女脫去衣服跟楊過練玉女心

如果你是我,你會......

事情發生的經過是這樣的
前日我與太太在氹仔市區晚飯
之後經氹仔街市到地堡街取車
走到小飛象門口時見到地上有一個銀包

當時我和太太都很疑惑
該不該拾起來呢
好奇心驅使下
終於拾起了
銀包內沒有證件
卻有一些現金
數目似乎是

A thought on Linux installation versus Solaris 9 installation

I've been thinking about a question recently: why is installing mostLinux distributions so much easier and friendlier than installingSolaris 9 on a standalone machine? (I can't speak for Solaris 10, as Ihaven't tried to install it on anything.)

(It's not just an issue of comparing today's technology against Solaris9's 2001 or so era technology; I was doing Linux installs in 2001, andit was still much better back


獨家試愛


本來沒有期望的電影
竟然相當喜歡
此片當然也有搵戲來做
不過設計男女主角的小夫妻生活很有真實感
女主角的一舉一動簡直是時下所有女朋友/少婦的化身
故事編得緊湊
有些有情有些有趣
沒有大明星
沒有大製作
卻拍得靈活而精明

伊莎貝拉


這是一部被過譽了的電影
故事意念不錯但拍得不吸引
女主角外形和演出都不錯但沒有遇到令人難忘的場面
在澳門拍攝本來可以很有意思可惜畫面過份扮野
電影拍的是局部的澳門
也許在外人眼中這地方就應該是這樣的
可是那又偏偏

小城罕有的爆出性騷擾事件,小民不知如何評說。但道德淪亡四個字此時是十分合用的,發生這些事是很難令人想到高尚情操的。可以預期此地會有越來越多光怪陸離的事出現,因為我們會越來越與別不同啊!擾!

現在我們跟幾

學生跳樓

日前有學生據說因為成績壓力而跳樓,雖然死不了,但也引起了“教育界人士”的討論和關注,這種事也是罕有的,至少以前我和我身邊那些成績很爛的傢伙從沒想過尋死。可見辦教育的難度越來越高,絕對不是喊幾句口號或組

Why I like 'lib64' better than 'lib32' for the x86_64 transition

One of the small controversies in Linux on the 'x86_64'architecture is where 'native' 64-bit libraries should go, versus where'legacy' x86 libraries should wind up. One version is what Fedora Coredoes, putting 64-bit libraries in /usr/lib64 ; the other version iswhat Debian does, where legacy x86 libraries go in /usr/lib32 and /usr/lib is for 64-bit binaries