openSUSE 12.2             

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

         

12.2.8 (2012-08-21)

Copyright    2012 Novell, Inc.

    GNU                   (GNU Free Documentation License) 1.2             
                                                   /                     
GNU                   (GNU Free Documentation License)                     
      (Free Software Foundation)                                 (no
Invariant Sections)                  (no Front-Cover Texts)                
  (no Back-Cover Texts)                                        fdl.txt   

                      openSUSE                                             
                 http://en.opensuse.org/openSUSE:Release_Notes

                                    

  •      1,             :                    openFATE                      
                (http://features.opensuse.org)               

    N/A

  •      2,             :                                                  
               

  •      3,             :                                  

  •      4,                   :                                  openSUSE  
                                       

  •      5,             :                                                  
                                    

1.       

N/A

2.       

2.1.                   

                                                       openSUSE            
 

3.       

3.1. openSUSE       

  •                                                                        
      KDE     GNOME                 LibreOffice                            
                                                                           
                bash shell             

  •                                                                        
                                      

  •                                                                        
                                   

  •                                                                        
                       

  •        KVM                             KVM, libvirt        QEMU        
                                       

4.             

4.1.        "zypper dup"             

       openSUSE 12.1 (               )                           openssh   
              openSSH                                   SSH        "zypper
dup"                                            (       "screen"    
"tmux")           "zypper dup"                                             
                           (            "nohup")   

4.2. sysvinit                

                                  systemd                                  
    openSUSE 12.2                 sysvinit                                 
           sysvinit                                                        
                                             sysvinit                      
                                  systemd          

4.3. mount     losetup        cryptoloop          

cryptoloop                                                                 
      dm-crypt     mount (                /etc/fstab)     losetup          
          cryptoloop                                 fstab                 
cryptoloop                                                                 
          dm-crypt (/etc/crypttab)                       http://
en.opensuse.org/Encrypted_Filesystems                                      
     

4.4.        systemd                         

                                  systemd                             /etc/
fstab                    noauto                          nofail            
                                           

/dev/mapper/cr_sda3  /home   ext4    acl,user_xattr,noauto 0 2

      

/dev/mapper/cr_sda3  /home   ext4    acl,user_xattr,nofail 0 2

5.       

5.1.        KMS (Kernel Mode Setting)                   

    openSUSE 11.3              Intel, ATI     NVIDIA                    KMS
(Kernel Mode Setting)                                         KMS          
         (intel, radeon, nouveau)                                          
          nomodeset           KMS             Grub 2                       
                                               root                 /etc/
default/grub                                                    
GRUB_CMDLINE_LINUX_DEFAULT                                  

sudo /usr/sbin/grub2-mkconfig --output=/boot/grub2/grub.cfg

                                            Grub                   /boot/
grub/menu.lst                                                              
     (intel, radeon, nouveau)    initrd                    modeset=0       
                  KMS   

                            initrd        DRM                              
                                   KMS                                  
initrd              DRM                                   YaST      
sysconfig        NO_KMS_IN_INITRD     yes                            initrd
                              

    Intel                 KMS          X                      fbdev        
     (intel                       KMS);           Intel           GPU      
             "intellegacy"              (xorg-x11-driver-video-intel-legacy
      )                               UMS (User Mode Setting)              
                       /etc/X11/xorg.conf.d/50-device.conf                 
              intellegacy   

    ATI                 GPU                             radeonhd      
NVIDIA                 KMS              nv             ( nouveau           
            KMS)                                                    
nomodeset              ATI     NVIDIA GPU                  fbdev   

5.2.                    sysvinit       

       openSUSE                    systemd                                 
                F5                    sysvinit                            
sysvinit                                                 4.2,    sysvinit  
                    

5.3. systemd:                         

systemctl           "      "        (       http://www.freedesktop.org/wiki
/Software/systemd/Incompatibilities)   

                                                                        

cd /etc/init.d
./apache2 <您的_參數>

5.4. systemd: 系統關機

使用 systemd 時系統要停機或電源關閉，請在命令行用 halt -p 或 shutdown -h
now 或使用您的桌面環境所提供的關機按鍵。

注意：單單 halt 命令將無法正確關閉系統。

5.5. systemd: 使用 tmpfs 在: /run, /var/run, /media, 等。

systemd 掛載一些僅會包含變動資料的目錄為 tmpfs 檔案系統：這些目錄包含了 /
run, /var/run, /var/lock, 以及 /media 。要知道更多的背景資訊，請參閱 http:/
/lwn.net/Articles/436012/。

注意：不要儲存任何在重開機後還需要存在的檔案在 /run, /var/run, 等目錄。

5.6. systemd: 清除目錄 (/tmp 以及 /var/tmp)

systemd 會依照指定在 tmpfiles.d 目錄及 /lib/systemd/system/
systemd-tmpfiles-clean.timer 檔案中的設定來維護目錄。要得到更進一步的資訊，
請參閱 tmpfiles.d 的手冊頁。

預設情況下， systemd 依照 /usr/lib/tmpfiles.d/tmp.conf的設定每日清除 tmp 目
錄：

d /tmp 1777 root root 10d
d /var/tmp 1777 root root 30d

注意： systemd 不會遵照在 /etc/sysconfig/cron 中的 sysconfig 變數，像是
TMP_DIRS_TO_CLEAR。

5.7. USB 媒體自動掛載

Gnome 和 Xfce 現在使用 udisks2 來自動掛載 USB 媒體到 /run/media/$USER 目錄
下。 KDE 使用 udisks 版本 1 ，仍掛載 USB 媒體到 /media 目錄下。

5.8. 在 /etc/adjtime 中的時區資訊

在 /etc/adjtime 的第3行，現在包含了您的 BIOS 時鐘是運行在 UTC 或地區時區的
資訊(之前是儲存在 /etc/sysconfig/clock 的 HWCLOCK)。

如果 /etc/adjtime 包含了錯誤的偏差資訊 (例如用 ntpdate 修正日期和時間之後或
有 ntpd 正在運作)，在檔案 /etc/sysconfig/clock 中設定變數 USE_ADJUST 為
"no" 。

5.9. GNU tar 預設會建立 POSIX-相容格式檔案

GNU tar 現在預設為 --format=posix 並且以 PAX extended headers 建立 POSIX-相
容格式檔案。請檢查您的 scripts 和應用程式和此格式是否相容。

前一版預設的行為可以藉由設定環境來重建：

TAR_OPTIONS='--format=gnu'

或

TAR_OPTIONS='--pax-option=delete=[ac]time*'

