openSUSE 12.2 Release Notes


Wersja:

12.2.8 (2012-08-21)

Copyright © 2012 Novell, Inc.

Udziela się zgody na kopiowanie, dystrybucję i/lub modyfikacje tego dokumentu zgodnie z zasadami licencji GNU Free Documentation Licence w wersji 1.2 lub późniejszej wydanej przez Free Software Foundation; bez stałych sekcji oraz bez tekstów z okładek przedniej i tylnej. Kopia licencji została dołączona jako plik fdl.txt.

Jeśli openSUSE jest aktualizowane ze starszej wersji, zobacz wcześniejsze informacje o wydaniu zamieszczone na: http://en.opensuse.org/openSUSE:Release_Notes

Niniejsze informacje opisują następujące zagadnienia:

1. Informacje dodatkowe

Niedostępne

2. Instalacja

2.1. Szczegółowe informacje o instalacji

For detailed installation information, see the openSUSE Documentation referenced below.

3. Informacje ogólne

3.1. Dokumentacja openSUSE

  • W podręczniku "Start-Up" można znaleźć zarówno instrukcję instalacji krok po kroku, jak i instrukcje dla środowiska KDE i Gnome oraz pakietu LibreOffice. Przewodnik zawiera także podstawowe zagadnienia związane z administracją systemu, tj. jak zarządzanie oprogramowaniem oraz wstęp do powłoki bash.

  • Podręcznik "Reference" opisuje szczegółowo zagadnienia związane z administracją i konfiguracją systemu oraz wyjaśnia jak skonfigurować różnorodne usługi sieciowe.

  • Podręcznik "Security Guide" pozwoli poznać podstawowe pojęcia związane z bezpieczeństwem systemu, zarówno lokalnym jak i sieciowym.

  • Podręcznik "System Analysis and Tuning" pomaga w wykrywaniu i rozwiązywaniu problemów oraz w optymalizacji.

  • Podręcznik "Virtualization with KVM" zawiera wprowadzenie do konfiguracji i zarządzania wirtualizacją za pomocą narzędzi KVM, libvirt oraz QEMU.

4. Aktualizacja systemu

4.1. Remote Update via "zypper dup"

When upgrading from openSUSE 12.1 (or older), openSSH connections will be closed when the new openssh package is upgraded. If you are upgrading with "zypper dup" over SSH, run "zypper dup" inside a resumable terminal multiplexer (e.g., "screen" or "tmux") so that you can re-connect easily, or at least immune to connection loss (e.g., via "nohup").

4.2. sysvinit Deprecated

Some desktop components depend on services provided by systemd only. So while openSUSE 12.2 still has basic support for booting a system with sysvinit as fallback, sysvinit nevertheless is considered deprecated and probably even faulty or broken in some regard. If you have any issues with a sysvinit booted system, use systemd before filing bug reports.

4.3. mount and losetup Dropped Support for cryptoloop

cryptoloop has known weaknesses and is therefore considered obsolete in favor of dm-crypt since years. mount (e.g., via /etc/fstab) and losetup now finally dropped support for cryptoloop. This means old fstab entries that use cryptoloop to access encrypted containers no longer work this way. The containers can still be accessed with dm-crypt (/etc/crypttab), though. Refer to http://en.opensuse.org/Encrypted_Filesystems for examples how to use to the new method.

4.4. Montowanie szyfrowanych partycji przy pomocy systemd

Jeżeli szyfrowane partycje nie są montowane automatycznie przy pomocy systemd, to przyczyną takiego zachowania może być flaga noauto w pliku /etc/fstab. Zamiana tej flagi na nofail może rozwiązać problem. Na przykład, należy zmienić poniższą linię:

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

na

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

5. Techniczne

5.1. Inicjalizacja grafiki z KMS (Ustawienia trybu jądra)

With openSUSE 11.3 we switched to KMS (Kernel Mode Setting) for Intel, ATI and NVIDIA graphics, which now is our default. If you encounter problems with the KMS driver support (intel, radeon, nouveau), disable KMS by adding nomodeset to the kernel boot command line. To set this permanently using Grub 2, the default boot loader, add it to the GRUB_CMDLINE_LINUX_DEFAULT kernel default load options line in your /etc/default/grub text file as root and running the terminal command

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

