Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-news r61 - / 2012 2012/2012-01-07
Date: Sat, 07 Jan 2012 17:54:45
Message-Id: 20120107175431.E09FD2004B@flycatcher.gentoo.org
1 Author: mgorny
2 Date: 2012-01-07 17:54:31 +0000 (Sat, 07 Jan 2012)
3 New Revision: 61
4
5 Added:
6 2012/
7 2012/2012-01-07/
8 2012/2012-01-07/2012-01-07-systemd-to-usr.en.txt
9 Log:
10 Add a news file about systemd -> /usr migration.
11
12 Added: 2012/2012-01-07/2012-01-07-systemd-to-usr.en.txt
13 ===================================================================
14 --- 2012/2012-01-07/2012-01-07-systemd-to-usr.en.txt (rev 0)
15 +++ 2012/2012-01-07/2012-01-07-systemd-to-usr.en.txt 2012-01-07 17:54:31 UTC (rev 61)
16 @@ -0,0 +1,37 @@
17 +Title: systemd /usr migration
18 +Author: Michał Górny <mgorny@g.o>
19 +Content-Type: text/plain
20 +Posted: 2012-01-06
21 +Revision: 1
22 +News-Item-Format: 1.0
23 +Display-If-Installed: sys-apps/systemd
24 +
25 +We have decided to move our systemd installation into /usr prefix.
26 +After the upgrade, the main systemd executable will be installed
27 +as /usr/bin/systemd and the unit files will be installed
28 +to /usr/lib/systemd; however, systemd will still look for unit files
29 +in the /lib location.
30 +
31 +For this reason, new revisions of all systemd versions have been added
32 +to the tree and all users are advised to upgrade ASAP to make
33 +the transition as painless as possible. To achieve that, the following
34 +steps have been taken:
35 +
36 +1) the new systemd versions install and enable a path monitoring helper
37 +which automatically updates /etc/systemd symlinks when unit files
38 +are moved from /lib to /usr/lib;
39 +
40 +2) the systemd.eclass blocks older versions of systemd to ensure that
41 +the service files aren't installed in the new location before the helper
42 +service is in place;
43 +
44 +3) a symlink is installed at /bin/systemd to ensure that current init=
45 +specifications are still valid.
46 +
47 +Please note that these features will be removed after the transitional
48 +period and users upgrading afterwards will have to manually ensure
49 +correctness of their installations. The former two features will be
50 +removed on 2012-03-01, the last one on 2012-05-01.
51 +
52 +Users are advised to rebuild the packages providing systemd units
53 +and update their kernel command lines before those deadlines.