Gentoo Archives: gentoo-user

From: "Stefan G. Weichinger" <lists@×××××.at>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] problems getting systemd to work
Date: Thu, 15 May 2014 10:00:02
Message-Id: 53749019.3020707@xunil.at
In Reply to: Re: [gentoo-user] problems getting systemd to work by covici@ccs.covici.com
1 Am 15.05.2014 11:39, schrieb covici@××××××××××.com:
2
3 > I did not try the -H, I may test with that later.
4 >
5 >
6 > I did look at the --print-cmdline and copied the volumes they mentioned,
7 > but I have other lvm volumes in my fstab and none of them were activated,
8 > only the ones I specified in the command line! This is where I have run
9 > into problems. I have quite a few lvms, I want them all activated!
10
11 Sure. I remember having an extra lvm.service for systemd to have all the
12 LVs activated ... with that unit-file it worked more reliably for me
13 (maybe not needed since some time).
14
15 For sure that service file is only run *after* the initrd has
16 found/activated/mounted your LVM-based root ... might be a workaround to
17 specify the root-LV in the kernel command line (plus maybe "rd.auto
18 rd.lvm=1" ?) and then let the service file activate the rest of the LVs.
19
20 Just to get you started at last ;-)
21
22
23 > Also, since I wrote the last message, I have been looking at the
24 > journalctl output and discovered a couple of things which I would like
25 > some help on, but getting the lvms to work is more important.
26 >
27 > First, whatever happened to DefaultControllers -- I want to disable
28 > those cpu hierarchies, but that option seems to have disappeared without
29 > a trace, although you can google and see it in some documentation.
30 >
31 > The keyword also was not accepted in an install section I have, what is
32 > the matter with that?
33
34 What keyword? I don't understand right now.
35
36 > I want to use my sysklogd for my syslog, how can
37 > I use that with systemd?
38
39 systemd's journal will be written to a socket if you configure it in
40 /etc/systemd/journald.conf
41
42 I would check "man journald.conf" and the option:
43
44 ForwardToSyslog=
45
46 and then let your chosen log-daemon listen there.
47
48 IMO you should take a look at journalctl then anyway ... new concepts,
49 but powerful features.
50
51 Stefan

Replies

Subject Author
Re: [gentoo-user] problems getting systemd to work covici@××××××××××.com