Systemd: Difference between revisions

From Q
Jump to navigation Jump to search
Tgurr (talk | contribs)
No edit summary
Tgurr (talk | contribs)
No edit summary
Line 41: Line 41:
{{Box File|/etc/paludis/options.conf|
{{Box File|/etc/paludis/options.conf|
<pre>
<pre>
*/* build_options: -recommended_tests
*/* systemd
*/* systemd
sys-apps/systemd simple-net
</pre>
</pre>
}}
}}

Revision as of 15:50, 12 October 2010

Description

systemd is a system and session manager for Linux.

Kernel settings

First of all you need a recent kernel version >=2.6.36-rc1 and some kernel options set.

Linux Kernel Configuration: Kernel .config
General setup  --->
 [*] Control Group support  --->
  [*]   Namespace cgroup subsystem
  [*]   Freezer cgroup subsystem
  [*]   Device controller for cgroups
  [*]   Simple CPU accounting cgroup subsystem
  [*]   Group CPU scheduler  --->
   [*]   Group scheduling for SCHED_OTHER
  <*>   Block IO controller
Device Drivers  --->
 Generic Driver Options  --->
  [*] Maintain a devtmpfs filesystem to mount at /dev
File systems  --->
 [*] Filesystem wide access notification
  [*]   fanotify permissions checking
 < > Kernel automounter support
 <*> Kernel automounter version 4 support (also supports v3)
Security options  --->
 [*] Enable different security models

Paludis configuration

Unmask currently masked packages

Template:Box File

System and package options

Template:Box File

First we need to add repositories for the dependencies not in ::arbor (you need to setup Paludis for automatic repository installation first).

# cave resolve repository/desktop repository/gnome repository/python repository/x11 -x

Install the systemd package:

# cave resolve systemd -x

Now we need to reinstall packages with the systemd option set.

# cave resolve world -c -x

Swich over to systemd using eclectic.

# eclectic init set systemd

Template:Box File