for the changes to take effect. Else, for Grub Legacy, add it to the kernel command line in /boot/grub/menu.lst, also done as root. This option makes sure the appropriate kernel module (intel, radeon, nouveau) is loaded with modeset=0 in initrd, i.e. KMS is disabled.

In the rare cases when loading the DRM module from initrd is a general problem and unrelated to KMS, it is even possible to disable loading of the DRM module in initrd completely. For this set the NO_KMS_IN_INITRD sysconfig variable to yes via YaST, which then recreates initrd afterwards. Reboot your machine.

Na platformie Intel bez KMS Xserver powraca do sterownika fbdev (sterownik intel wspiera tylko KMS); opcjonalnie, istnieje sterownik "intellegacy" (pakiet xorg-x11-driver-video-intel-legacy), który nadal wspiera UMS (ustawienia trybu użytkownika). Aby go użyć należy edytować plik /etc/X11/xorg.conf.d/50-device.conf zmieniając wpis dotyczący sterownika na intellegacy.

Na platformie ATI dla obecnych GPU powraca do radeonhd. Dla NVIDIA bez KMS, używany jest sterownik nv (sterownik nouveau wspiera jedynie KMS).

5.2. Booting with Deprecated sysvinit

By default, openSUSE now boots using systemd. In case of trouble, you can try to switch back to the deprecated sysvinit way by pressing the F5 key on the boot. For more information about limitations when booting with sysvinit, see Sekcja 4.2, „sysvinit Deprecated”.

5.3. systemd: podawanie parametrów uruchamiania usługi

systemctl obsługuje tylko "standardowe" parametry (zobacz http://www.freedesktop.org/wiki/Software/systemd/Incompatibilities).

Można ominąć nowe zachowanie, wywołując skrypt startowy bezpośrednio, na przykład:

cd /etc/init.d
./apache2 <your_parameters>

5.4. systemd: Zamykanie systemu

Aby wstrzymać i wyłączyć system używając systemd, należy użyć polecenia halt -p lub shutdown -h now w linii poleceń lub skorzystać z przycisku zamykania systemu dostępnego w środowisku graficznym.

Uwaga: Polecenie halt bez podania parametrów nie zamknie systemu prawidłowo.

5.5. systemd: Wykorzystanie tmpfs: /run, /var/run, /media, etc.

systemd montuje także katalogi, które zawierają tylko ulotne dane, a systemy plikowe tmpfs: /run, /var/run, /var/lock, i /media są takim katalogami. Dodatkowe informacje dostępne są pod adresem http://lwn.net/Articles/436012/.

Uwaga: Nie należy przechowywać plików które mają przetrwać ponownie uruchomienie komputera w /run, /var/run, itd.

5.6. systemd: Czyszczenie katalogów (/tmp i /var/tmp)

systemd zarządza katalogami tak jak określono w katalogu tmpfiles.d oraz w pliku /lib/systemd/system/systemd-tmpfiles-clean.timer. Więcej informacji dostępnych jest na stronach podręcznika tmpfiles.d.

Domyślnie, systemd czyści katalogi tmp codziennie, tak jak skonfigurowano w pliku /usr/lib/tmpfiles.d/tmp.conf:

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

Uwaga: systemd nie bierze pod uwagę ustawień sysconfig zapisanych w pliku /etc/sysconfig/cron, takich jak TMP_DIRS_TO_CLEAR.

5.7. Auto-mounting USB Media

Gnome and Xfce now use udisks2 to automatically mount USB media under /run/media/$USER. KDE still uses udisks version 1 and mounts USB media under /media.

5.8. Timezone Information in /etc/adjtime

The third line of /etc/adjtime now contains information whether your BIOS clock runs on UTC or in local timezone (previously stored in HWCLOCK in /etc/sysconfig/clock).

If /etc/adjtime contains wrong drift information (for example after fixing date and time with ntpdate or have ntpd running), set the variable USE_ADJUST to "no" in /etc/sysconfig/clock.

5.9. GNU tar Defaults to Creating POSIX-compliant Archives

GNU tar now defaults to --format=posix and create POSIX-compliant archives with PAX extended headers. Check whether your scripts and applications are compatible with this format.

The former behavior (and upstream default) can be restored by setting the environment:

TAR_OPTIONS='--format=gnu'

or

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