openSUSE 12.1 Julkaisutiedot

Versio:

12.1.12 (2012-04-13)

Copyright © 2012 Novell, Inc.

Tätä dokumenttia saa kopioida, levittää ja/tai muokata GNU Free Documentation License -lisenssin ehtojen mukaisesti, kuten mainittu versiossa 1.2 tai missä tahansa myöhemmässä versiossa, jonka Free Software Foundation on julkaissut. Dokumentissa ei saa olla muuttumattomia osioita, eikä se saa olla etu- tai takakannen teksti. Kopio käyttöoikeussopimuksesta löytyy tiedostosta fdl.txt.

Jos päivität vanhemmasta versiosta nykyiseen openSUSE-julkaisuun, katso edelliset julkaisutiedot: http://en.opensuse.org/openSUSE:Release_Notes

Nämä julkaisutiedot sisältävät seuraavat kohdat:

Sekalaiset
  1. YaST AppArmor -määritysmoduuli
Asennus
  1. For Detailed Installation Information
Yleistä
  1. openSUSE-dokumentaatio
  2. GNOME 3
  3. PulseAudio-äänijärjestelmä
  4. Btrfs
  5. Windows Domain Logon with KDM
  6. Oracle Java -päivitys saatavilla
  7. Removing 32-Bit XEN Hypervisor
  8. Formatting Large Disk Partitions on Windows 8 Server
  9. Configuring Postfix
Järjestelmäpäivitys
  1. Mounting Encrypted Partitions with dm-crypt
  2. Mounting Encrypted Partitions Using systemd
Tekninen
  1. Näytönohjaimet ja KMS (Kernel Mode Setting)
  2. Radeon HDMI Sound Output Being Disabled
  3. Booting with systemd or sysvinit
  4. systemd: Supplying Service Start-up Parameters
  5. systemd: System Shutdown
  6. systemd: Making Use of tmpfs: /run, /var/run, /media, etc.
  7. systemd: Cleaning Directories (/tmp and /var/tmp)
  8. CUPS 1.5
  9. rename-komento
  10. NetworkManager Command Line Interface
  11. rpm: %_topdir Changed for Non-root Users

Sekalaiset

YaST AppArmor -määritysmoduuli

FATE-luokat https://features.opensuse.org/305278: AppArmor, YaST.

Löydät AppArmor-määritysmoduulin YaST-ohjauskeskuksesta kohdasta Tietoturva ja Käyttäjät.

Asennus

For Detailed Installation Information

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

Yleistä

openSUSE-dokumentaatio

GNOME 3

GNOME 3:n tarjoama työpöytäympäristö on erilainen kuin GNOME 2:n. Tämän seurauksena ja jotta käyttäjät hyötyisivät muutoksista GNOME 2 -työpöydän ulkoasu ja käytettävyys eivät siirry automaattisesti. GNOME 3:n muokkaus tapahtuu käyttämällä Järjestelmän asetukset-valikkoa, josta löytyy myös edistyneempi työkalu (gnome-tweak-tool) yksityiskohtaisempaan muokkaukseen.

The standard mode of GNOME 3 requires support for 3D acceleration in the graphic drivers. When 3D acceleration is not available, GNOME 3 then uses the fallback mode. If it turns out that GNOME 3 detects availability of 3D acceleration, but the standard mode is unusable, then you likely hit a bug in the graphic drivers. You can force the fallback mode with the "gnome.fallback=1" argument on the boot line in grub.

Jos käynnistät varatilassa paneelit voi muokata painamalla Alt-näppäintä ja klikkaamalla paneelia hiiren oikealla painikkeella.

Lyhyt kuvaus GNOME Shellin monista ominaisuuksista kuten näppäinoikoteistä, vedä ja pudota -toiminnoista ja apuohjelmista löytyy linkistä https://live.gnome.org/GnomeShell/CheatSheet.

PulseAudio-äänijärjestelmä

PulseAudio-äänijärjestelmä on nyt integroitu järjestelmän laajuisesti ja otetaan käyttöön oletusarvoisesti uusissa asennuksissa. Jos poistit sen edellisessä julkaisussa ja haluat nyt asentaa uudelleen, katso PULSEAUDIO_ENABLE muuttuja tiedostossa /etc/sysconfig/sound:

Aseta PULSEAUDIO_ENABLE arvoksi "yes" mahdollistaaksesi PA kaikkialla. Asetus PULSEAUDIO_ENABLE arvoon "no" poistaa PulseAudion kokonaan ja arvo "muokattu" tarkoittaa puolestaan sitä, että kokoonpano säilyy koskemattomana.

Btrfs

Btrfs is the next generation filesystem for Linux. As a preview of the new technology, you can create btrfs partitions or setup your whole system with btrfs.

