Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] A systemd-only Gentoo system, version 2
Date: Fri, 16 Mar 2012 01:05:58
Message-Id: CADPrc83yUfF7_idFAcS7NF5XO0o8j5UdCnXgN_FG2D9bsRTkqA@mail.gmail.com
1 Hi; just to let you guys know that my overlay for having a
2 systemd-only Gentoo machine (no OpenRC, no baselayout, no sysvinit),
3 it's available, sync'ed with the portage tree of March 11 (it took me
4 a few days to update all my machines and to check everything was
5 working OK).
6
7 You can grab the overlay directly with:
8
9 git clone git://github.com/canek-pelaez/gentoo-systemd-only.git
10
11 and the instructions (as usual) are in
12
13 http://xochitl.matem.unam.mx/~canek/gentoo-systemd-only/
14
15 With the re-introduction of virtual/modutils everything got easier,
16 and now the major problem (IMHO) is bug 373219:
17
18 https://bugs.gentoo.org/show_bug.cgi?id=373219
19
20 Basically, several scripts on the tree source
21 /etc/init.d/functions.sh, *without* explicitly depending on
22 sys-apps/openrc. Since I'm actually running my machines without
23 /etc/init.d (nor /etc/conf.d, nor /etc/runleves, etc.), this resulted
24 in some surprises when some ebuilds called scripts that no longer
25 worked because /etc/init.d/functions.sh was no longer there.
26
27 The overlay provides a package (sys-libs/elib-functions) with a tiny
28 script that has the same functionality (as far as I have tested) of
29 /etc/init.d/functions.sh, and alternatives to the scripts on the tree
30 that source it, which are (currently):
31
32 * app-admin/perl-cleaner
33 * app-admin/python-updater
34 * app-portage/gentoolkit
35 * dev-java/java-config-wrapper
36 * sys-devel/binutils-config
37 * sys-devel/gcc-config
38
39 sys-devel/gcc and sys-libs/glibc also use scripts sourcing
40 /etc/init.d/functions.sh; I prefer not to mess with such critical
41 packages on the system, so instead I provide the patched scripts
42 (fix_libtool_files.sh and locale-gen) so you can replace them by hand.
43
44 Apart from that, the packages on the overlay seem to be working great,
45 and the changes are rather minimal. If you are interested in testing a
46 Gentoo system with the latest technologies, or have fun risking your
47 machines to break in new and funny ways, you are more than welcome to
48 try the overlay.
49
50 Oh, and just to be clear, since the overlay is testing the really
51 bleeding edge of new technologies, setups with a separate /usr
52 partition that refuse to use an initramfs are obviously not supported,
53 and they will never be (see
54 http://article.gmane.org/gmane.linux.gentoo.devel/75724).
55
56 If you use an initramfs to mount a separate /usr, or have /usr in the
57 same partition as /, everything *should* work (doesn't mean it *would*
58 work, but it *should*).
59
60 Disclaimer: it *is* rather possible that you will break your system in
61 new and funny ways if you try the overlay, specially if you don't know
62 what you are doing. I take no responsibility of any harm you or your
63 computer may suffer by using it. You have been warned.
64
65 Regars
66 --
67 Canek Peláez Valdés
68 Posgrado en Ciencia e Ingeniería de la Computación
69 Universidad Nacional Autónoma de México