openSUSE 13.1 版本资讯

Version: 13.1.6 (2013-11-07)

版权所有 © 2013 SUSE LLC

您有权以 GNU 自由文档协议 (1.2版及以后,由自由软件基金会发布) 对此文档进行复制、传播和/或修订;但必须保留不变章节、封面和底面文本。该协议副本在 fdl.txt 文件中。


1. 杂项
2. 安装
2.1. 关于详细安装信息
3. 常规
3.1. openSUSE 文档
3.2. Dropped YaST Modules
3.3. UEFI—统一可扩展固件接口
3.4. Adobe Reader (acroread) and Other PDF Readers
4. 系统升级
4.1. Upgrading with Zypper (dup) Requires /etc/fstab Cleanup
4.2. 移除了 SYSLOG_DAEMON 变量
5. 技术
5.1. 使用 KMS 初始化图形界面 (内核模式设置)
5.2. Samba version 4.1
5.3. 配置 Postfix
5.4. xinetd:记录到系统日志
5.5. Apache Version 2.4
5.6. tomcat:记录到系统日志
5.7. Darktable:需要刷新缓存文件
5.8. KDE and Bluetooth

若您是从某个旧版本升级到本版 openSUSE 的,之前的版本资讯列示于此,供您参考:

这些版本资讯涵盖以下领域:

1. 杂项

不可用

2. 安装

2.1. 关于详细安装信息

详细安装信息请见 第 3.1 节 “openSUSE 文档”

3. 常规

3.1. openSUSE 文档

新手入门 中,您能够找到按步就班的安装指南,和 KDE、GNOME 桌面以及 LibreOffice 套装的介绍。该手册也涵盖了一些基础管理话题如部署、软件管理以及 bash 壳层的扫盲。

Find the documentation in /usr/share/doc/manual/opensuse-manuals_$LANG after installing the package opensuse-startup_$LANG, or online on http://doc.opensuse.org.

3.2. Dropped YaST Modules

The following YaST modules were obsolete and rarely used these days:

  • yast2-autofs

  • yast2-dbus-client

  • yast2-dirinstall

  • yast2-fingerprint-reader

  • yast2-irda

  • yast2-mouse

  • yast2-phone-services

  • yast2-power-management

  • yast2-profile-manager

  • yast2-sshd

  • yast2-tv

The main reason for dropping was to decrease the maintenance effort and better focus on other more used modules.

3.3. UEFI—统一可扩展固件接口

在将 openSUSE 安装到一个使用 UEFI (统一可扩展固件接口) 引导的计算机上之前,特别建议您检查一下硬件制造商推荐的任何固件更新,并且,如果有的话,安装这样的更新。计算机预装了 Windows 8 是表明您的计算机使用 UEFI 引导的一个明显标志。

背景知识: 某些 UEFI 固件有故障,会导致它在太多数据被写入 UEFI 存储区域时崩溃。但是,没有人真正知道多少是"太多"。openSUSE 仅会写入引导操作系统必需的超小数据,从而最小化了该风险。"超小数据"意思是说仅知会 UEFI 固件 openSUSE 引导加载器的位置。我们默认禁用了上游 Linux 内核的使用 UEFI 存储区域存放引导和崩溃信息 (pstore) 的功能。然而还是推荐安装硬件制造商推荐的任何固件更新。

3.4. Adobe Reader (acroread) and Other PDF Readers

Adobe no longer provides (security) updates for Adobe Reader (acroread). Therefore the acroread package was dropped from the distribution to protect openSUSE users.

openSUSE includes various PDF viewing tools like Okular, Evince, and xpdf-poppler. These tools are actively maintained and get security fixes from openSUSE and their upstream authors.

4. 系统升级

4.1. Upgrading with Zypper (dup) Requires /etc/fstab Cleanup

When upgrading with zypper dup (YaST upgrade handles it automatically) users should remove the following /etc/fstab entries if present:

tmpfs   /dev/shm
devpts  /dev/pts
sysfs   /sys sysfs
proc    /proc proc

This is especially important for Gnome users, otherwise the Gnome terminal will fail with "grantpt failed: Operation not permitted". These mount points are managed by systemd and should no longer be present in /etc/fstab.

4.2. 移除了 SYSLOG_DAEMON 变量

SYSLOG_DAEMON 变量被移除了。之前,它用于选择 syslog 守护精灵。自 openSUSE 12.3 起,同一时间在系统上只能安装一个 syslog 实现,并将被自动选用。

细节请见 syslog(8) 手册页。

