其他

  1. 更新套件後 gdm 無法登入圖形界面,但文字界面 shell 可登入。原因為之前 /etc/gdm/PreSession/Default 加入的 pkill gcin 必須刪除。
    [root@dywhd1 ~]# diff -uN /etc/gdm/PreSession/Default /etc/gdm.old/PreSession/Default
    --- /etc/gdm/PreSession/Default	2014-10-16 05:23:11.000000000 +0800
    +++ /etc/gdm.old/PreSession/Default	2015-04-10 14:17:03.879606569 +0800
    @@ -7,3 +7,4 @@
     # Note that output goes into the .xsession-errors file for easy debugging
     #
     PATH="/usr/bin:$PATH"
    +pkill gcin
    
  2. gcc 更新後,rpmbuild 編譯程式出現以下錯誤,必須更新 binutils binutils-devel 套件。
    gcc 4.8 Error: expecting string instruction after `rep'