1 |
Canek Peláez Valdés <caneko@×××××.com> wrote: |
2 |
|
3 |
> On Mon, May 12, 2014 at 5:15 AM, <covici@××××××××××.com> wrote: |
4 |
> > Canek Peláez Valdés <caneko@×××××.com> wrote: |
5 |
> > |
6 |
> >> On Mon, May 12, 2014 at 2:22 AM, <covici@××××××××××.com> wrote: |
7 |
> >> > Hi. I have been trying to get systemd to boot, but I have run into |
8 |
> >> > several problems and need some help. I am using everything but /boot as |
9 |
> >> > lvm's, with a separate user partition. I had to copy systemd to /sbin |
10 |
> >> > because the initrd looks for the realinit too soon, but that is maybe |
11 |
> >> > another matter. |
12 |
> >> |
13 |
> >> Moving systemd to /sbin sounds like it's not going to work. Run |
14 |
> >> readelf -d /usr/lib/systemd/systemd; all the NEEDED libraries on |
15 |
> >> /usr/lib should be available to the binary at the time it's being |
16 |
> >> executed. |
17 |
> > |
18 |
> > How can I do this, genkernel looks for its init before it mounts /usr |
19 |
> > and genkernel-next will not mount the separate /usr at all. My latest |
20 |
> > initrd is from the very latest genkernel. |
21 |
> |
22 |
> With genkernel, I don't know; I never used it. On the other hand, |
23 |
> dracut is designed to work with systemd; if you use the systemd USE |
24 |
> flag and the systemd module, it even uses systemd *inside* the |
25 |
> initramfs. |
26 |
> |
27 |
> > But how to get a complete history of systemd actions in the order that |
28 |
> > they are done, I thought the confirm_spawn would do this for me -- at |
29 |
> > least for my initial debugging. |
30 |
> |
31 |
> The problem obviously is not in systemd, but in the integration of |
32 |
> genkernel+systemd. I repeat, I never used genkernel, so I don't know |
33 |
> what you can do. |
34 |
> |
35 |
> That being said, "get a complete history of systemd actions in the |
36 |
> order that they are done" will not tell you much: systemd uses heavy |
37 |
> parallelization, so in some runs the order in which actions are |
38 |
> performed will be different from others. |
39 |
> |
40 |
> The problem is that if systemd is installed into /usr/lib (which is |
41 |
> Gentoo's case), then /usr should be mounted before systemd starts. |
42 |
> That's responsibility of the initramfs, not of systemd, and the |
43 |
> solution lies in the initramfs, not in systemd. |
44 |
> |
45 |
> My only possible recommendation would be for you to try dracut. |
46 |
> |
47 |
> Regards. |
48 |
> -- |
49 |
> Canek Peláez Valdés |
50 |
> Profesor de asignatura, Facultad de Ciencias |
51 |
> Universidad Nacional Autónoma de México |
52 |
> |
53 |
|
54 |
OK, I will try dracut, but I still want to know what systemd is doing, |
55 |
what processes its spawning, etc. -- how can I find this out -- I |
56 |
thought to use the confirm_spawn, but it times out and keeps going, what |
57 |
can I do instead? |
58 |
|
59 |
Thanks people for all your responses, this is a great list. |
60 |
|
61 |
|
62 |
-- |
63 |
Your life is like a penny. You're going to lose it. The question is: |
64 |
How do |
65 |
you spend it? |
66 |
|
67 |
John Covici |
68 |
covici@××××××××××.com |