Note: The btrfs filesystem is in active development, and check and repair functionality ("scrub") has been added just recently. "Scrub" is aimed to verify data and metadata assuming the tree structures are fine; it can (and should) be run periodically on a mounted filesystem: it runs as a background process during normal operation.

Thus we advice to carefully consider, which data to put on the filesystem, and follow the usual suggestions for redundancy and backup. For more information, see http://btrfs.wiki.kernel.org.

Btrfs contains many interesting new features, including the ability to take snapshots of your filesystem. Snapshot and rollback is supported by snapper, and already integrated into openSUSE package and system management tools such as zypper and YaST.

Windows Domain Logon with KDM

The SUSE KDM theme does not allow Windows Domain logons.

To work around this issue, set DISPLAYMANAGER_KDM_THEME to an empty string in /etc/sysconfig/displaymanager to use the default KDM theme:

DISPLAYMANAGER_KDM_THEME=""

Oracle Java -päivitys saatavilla

Johtuen lisenssimuutoksista Java-1_6_0-sun -paketti ei ole enää osa openSUSE:a. OpenJDK-kehitysympäristö korvaa sen. Ne openSUSE-käyttäjät, jotka pitävät Oracle JDK:n binääriversiota parempana kuin openSUSE:n OpenJDK:ta, voivat ladata Oraclen version osoitteesta http://oracle.com/java.

Removing 32-Bit XEN Hypervisor

The 32-Bit XEN Hypervisor is no longer available. Use the 64-bit XEN Hypervisor instead for 32-bit and 64-bit virtual guests.

Formatting Large Disk Partitions on Windows 8 Server

Installing a guest hosted on Windows 8 Server may fail when a large virtual disk image (larger than 50 GB) in .vhdx format is assigned to the guest. To workaround this issue use either virtual disk images with a fixed size, or create the dynamically sized disk image using Powershell.

Technical Background about the Issue

The .vhd and .vhdx images are sparse files. When a dynamic .vhdx is created with a maximum size of 127 GB, the initial size is about 256 KB. Because the default block size for .vhdx files is 32 MB, writing one 512 byte sector will result in a 32 MB section of the sparse file being allocated. When ext3 is allocating the MBR, the super block, the backup super blocks, inodes, directories, etc., space is being allocated in the sparse file. Because of ext3's suboptimal IO, how the data structures are laid out on disk, and the default block size, a large partition of the .vhdx file is allocated just by formatting. The workaround is to create a .vhdx file with a 1 MB block size rather than the default 32 MB.

Changing the block size in the UI is not implemented. It can only be changed when the VHDx file is created through Powershell. To create a VHD with a modified block size, use this Powershell script (all in one line):

New-VHD -Path C:\MyVHDs\test.vhdx -SizeBytes (127GB)
  -Dynamic -BlockSizeBytes (1MB) -VHDFormat vhdx

Configuring Postfix

There is no SuSEconfig postfix module any more. Thus SuSEconfig no longer writes the postfix configuration files, if you set sysconfig variables in /etc/sysconfig/postfix or /etc/sysconfig/mail.

After modifying sysconfig variables you must manually run /usr/sbin/SuSEconfig.postfix as root.

Järjestelmäpäivitys

Mounting Encrypted Partitions with dm-crypt

On ancient SUSE systems, /etc/cryptotab was used for setting up devices with the now deprecated cryptoloop technology. 12.1 only supports /etc/crypttab (without 'o'!), which uses dm-crypt. Users who still have a cryptotab from the old days should run convert_cryptotab, which prints instructions about what to put in crypttab and fstab instead.

Mounting Encrypted Partitions Using systemd

If encrypted partitions are not automatically mounted when using systemd, the noauto flag in /etc/fstab for these partitions could be the cause. Replacing this flag with nofail will fix it. For instance, change the following line:

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

->

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

Tekninen

Näytönohjaimet ja KMS (Kernel Mode Setting)

openSUSE 11.3:ssa vaihdoimme Intel-, ATI- ja NVIDIA-näytönohjaimissa KMS-toimintoon (Kernel Mode Setting), joka on nyt oletus. Jos kohtaat ongelmia KMS-ajurituen kanssa (intel, radeon, nouveau), poista KMS käytöstä lisäämällä nomodeset ytimen käynnistysriville. Asettaaksesi tämän pysyväksi, lisää se ytimen käynnistysriville tiedostoon /boot/grub/menu.lst. Valinta varmistaa oikean ydinmoduulin (intel, radeon, nouveau) lataamisen modeset=0 -tilassa initrd-tiedostosta - ts. KMS on poistettu käytöstä.