5. 技术

5.1. 使用 KMS 初始化图形界面 (内核模式设置)

自 openSUSE 11.3 起,我们为 Intel、ATI 和 NVIDIA 显卡切换到了 KMS (内核模式设置),因此现在 KMS 是我们的默认设置。若您遇到了 KMS 驱动支持问题 (intel,radeon,nouveau),可通过向内核引导命令行添加 nomodeset 来禁用 KMS。若使用 Grub2, 我们的默认引导加载器,欲永久设置,可以根用户身份将该选项添加到您的 /etc/default/grub 文本文件中的 GRUB_CMDLINE_LINUX_DEFAULT 内核默认加载选项行中去,并运行终端命令

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

以让修改生效。另外,若使用 Grub Legacy,也请以根用户身份将该选项添加到 /boot/grub/menu.lst中的内核命令行中。该选项保证了在 initrd 中使用 modeset=0 加载适当的内核模块 (intel, radeon, nouveau),也就是说,禁用了 KMS。

在极少见的情况下从 initrd 挂载 DRM 模块出错是一个常见的问题,KMS 只是躺着中枪而已。这时更应该在 initrd 里完全禁用加载 DRM 模块而不是去搞 KMS。通过 YaST 将 NO_KMS_IN_INITRD sysconfig 变量设置为 yes,之后会重建 initrd。然后重启计算机。

若 Intel 显卡未开启 KMS, X 服务器会退而求其次使用 fbdev 驱动 (intel 驱动只支持 KMS);另外,对于旧款 Intel 显卡,"intellegacy" 驱动 (xorg-x11-driver-video-intel-legacy 软件包) 依然可用,它依然支持 UMS (用户模式设置)。欲使用它,可编辑 /etc/X11/xorg.conf.d/50-device.conf,并将 driver 驱动条目修改为 intellegacy

若检测到 ATI 显卡是目前流行型号的,X 服务器会退而求其次使用 radeonhd。若NVIDIA 显卡未开启 KMS,X 服务器将使用 nv 驱动。(nouveau 驱动只支持 KMS)。注意,若您指定了 nomodeset 内核引导参数,新型号的 ATI 和 NVIDIA 显示处理器会退而求其次使用 fbdev

5.2. Samba version 4.1

Samba version 4.1 shipped with openSUSE 13.1 does not include support to operate as an Active Directory style domain controller. This functionality is currently disabled, as it lacks integration with system-wide MIT Kerberos.

5.3. 配置 Postfix

自 openSUSE 12.3 起,SuSEconfig.postfix 被重命名为了 /usr/sbin/config.postfix。若您在 /etc/sysconfig/postfix/etc/sysconfig/mail 中设置了 sysconfig 变量,您必须以 root 身份手动运行 /usr/sbin/config.postfix

5.4. xinetd:记录到系统日志

xinetd 的新默认值把默认日志对象从 /var/log/xinetd.log 修改到系统日志了。这意味着 xinetd 的全部消息均将作为设施守护程序和日志级别信息出现在系统日志中。

若您想要切换回以前的方法,请去 /etc/xinetd.conf 中查找中意的脚本。xinetd.log 的 logrotate 脚本模板可在 /usr/share/doc/packages/xinetd/logrotate 中找到。

5.5. Apache Version 2.4

Apache 2.4 features various changes in the configuration files. For more information about upgrading from a previous version, see http://httpd.apache.org/docs/2.4/upgrading.html.

5.6. tomcat:记录到系统日志

tomcat 启动脚本不再将输出写入到 /var/log/tomcat/catalina.out 了。现在全部消息均通过 tomcat.service (tomcat-jsvc.service) 重定向到系统日志和日志级别信息了。

5.7. Darktable:需要刷新缓存文件

若您是从之前版本升级到 openSUSE 13.1 的,旧缓存文件可能不再能用了。在这种情况下需要移除 ~/.cache/darktable/mipmaps

5.8. KDE and Bluetooth

The Bluetooth stack is provided by Bluez 5 (a major, backwards-incompatbile version), a necessary upgrade for GNOME desktop and some other components of the base system. Unfortunately, the KDE workspace only supports Bluez version 4 in its currently-released versions.

Therefore, the openSUSE KDE community team offers an unofficial Bluedevil package providing at least basic functionality such as device pairing or support for bluetooth mice; Some other features are known not to work jet, like file transfer.

For the moment, bugs should not be filed against Bluetooth support in KDE as the Bluez 5 port of Bluedevil is still ongoing.