Wednesday, July 26, 2006

SELinux vs. mount

I needed to share a directory which is actually a mounted ISO image via ftp, but SELinux would assign system_u:object_r:iso9660 to the directory as the context, instead of system_u:object_r:public_content_t. The solution is to use the option "-o context=system_u:object_r:public_content_t" in mount.

It's obvious why we need mount to work with SELinux when mounting any external media/drive.  However, when do we need to it to work with ISO image?  Well, a common application is to make available the contentof an ISO image via SAN, FTP, HTTP, etc.  This not only makes themanagement of files easier (one image file instead of millions of smallfiles, for example), it also allows us to have multiple virtualdrives.  That way, we don't really need a physical drive and/or disc.

I needed it to install Fedora 5 by sharing the content of FC5 DVD image via FTP.

Saturday, July 8, 2006

Music as non-focal point 學用音樂當配角


I was organizing and rearranging some ceremonial music for a local Buddhist group and a search led me to this site about one of the earliest Taiwanese musican in modern time.





The site reminds me of my college musicology class. One of ourclassmates went to temples to trascribe the cermonial chanting. I wasnot at all interested in religious music because I had the prejudiceagainst music not being "the leading role" in any "application" (Ialways want to pay full attention to music itself). However, later whenI started to score for films and media, I had to learn to let go ofsuch proud attitude from several arguments with directors and producers.

A leading actor/actress can shine to the fullest degree, but a supporting role needs to know the subtle balance, artistically.

Religious music, especially those with meditational tradition, touches our heart in an amazing way. Clever and complex music doesn't always fit well in a ceremony. Only the music that's just right will do.

Overthe years I've learn that music that sounds so simple, such as folksongs or new age music, may actually be very deep and very hard to write.