This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.

Please visit our production wiki at https://wiki.gentoo.org

systemd/upgrade

From Gentoo Wiki (test)
Jump to:navigation Jump to:search

This page only lists changes, which you need to consider before updating or will break your system. For all changes, see sys-apps/systemd's changelog or upstream's NEWS file.

systemd 203

The compatibility symlinks /bin/systemctl and /bin/systemd pointing to /usr/lib/systemd/systemd are deprecated. The ebuild checks whether your system was booted using compatibility symlinks and refuses to build the new version of systemd.

To upgrade systemd update your bootloader to use init=/usr/lib/systemd/systemd and reboot the system.

systemd 200

See the udev upgrade article.

systemd 187

graphical.target now depends on the display-manager.service for starting a display manager like GDM, KDM, etc. . So you have to create a new .service file, e.g. for KDM:

FILE /etc/systemd/system/kdm.service
[Unit]
Description=KDM Display Manager
Conflicts=getty@tty1.service
After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service

[Service]
ExecStart=/usr/bin/kdm -nodaemon
Restart=always
IgnoreSIGPIPE=no

[Install]
Alias=display-manager.service

Now enable the new service, e.g. for KDM:

root #systemctl enable kdm.service

Afterwards starting KDM with systemd >=187 should work and you can disable and delete the old .service file (e.g. kdm@.service).

For the rationale and more informations see the Fedora 18 feature "Display Manager Infrastructure Rework".

See also

External resources