openSUSE Leap 42.3
版本资讯 #
openSUSE Leap 是一个用于您的个人计算机、笔记本电脑或服务器的基于 Linux 的自由操作系统。您可以使用它纵览网络风云,梳理电邮,剪辑相片,打点公务,观赏视频或品鉴音乐,尽享人生乐趣!
This is the initial version of the release notes for the forthcoming openSUSE Leap 42.3.
若您是从某个旧版本升级到 openSUSE Leap 42.2 的,之前版本的发行说明请参考:http://en.opensuse.org/openSUSE:Release_Notes。
本次公测的 beta 版本为 openSUSE 项目的一部分。有关 openSUSE 项目请参考:https://www.opensuse.org。
Report all bugs you encounter using this prerelease of openSUSE 42.3 in the openSUSE Bugzilla. For more information, see http://en.opensuse.org/Submitting_Bug_Reports. If you would like to see anything added to the release notes, file a bug report against the component “Release Notes”.
1 安装 #
此章节为关于安装过程的描述。详细的升级指引请参考文档 https://doc.opensuse.org/documentation/leap/startup/html/book.opensuse.startup/part.basics.html。
1.1 最小化系统安装 #
为了避免安装某些较大的推荐软件包,最小化安装模式可以减少不必要的软件包。安装后可以移除此 patterns-openSUSE-minimal_base-conflicts
模块。
请注意最小化安装默认没有防火墙。若需要,请安装 SuSEfirewall2
。
1.2 UEFI—统一可扩展固件接口 #
将 openSUSE 安装到使用 UEFI (统一可扩展固件接口) 引导的计算机上前,特别建议您检查一下硬件制造商推荐的固件更新,并且,如果有的话,安装这样的更新。预装了 Windows 8 是表明您计算机使用 UEFI 引导的一个明显标志。
背景:一些UEFI固件存在问题,会导致在向 UEFI 存储区域写入过多的数据时损坏。但是并没有清晰的数据来界定多少为“过多”。
openSUSE 仅写入可以引导操作系统所需的最小数据,从而将该风险控制在最低。最小数据意味着告知 UEFI 固件 openSUSE 引导加载器的位置。我们默认禁用了上游 Linux 内核使用 UEFI 存储区域存放引导和崩溃信息 (pstore
) 的功能。然而还是推荐安装硬件制造商推荐的任何固件更新。
1.3 UEFI, GPT 和 MS-DOS 分区 #
伴随着 EFI/UEFI 规范到来的是一种新的分区风格:GPT(GUID 分区表)。这种新方法使用全局唯一标识符(128 位值显示成 32 个十六进制数字)来识别设备和分区类型。
另外,UEFI 规范也允许传统的 MBR(MS-DOS)分区。Linux 引导加载器(ELILO 或 GRUB2)会尝试为这些传统方式的分区自动生成一个 GUID,并将它们写入到固件中。这样的 GUID 可频繁变化,导致重写固件。重写由两个不同操作组成:移除旧项和创建替代前一个项的新项。
现代固件具有垃圾收集器,可搜集删除的项并释放内存以预留给旧项。当错误的固件不搜集并释放这些项时就会导致问题。这可能致使系统无法引导。
规避方法很简单:将传统的 MBR 分区转换成新的 GPT 分区来避免此问题。
2 系统升级 #
此章节列出了与升级系统相关的注释。详细升级指引请参考文档 https://doc.opensuse.org/documentation/leap/startup/html/book.opensuse.startup/cha.update.osuse.html。
2.1 Upgrading from openSUSE Leap 42.2 #
2.2 从 openSUSE Leap 42.1 升级 #
2.2.1 被移除和替换的软件包 #
相对于 openSUSE Leap 42.1,以下软件包将被移除或替换:
arista:被替换为 transmageddon。
cadabra:源代码已无法构建,而且后续版本Cadabra 2目前还不稳定。
dropbear:被移除,因为相比 openssh 来说不具有相应的优势。
emerillon:被替换为 gnome-maps。
gnome-system-log:被替换为 gnome-logs。
hawk:被替换为 hawk2。
ksnapshot:被替换为 spectacle。
labplot:Labplot 已经被替换为其 Qt5 版本,称为 labplot-kf5。如果从安装有 labplot 的 openSUSE Leap 42.1 进行升级,你将自动获得 labplot-kf5。
nodejs:被重命名为 nodejs4。
psi:被替换为 psi+。
python-moin:被替换为 moinmoin-wiki。单纯的重命名,而非版本升级 — 几乎是相同的替代品。
ungifsicle:被替换为 gifsicle。
xchat:被替换为 hexchat。
2.2.2 /var/cache
将在独立的子卷 (subvolume) 中进行快照和回滚 (rollback) #
/var/cache
中包含许多易挥发数据,例如像 Zypper 在每次更新时不同版本的 RPM 软件包缓存。由于其存储的数据具有大量冗余但易挥发,导致快照所占用的总磁盘空间会增长很快。
To solve this, move /var/cache
to a separate
subvolume. On fresh installations of openSUSE Leap 42.3, this is
done automatically. To convert an existing root file system, perform the
following steps:
找到根目录所在文件系统的设备名(例如,
/dev/sda2
或者/dev/sda3
):df /
找到所有子卷的父级子卷。对于 openSUSE 13.2 ,其子卷名称为
@
。要检查你是否有@
子卷,使用:btrfs subvolume list / | grep '@'
如果此命令的输出为空,则不存在名为
@
的子卷。在这种情况下,您可以使用 ID 为 5 的子卷 ,这是旧版本 openSUSE 所使用的。现在挂载需要的子卷。
如果存在
@
子卷,则将此子卷挂载到临时挂载点上:mount <root_device> -o subvol=@ /mnt
If you do not have a
@
subvolume, mount subvolume ID 5 instead:mount /dev/<root_device> -o subvolid=5 /mnt
/mnt/var/cache
也许已经存在,而且可能与/var/cache
是相同的目录。为了避免数据丢失,将其转移:mv /mnt/var/cache /mnt/var/cache.old
创建新的子卷:
btrfs subvol create /mnt/var/cache
如果此时存在
/var/cache.old
目录,则将其转移到新的位置:mv /var/cache.old/* /mnt/var/cache
如果不是这种情况,则执行:
mv /var/cache/* /mnt/var/cache/
可以选择将
/mnt/var/cache.old
删除:rm -rf /mnt/var/cache.old
从临时挂载点上卸载此子卷:
umount /mnt
在
/etc/fstab
中为新的/var/cache
子卷添加一个条目。从已存在的子卷条目作为模板进行复制。确保不要更改 UUID (这是根文件系统的 UUID),并修改子卷名称以及挂载点,使其与/var/cache
一致。挂载
/etc/fstab
中所设置的新子卷:mount /var/cache
2.2.3 GNOME Keyring Does Not Integrate with GPG Anymore #
The integrated GPG agent of GNOME Keyring has been removed. Therefore,
GNOME Keyring cannot be used to manage GPG keys anymore. You can still
manage GPG keys on the command line using the gpg
tool.
2.2.4 Synaptics X 驱动程序在 GNOME 下可能会降低触摸版的使用体验 #
In openSUSE Leap 42.1, the Synaptics X driver (package xf86-input-synaptics) was installed by default but had a lower priority than the libinput driver (xf86-input-libinput).
With openSUSE Leap 42.3:
Synaptics X 驱动程序不再默认安装。
如果安装了 Synaptics X 驱动,则会在任何触摸板设备上优先使用。
GNOME 不再支持Synaptics X 驱动程序。这意味着当驱动程序安装后,只可以设置 Synaptics 触摸板做为基本的鼠标操作。
除非您正在使用 Synaptics 触摸板并且对 Synaptics 驱动程序进行了大量的自定义设置,请将此软件包从系统中删除:
sudo zypper rm xf86-input-synaptics
2.2.5 AArch64: Page Size Has Been Changed From openSUSE Leap 42.1 to openSUSE Leap 42.3 #
In openSUSE Leap 42.1, the default page size on AArch64 platforms was 64 kB. With openSUSE Leap 42.3, the page size has been changed to 4 kB. This renders old Swap and Btrfs file systems unusable.
If you are currently on openSUSE Leap 42.1 on AArch64, consider a fresh installation of openSUSE Leap 42.3 instead of upgrading.
2.2.6 Systems with CCISS Controllers Can Fail to Boot After Upgrade #
The driver for Compaq/HP Smart Array (CCISS) controllers
(cciss.ko
) does not support certain controllers
anymore by default. This can lead to the root disk not being detected by
the openSUSE Leap 42.3 kernel.
On affected systems, the CCISS driver can be configured to revert to the
previous behavior and detect the controllers again. To do so, add the
kernel parameter cciss.cciss_allow_hpsa=0
.
3 常规 #
This section lists general issues with openSUSE Leap 42.3 that do not match any other category.
3.1 KDE 的个人信息管理软件 (KDE PIM) #
openSUSE Leap 42.3 ships two versions of the KDE PIM (Kontact, KMail, etc.) suite:
旧的 4.x 版本
基于 KDE Frameworks 5 的版本
KDE 上游不再支持 KDE PIM 4.x,但是为了避免影响用户的工作流程,仍将其保留。
两个版本的 KDE PIM 不可以同时安装。一些软件,像 KNode(软件包 knode )需要旧的 4.x 版本,当安装任何 KDE PIM 5.x 软件包(例如 kmail5)时这些软件会被卸载。
You are encouraged to switch to the newer 5.x version, as KDE PIM 4.x will be removed in the future.
然而,并不是所有的设置都会被从旧版本迁移过来。详细信息见缺陷报告 https://bugzilla.opensuse.org/show_bug.cgi?id=1001872)。
3.2 Dolphin Does Not Set Extended Permission Bits #
The version of the KDE file manager Dolphin that is shipped with openSUSE Leap 42.3 cannot set “Extended Permission” bits (GID, “Sticky”). Additionally, closing the Dolphin permissions dialog by clicking clears existing extended permissions bits.
To avoid such issues, edit permissions with Konqueror (GUI) or
chmod
(command line) only.
3.3 当使用 GNOME Shell 但不使用 GDM 时,屏幕锁定不起作用 #
当 GNOME Shell 和其他非 GDM 的登录管理器,如 SDDM 或 LightDM 共同使用时,屏幕不会清空或锁定。除此之外,也无法在不退出登录的情况下切换用户。
若要在 GNOME Shell 中使用屏幕锁定,在你的登录管理器中启用 GDM:
确保软件包 gdm 已安装。
打开 YaST,并在里面打开
。移动到
› › 。在文本框中,指定
gdm
。点击 进行保存。重新启动系统。
4 更多信息和反馈 #
请阅读安装介质上的
README
文档。从 RPM 中获取关乎某特定软件包的详细修订历史信息:
rpm --changelog -qp FILENAME.rpm
讲 FILENAME 替换为 RPM 的名称。
查看介质顶层目录中的
ChangeLog
日志获得按时间排列的全部软件包更新历史。可于介质上的
docu
文件夹获取更多信息。For additional or updated documentation, see https://doc.opensuse.org/.
For the latest product news, from openSUSE, visit https://www.opensuse.org.
版权所有 © 2017 SUSE LLC
感谢使用 openSUSE。
openSUSE 团队。