From: "Canek Peláez Valdés" <caneko@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] problems getting systemd to work
Date: Fri, 16 May 2014 12:01:11 -0500 [thread overview]
Message-ID: <CADPrc830xqDgwzBkcF4RSFv1JE_qowdmETd_7uxj79PfaDd7Yg@mail.gmail.com> (raw)
In-Reply-To: <13544.1400237631@ccs.covici.com>
On Fri, May 16, 2014 at 5:53 AM, <covici@ccs.covici.com> wrote:
> Canek Peláez Valdés <caneko@gmail.com> wrote:
>
>> On Thu, May 15, 2014 at 5:01 PM, Stefan G. Weichinger <lists@xunil.at> wrote:
>> > Am 15.05.2014 22:38, schrieb covici@ccs.covici.com:
>> >
>> >> image=/boot/vmlinuz-3.6.2-gentoo
>> >
>> > phew. 3.6.2 is from October 2012 ...
>> > Did you recompile it with the suggested options for systemd?
>> >
>> > Maybe it doesn't matter, but just a thought ... that kernel is quite old.
>>
>> It doesn't matter, at least in theory systemd works with linux-3.0.
>>
>> John, could you please send the output from dracut --print-cmdline? In
>> my case, it lists *ALL* my lvms, and (I think) therefore all of them
>> are mounted.
>>
>> Since your lilo.conf only lists rd.lvm.lv=linux-files/64-root and
>> rd.lvm.lv=linux-files/64-usr, I think that would explain why it
>> doesn't mount the others.
>>
>> If dracut --print-cmdline doesn't print the others, could you try to
>> boot with rd.lvm.lv=linux-files/audio in the kernel command line
>> specified in your lilo.conf? If after booting /audio is mounted, then
>> I think we have found the problem. We'll need just to figure out why
>> dracut --print-cmdline does not print the other lvms.
>>
>> Also, could you try to generate your initramfs again, but this time
>> with add_dracutmodules+="systemd lvm"?
> The secret to activate all the volumes, is to specify the volume groups
> instead of each volume -- that got them all activated, but systemd still
> is not working well. The print-cmdline still just prints the volumes
> necessary to mount the root and user file systems, which makes sense,
> but why the rest of them do not activate, I have no clue.
I don't understand the current situation .So now you get ALL your
volumes activated, or not?
> Now for some systemd problems. The root file system was read only when
> I logged in, but I could remount it rw -- not sure why this was
> happening.
Set systemd.log_level=debug in your command line, and post the exit
from journalctl -b.
> Some units did start, but most did not. Whenever I tried to
> start one manually, I got a message like the following:
> I wrote
> systemctl start /usr/lib/systemd/system/ntpd.service and got the error
> that it was unable to start because
> it could not find ntpd.service.mount:]
> May 16 01:59:52 ccs kernel: <31>systemd[1]: Failed to load configuration
> for usr-lib-systemd-system-ntpd.service.mount: No such file or directory
> May 16 01:59:52 ccs kernel: <31>systemd[1]: Trying to enqueue job
> usr-lib-systemd-system-ntpd.service.mount/start/replace
> May 16 01:59:53 ccs kernel: <31>systemd[1]: Sent message type=error
> sender=n/a destination=n/a object=n/a interface=n/a member=n/a cookie=1
> reply_cookie=1 erro\r=Unit usr-lib-systemd-system-ntpd.service.mount
> failed to load: No such file or directory.
> May 16 01:59:53 ccs kernel: <31>systemd[1]: Failed to process message
> [type=method_call sender=n/a path=/org/freedesktop/systemd1
> interface=org.freedesktop.sys\temd1.Manager member=StartUnit
> signature=ss]: Unit usr-lib-systemd-system-ntpd.service.mount failed to
> load: No such file or directory.
>
> No matter what unit I tried to start I would get such a message about
> the service.mount.
That sounds like a problem with the cgroups hierarchy (which uses a
virtual filesystem). I don't remember seeing a problem like that
before.
> Also, even though my network names were correct, they did not come up,
> but I will try to look in the logs to see why not.
systemd will not (AFAIK) start your network, and before the 209 or 210
version it needed helper program (NetwokrManager, connman, ip,
ifconfig, etc.) to do it. Now it includes networkd, but you need to
set up .network files (like .service files) to configure it. See [1].
> So we have made some progress, but still a long way to go yet. Note
> also, that I am not booting into a display manager, just a regular
> console.
>
>
> What a lot of work just to get the system booted!
Well, you have a setup that is not, by any means, simple. Also, in my
experience old LVM configurations seem to cause a lot of troubles to
bring to what systemd expects.
John, could you also post here your kernel config? Those cgroups
errors *may* be related to some missing functionality from the kernel.
Regards.
--
Canek Peláez Valdés
Profesor de asignatura, Facultad de Ciencias
Universidad Nacional Autónoma de México
next prev parent reply other threads:[~2014-05-16 17:01 UTC|newest]
Thread overview: 72+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-12 7:22 [gentoo-user] problems getting systemd to work covici
2014-05-12 7:53 ` Canek Peláez Valdés
2014-05-12 10:15 ` covici
2014-05-12 14:50 ` Jc García
2014-05-12 16:22 ` covici
2014-05-12 20:10 ` Jc García
2014-05-12 22:45 ` covici
2014-05-13 3:46 ` covici
2014-05-13 12:17 ` Stefan G. Weichinger
2014-05-13 12:29 ` covici
2014-05-13 12:35 ` Stefan G. Weichinger
2014-05-13 13:18 ` covici
2014-05-13 13:35 ` Jc García
2014-05-13 13:53 ` covici
2014-05-13 13:02 ` Jc García
2014-05-13 13:16 ` Jc García
2014-05-13 13:43 ` covici
2014-05-13 14:15 ` Jc García
2014-05-12 15:29 ` Canek Peláez Valdés
2014-05-12 16:31 ` covici
2014-05-12 16:37 ` Canek Peláez Valdés
2014-05-12 16:52 ` covici
2014-05-12 17:01 ` Canek Peláez Valdés
2014-05-14 9:40 ` covici
2014-05-14 14:41 ` Jc García
2014-05-14 23:18 ` wraeth
2014-05-14 9:43 ` covici
2014-05-14 12:38 ` Jc García
2014-05-14 14:44 ` Canek Peláez Valdés
2014-05-14 15:05 ` covici
2014-05-14 15:33 ` Canek Peláez Valdés
2014-05-14 15:42 ` covici
2014-05-14 15:46 ` Jc García
2014-05-14 15:51 ` Canek Peláez Valdés
2014-05-14 15:55 ` Jc García
2014-05-14 16:18 ` Canek Peláez Valdés
2014-05-14 16:38 ` covici
2014-05-14 17:01 ` Stefan G. Weichinger
2014-05-14 16:40 ` Jc García
2014-05-14 22:26 ` covici
2014-05-15 6:18 ` Canek Peláez Valdés
2014-05-15 6:47 ` Canek Peláez Valdés
2014-05-15 9:48 ` covici
2014-05-15 18:13 ` Canek Peláez Valdés
2014-05-15 11:50 ` covici
2014-05-15 12:16 ` Stefan G. Weichinger
2014-05-15 12:38 ` covici
2014-05-15 12:44 ` Stefan G. Weichinger
2014-05-15 13:27 ` Jc García
2014-05-15 13:14 ` Jc García
2014-05-15 9:39 ` covici
2014-05-15 9:59 ` Stefan G. Weichinger
2014-05-15 10:19 ` covici
2014-05-15 12:02 ` Stefan G. Weichinger
2014-05-15 12:27 ` covici
2014-05-15 18:23 ` Canek Peláez Valdés
2014-05-15 18:25 ` Stefan G. Weichinger
2014-05-15 20:38 ` covici
2014-05-15 22:01 ` Stefan G. Weichinger
2014-05-16 0:43 ` covici
2014-05-16 9:42 ` Canek Peláez Valdés
2014-05-16 10:53 ` covici
2014-05-16 12:42 ` Stefan G. Weichinger
2014-05-16 17:01 ` Canek Peláez Valdés [this message]
2014-05-16 17:17 ` covici
2014-05-16 17:41 ` Canek Peláez Valdés
2014-05-16 18:11 ` covici
2014-05-16 18:28 ` Canek Peláez Valdés
2014-05-16 18:33 ` covici
2014-05-16 12:46 ` covici
2014-05-16 17:02 ` Canek Peláez Valdés
2014-05-15 14:14 ` Tom H
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CADPrc830xqDgwzBkcF4RSFv1JE_qowdmETd_7uxj79PfaDd7Yg@mail.gmail.com \
--to=caneko@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox