openSUSE 13.1 版本资讯

Version: 13.1.7 (2013-11-14)

版权所有 © 2013 SUSE LLC

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


1. 杂项
2. 安装
2.1. 关于详细安装信息
3. 常规
3.1. openSUSE 文档
3.2. 作废的 YaST 模块
3.3. UEFI—统一可扩展固件接口
3.4. UEFI, GPT, and MS-DOS Partitions
3.5. Booting When in Secure Boot Mode
3.6. Adobe Reader (acroread) 和其它 PDF 阅读器
4. 系统升级
4.1. 使用 Zypper (dup) 升级需要清理 /etc/fstab
4.2. 移除了 SYSLOG_DAEMON 变量
4.3. Duplicated Network Interfaces
5. 技术
5.1. 使用 KMS 初始化图形界面 (内核模式设置)
5.2. Garbage on the Screen During Installation with the Nouveau Driver
5.3. Samba Version 4.1
5.4. 配置 Postfix
5.5. xinetd:记录到系统日志
5.6. Apache 2.4 版
5.7. tomcat:记录到系统日志
5.8. Darktable:需要刷新缓存文件
5.9. Locate: Replacing findutils-locate by mlocate
5.10. KDE 和蓝牙
5.11. AppArmor and Permission Settings
5.12. Skype

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

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

1. 杂项

不可用

2. 安装

2.1. 关于详细安装信息

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

3. 常规

3.1. openSUSE 文档

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

安装 opensuse-startup_$LANG 软件包后可在 /usr/share/doc/manual/opensuse-manuals_$LANG 找到我们的文档,也可以使用在线文档 http://doc.opensuse.org

3.2. 作废的 YaST 模块

以下 YaST 模块被淘汰了,实际上现在确实也很少用到:

  • 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

之所以作废它们,主要原因是为了降低维护压力并更好的聚焦于其它用得更多的模块。

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

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

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

3.4. UEFI, GPT, and MS-DOS Partitions

Together with the EFI/UEFI specification a new style of partitioning arrived: GPT (GUID Partition Table). This new schema uses globally unique identifiers (128-bit values displayed in 32 hexadecimal digits) to identify devices and partition types.

Additionally, the UEFI specification also allows legacy MBR (MS-DOS) partitions. The Linux boot loaders (ELILO or GRUB2) try to generate automatically a GUID for those legacy partitions, and write them to the firmware. Such a GUID can change frequently, causing a rewrite in the firmware. A rewrite consist of two different operation: removing the old entry and creating a new entry that replaces the first one.

Modern firmware has a garbage collector that collects deleted entries and frees the memory reserved for old entries. A problem arises when faulty firmware does not collect and free those entries; this may end up with a non-bootable system.

The workaround is simple: convert the legacy MBR partition to the new GPT to avoid this problem completely.

3.5. Booting When in Secure Boot Mode

这只影响 UEFI 模式中开启了安全引导的机器。

The new version of the shim loader allows more machines to boot with Secure Boot enabled than with openSUSE 12.3. Nevertheless, in case of trouble, first update the BIOS of your machine to the latest version. If the BIOS update does not help, report the model of your machine it the wiki (http://en.opensuse.org/openSUSE:UEFI). Then we can track it for the next release.

3.6. Adobe Reader (acroread) 和其它 PDF 阅读器

Adobe 不再为 Adobe Reader (acroread) 提供 (安全) 更新了。因此我们从发行版中作废了 acroread 软件包以保护 openSUSE 用户。

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

For more information, see http://en.opensuse.org/Adobe_Reader.

4. 系统升级

4.1. 使用 Zypper (dup) 升级需要清理 /etc/fstab

当使用 zypper dup 升级时 (YaST 升级程序可自动处理) 用户应该移除以下或有的 /etc/fstab 项:

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

这对 GNOME 用户是特别重要的,否则 GNOME 终端将失败,消息为 "grantpt failed: Operation not permitted"。这些挂载点现在由 systemd 管理并不再应该出现在 /etc/fstab 中。

4.2. 移除了 SYSLOG_DAEMON 变量

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

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

4.3. Duplicated Network Interfaces

The current version of systemd uses a new convention for assigning predictable names to network interfaces. YaST is changed accordingly.

Some reports indicate a bug in YaST when conversion from one naming scheme to another takes place. If the same network interface has two different names, you have been hit by this bug. In this case remove the different network interfaces in /etc/sysconfig/network and use YaST to configure the network anew.

For more information about predictable network interface names, see http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/.

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. Garbage on the Screen During Installation with the Nouveau Driver

On some systems with NVIDIA cards, the installer may show garbage on the top part of the screen due to problems with the default nouveau driver. If you are affected by this problem, you can disable the nouveau kernel module to run the installer and then enable it again once the system is installed or upgraded.

To disable the kernel module, once you boot from the installation media, select the 'Installation' entry in grub and press 'e' to edit the parameters. Then go to the line starting with 'linux' (or 'linuxefi') and add brokenmodules=nouveau at the end. Now press F10 to continue booting with the new parameter. After the system is installed, you can re-enable the nouveau module by editing /etc/modprobe.d/50-blacklist.conf and removing the entry that blacklists nouveau.

5.3. Samba Version 4.1

openSUSE 13.1 携带的 Samba 4.1 版并未包含作为一个活动目录风格的域控制器运行的支持。这个功能目前是禁用的,因为它缺少与系统全局的 MIT Kerberos 的整合。

5.4. 配置 Postfix

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

5.5. xinetd:记录到系统日志

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

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

5.6. Apache 2.4 版

Apache 2.4 的配置文件有许多变化。更多从之前版本升级过来的信息请见 http://httpd.apache.org/docs/2.4/upgrading.html

5.7. tomcat:记录到系统日志

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

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

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

5.9. Locate: Replacing findutils-locate by mlocate

The mlocate tool is the replacement for findutils-locate. In the default configuration mlocate behave the same as findutils-locate. Because of an improved permission handling, it could take up to 24 hours, until the database file will become available to regular users.

In case you encounter a "Permission denied" message shortly after installing mlocate, run

/etc/cron.daily/mlocate.cron

as root once.

5.10. KDE 和蓝牙

蓝牙堆栈是由 Bluez 5 (一个主要的,向后不兼容的版本) 提供的,是 GNOME 桌面和基础系统的一些其它组件能够升级所必须的。很不幸的是,KDE workspace 在其目前发布的版本中只支持 Bluez 4 版。

因此,openSUSE KDE 社区团队提供了一个非官方的 Bluedevil 软件包,至少提供了一些基本功能诸如设备配对或蓝牙鼠标支持; 一些其它的功能是已知尚不可用的,如文件传输。

暂时,不应该针对 KDE 中的蓝牙支持填报故障报告,因为 Bluedevil 的 Bluez 5 移植仍在进行呢。

5.11. AppArmor and Permission Settings

AppArmor is enabled by default. This means more security, but prevent services from working, if you run them in less expected ways. If you encounter strange permission problems, try to disable AppArmor for the affected service. Even if it helps report it as a bug, because we want to fix AppArmor profiles to cover also corner cases.

5.12. Skype

PulseAudio 4.0 exposes a bug in the current version of Skype for Linux (v4.2). Until Skype is fixed and updated, run skype from the command line:

PULSE_LATENCY_MSEC=60 skype

For more information about this bug, see http://arunraghavan.net/2013/08/pulseaudio-4-0-and-skype/.