« フェードアウト | メイン | OpenPNE2.12.xでアカウントデータを移動 »

2009年2月13日

RHEL5 でyum updateしたら

カテゴリ:linux

 そうそう、RHEL5サーバでyum updateしたら、恐ろしげなメッセージが大量に出て焦った。

postgres homedir /usr/local/pgsql or its parent directory conflicts with a defined context in /etc/selinux/targeted/contexts/files/file_contexts, /usr/sbin/genhomedircon will not create a new context. This usually indicates an incorrectly defined system account.If it is a system account please make sure its login shell is /sbin/nologin.
/sbin/restorecon reset /bin/alsaunmute context system_u:object_r:bin_t:s0->syste m_u:object_r:alsa_exec_t:s0
/sbin/restorecon reset /etc/alsa/pcm context system_u:object_r:etc_t:s0->system_ u:object_r:alsa_etc_rw_t:s0
/sbin/restorecon reset /etc/alsa/pcm/dsnoop.conf context system_u:object_r:etc_t :s0->system_u:object_r:alsa_etc_rw_t:s0
/sbin/restorecon reset /etc/alsa/pcm/surround40.conf context system_u:object_r:e tc_t:s0->system_u:object_r:alsa_etc_rw_t:s0
/sbin/restorecon reset /etc/alsa/pcm/center_lfe.conf context system_u:object_r:e tc_t:s0->system_u:object_r:alsa_etc_rw_t:s0
/sbin/restorecon reset /etc/alsa/pcm/hdmi.conf context system_u:object_r:etc_t:s 0->system_u:object_r:alsa_etc_rw_t:s0
....

え? ええーー?? なに、なにこれ?? なんなのさなんなのさ? と一瞬パニックになったけど、もう一つ上の行を見たら納得。

Updating : selinux-policy-targeted ################### [ xxx/xxx]

ああ、SELinux関連ね、、、っていうか、このサーバSELinux稼働させていたのか、、、設定なんてしたっけなぁ? しかし、よく動いてるな、こんな適当さ加減で。



投稿者 ymkx : 2009年2月13日 16:56 |