Joissain harvinaisissa tapauksissa kun DRM-moduulin lataus initrd-tiedostosta epäonnistuu KMS:stä riippumattomista syistä, DRM-moduulin lataus on mahdollista poistaa initrd-tiedostosta kokonaan YaSTilla: vaihda sysconfig-muuttujan NO_KMS_IN_INITRD arvoksi yes, jolloin initrd päivitetään. Käynnistä järjestelmä uudelleen.

Ilman KMS-toimintoa Intel käyttää Xserverin fbdev-ajuria (intel-ajuri tukee vain KMS:ää). Vaihtoehtona voi käyttää "intellegacy"-ajuria (xorg-x11-driver-video-intel-legacy-paketti), joka yhä tukee UMS:ää eli käyttäjän asettamaa tilaa. Käyttääksesi sitä muokkaa tiedostoa /etc/X11/xorg.conf.d/50-device.conf ja muuttaa ajuriksi intellegacy.

ATI:n tapauksessa uudemmat grafiikkasuorittimet tiputetaan radeonhd-ajuriin. NVIDIA ilman KMS:ää käyttää nv-ajuria (nouveau-ajuri tukee vain KMS:ää). Huomioi, uudemmat ATI ja NVIDIA GPU:t palaavat fbdev:iin, jos määrittelet nomodeset ytimen käynnistysparametrit.

Radeon HDMI Sound Output Being Disabled

Due to problems on some hardware HDMI sound output has been disabled by default on the radeon driver, which is the default driver for AMD/ATI graphics cards.

It can be re-enabled by adding radeon.audio=1 as a kernel parameter. In YaST, go to System -> Boot Loader, then click Edit on the default entry, and add the following to the end of 'Optional Kernel Command Line Parameter':

radeon.audio=1

Then reboot to apply the change.

Alternatively, users can install the proprietary driver from AMD. For more information, see http://en.opensuse.org/SDB:ATI_drivers.

Booting with systemd or sysvinit

By default, openSUSE now boots using systemd. In case of trouble, you can switch back to the old way using sysvinit by pressing the F5 key on the boot.

If you want to switch to sysvinit permanently, install the sysvinit-init package. To switch back to systemd, reinstall the systemd-sysvinit package.

systemd: Supplying Service Start-up Parameters

systemctl only supports "standard" parameters (see http://www.freedesktop.org/wiki/Software/systemd/Incompatibilities).

You can bypass this new behavior by calling the start-up script directly, for example:

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

systemd: System Shutdown

Pysäyttääksesi ja sammuttaaksesi järjestelmän systemd:n ollessa käytössä. anna komento halt -p tai shutdown -h now. Voit myös käyttää työpöytäympäristösi tarjoamaa sammutuspainiketta.

Huomio: pelkkä halt-komento ei sammuta järjestelmää asianmukaisesti.

systemd: Making Use of tmpfs: /run, /var/run, /media, etc.

systemd mounts several directories that are meant to contain volatile data only, as tmpfs filesystems: /run, /var/run, /var/lock, and /media are those directories. For background information, see http://lwn.net/Articles/436012/.

Note: Do not store files that are meant to survive a reboot, in /run, /var/run, etc.

systemd: Cleaning Directories (/tmp and /var/tmp)

systemd maintains directories as specified in the tmpfiles.d directories and in /lib/systemd/system/systemd-tmpfiles-clean.timer. For more information, see the tmpfiles.d manpage.

By default, systemd cleans tmp directories daily as configured in /usr/lib/tmpfiles.d/tmp.conf:

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

Note: systemd does not honor sysconfig variables in /etc/sysconfig/cron such as TMP_DIRS_TO_CLEAR.

CUPS 1.5

CUPS 1.5 -tulostusohjelmistossa on taaksepäin ei-yhteensopivia muutoksia:

rename-komento

GNU Coding Standards -ohjeiden mukaan rename-komento kohtelee nyt kaikkia merkkijonoja, jotka alkavat ajatusviivalla komentorivin valitsimena. Estääksesi tämän, erottele valitsin muista argumenteista -- merkillä seuraavasti:

#!/bin/bash
for f in *.jpg ; do
  rename -- ".jpg" "-$RANDOM.jpg" $f ;
done

NetworkManager Command Line Interface

cnetworkmanager is no longer available—use nmcli instead. For migration information, see http://repo.or.cz/w/cnetworkmanager.git/blob_plain/HEAD:/nmcli-migration.html.

rpm: %_topdir Changed for Non-root Users

Unprivileged users can no longer write to /usr/src/packages. rpmbuild now uses ~/rpmbuild by default. To change the directory add a line as follows to ~/.rpmmacros:

%_topdir /some/where/else

To use the subdirectory foo of $HOME add to ~/.rpmmacros:

%_topdir %{getenv:HOME}/foo