CentOS MTAの切り替え
yum install system-switch-mail
/usr/sbin/system-switch-mail
broadcom-wl ドライバを 2.6.34カーネルで
http://forum.lafox.net/index.php?showtopic=21761
にパッチ書いてる人がいて、確かにコンパイルは通るけど
これじゃ動かないよな。
Linux Kernel 2.6.34 の NFSクライアント実装には不具合があります
NFS: Fix another nfs_wb_page() deadlock http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0522f6adedd2736cbca3c0e16ca51df668993eee
このパッチをあてると大丈夫になりました
quotaファイルに IMMUTABLE属性をつけさせない
--- linux-2.6.33.2/fs/quota/dquot.c.orig Mon May 10 16:34:46 2010 +++ linux-2.6.33.2/fs/quota/dquot.c Mon May 10 16:35:22 2010 @@ -1948,8 +1948,7 @@ if (!sb_has_quota_loaded(sb, cnt)) { mutex_lock_nested(&toputinode[cnt]->i_mutex, I_MUTEX_QUOTA); - toputinode[cnt]->i_flags &= ~(S_IMMUTABLE | - S_NOATIME | S_NOQUOTA); + toputinode[cnt]->i_flags &= ~(S_NOATIME | S_NOQUOTA); truncate_inode_pages(&toputinode[cnt]->i_data, 0); mutex_unlock(&toputinode[cnt]->i_mutex); @@ -2041,9 +2040,8 @@ * special IO operations which ignore the immutable bit. */ down_write(&dqopt->dqptr_sem); mutex_lock_nested(&inode->i_mutex, I_MUTEX_QUOTA); - oldflags = inode->i_flags & (S_NOATIME | S_IMMUTABLE | - S_NOQUOTA); - inode->i_flags |= S_NOQUOTA | S_NOATIME | S_IMMUTABLE; + oldflags = inode->i_flags & (S_NOATIME | S_NOQUOTA); + inode->i_flags |= S_NOQUOTA | S_NOATIME; mutex_unlock(&inode->i_mutex); up_write(&dqopt->dqptr_sem); sb->dq_op->drop(inode); @@ -2086,7 +2084,7 @@ mutex_lock_nested(&inode->i_mutex, I_MUTEX_QUOTA); /* Set the flags back (in the case of accidental quotaon() * on a wrong file we don't want to mess up the flags) */ - inode->i_flags &= ~(S_NOATIME | S_NOQUOTA | S_IMMUTABLE); + inode->i_flags &= ~(S_NOATIME | S_NOQUOTA); inode->i_flags |= oldflags; mutex_unlock(&inode->i_mutex); up_write(&dqopt->dqptr_sem);
yum fastestmirrorが遅いとき
rm /var/cache/yum/timedhosts.txt
に計測済みのデータがあるので、これを消してやると再計測されるようです
FreeBSDにzshを入れた
cd /usr/ports make search name=zsh cd /usr/ports/shells/zsh make install clean
yum-priorities
標準リポジトリと、RPMforgeといった他のリポジトリの両方で提供されるパッケージについて、プライオリティをつけて、標準リポジトリのパッケージが他の物で上書きされないようにすることができるようだ。
してから、/etc/yum.repos.d/CentOS-Base.repo の各項目に
priority=1
を追加しとけばいい感じ。
んでから、こうかな。
rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt rpm -ivh http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm