From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-144788-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 61E171386EA
	for <garchives@archives.gentoo.org>; Sun, 27 Jan 2013 21:08:20 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id A1B6B21C0C6;
	Sun, 27 Jan 2013 21:08:11 +0000 (UTC)
Received: from mail-ia0-f178.google.com (mail-ia0-f178.google.com [209.85.210.178])
	(using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id C086F21C003
	for <gentoo-user@lists.gentoo.org>; Sun, 27 Jan 2013 21:08:09 +0000 (UTC)
Received: by mail-ia0-f178.google.com with SMTP id y26so3258394iab.37
        for <gentoo-user@lists.gentoo.org>; Sun, 27 Jan 2013 13:08:09 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:x-received:in-reply-to:references:date:message-id
         :subject:from:to:content-type:content-transfer-encoding;
        bh=9OsRXgIbmIifx5vgq5DxZGtQQx3DD+hlX2u5l4iiXH4=;
        b=SB3reAienPFnU1OdXSga0Hv+OsrIH9ijkUHlHyCOWDqds6LEWjm36BL0DeSBN1NwVw
         7YjVgShbGQH+lI4inuxpZqLB1O+4wen7TUL0ut5HrfgqmnAOGFddZsh6rhph48VrkmIL
         5ufher9KzQJ//fSaSWMPsYrvBrhg1nmrP7mKk/nyFlaWIWdlmLppAXgEmXZkqHDrI/es
         gRiGkhfPj+Dpkxxb0fXonSjHVt5D2CEi6ces28o+NJBFzMRCrLinDtiLXrl5bRW1ytnf
         1E4wCHwVmlSqj3aX9bu+ji9k1VY6OLR/XWAd/RrnjSOPKiVJP0JAhTSVxSm8S7g717or
         KzEA==
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
X-Received: by 10.42.153.70 with SMTP id l6mr7561916icw.50.1359320889007; Sun,
 27 Jan 2013 13:08:09 -0800 (PST)
Received: by 10.64.25.111 with HTTP; Sun, 27 Jan 2013 13:08:08 -0800 (PST)
In-Reply-To: <CAP4tJZ+QsYxAAct5w-1PF10de6mPp0U12Acd4xNgCyca8fg0Xg@mail.gmail.com>
References: <CAP4tJZ+huW+9nNVLKa6nZy698-8og4J+w1ysYavW+mg16htowQ@mail.gmail.com>
	<CADPrc80w=pbfe=PULbFV-JK8v6ftEVzqS3t=proKFxFftW8yAQ@mail.gmail.com>
	<CAP4tJZ+QsYxAAct5w-1PF10de6mPp0U12Acd4xNgCyca8fg0Xg@mail.gmail.com>
Date: Sun, 27 Jan 2013 15:08:08 -0600
Message-ID: <CADPrc83g9GSJipFj4F4TEcJE8Tw7Fi1UMXeE48aGR_jo5efFgw@mail.gmail.com>
Subject: Re: [gentoo-user] Systemd reaches "target Emergency Mode" every boot
From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= <caneko@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 80f77224-99e7-4be9-956c-f506e5d825d8
X-Archives-Hash: 87b6f3dc8be1e32608dc2c1e0f2fa23a

On Sun, Jan 27, 2013 at 12:31 PM, Jo=C3=A3o Matos <jaoneto@gmail.com> wrote=
:
>
>
>
> 2013/1/26 Canek Pel=C3=A1ez Vald=C3=A9s <caneko@gmail.com>
>>
>> On Sat, Jan 26, 2013 at 7:08 PM, Jo=C3=A3o Matos <jaoneto@gmail.com> wro=
te:
>> > Hi list,
>> >
>> > I'm having this problem for a while, but I've decided to solve it know=
.
>> > Every time I boot my system (couple times a day), I have to hid Ctrl +=
 D
>> > when the boot process is interrupted by the "emergency mode".
>> >
>> > I think it started when I was compiling the kernel myself, and removin=
g
>> > lot
>> > of stuff. Although, I checked and the mandatory options for systemd ar=
e
>> > ok.
>> >
>> > When I run "journalctl -b -p err" the only information I get is:
>> >
>> > Jan 26 20:29:20 KONOHA NetworkManager[1497]: claim_connection: asserti=
on
>> > `nm_connection_get_path (NM_CONNECTION (connection)) =3D=3D NULL' fail=
ed
>> > Jan 26 20:29:24 localhost dhcpcd[1557]: wlan0: sendmsg: Cannot assign
>> > requested address
>> > Jan 26 20:30:42 localhost pulseaudio[2073]: [pulseaudio] pid.c: Daemon
>> > already running.
>> > Jan 26 20:30:42 localhost pulseaudio[2080]: [pulseaudio] pid.c: Daemon
>> > already running.
>> >
>> >  It give me no clue.
>> >
>> > Attached the .conf from my gentoo-3.7.1
>> >
>> > After I hit Ctrl + D, the system works normally.
>> >
>> > Any help will be appreciated :)
>>
>> Are you using udev-197 with systemd-197? mgorny masked it, and said
>> this in package.mask:
>
>
> I'm using them. Last time I updated my system there weren't any warning.
> Anyway, this problem is happening since the previous version.
>
>>
>> # Does not boot. Something with udev is probably broken. Feel free
>> # to unmask, debug and provide me with a patch.
>>
>> You need to be using the same version for udev and systemd (they are
>> the same package). If you are using the same version for udev and
>> systemd, are you using an initramfs? When was the last time you built
>> it, if you do?
>
>
> I don't have initramfs. Just the kernel. But it used to work normaly.
>>
>>
>> Could you boot with "systemd.log_target=3Dkmsg" and
>> "systemd.log_level=3Ddebug", and post the whole output of "journalctl
>> -b"? It prints only the logs from the last boot.
>>
>
> journalctl -b attached.

>From your logs:

Jan 27 15:16:27 KONOHA systemd[1]: Activating default unit: emergency.targe=
t

You have emergency.target as default unit. The default.target can be
set in different ways:

- Check /usr/lib64/systemd/system/default.target
- Check /etc/systemd/system/default.target
- Check if you use --unit=3Demergency.target in your grub config
- Check if you pass the "emergency" kernel parametr in your grub config

udev-197 in the tree installs everything to /; systemd-197 installs to
/usr. I'm pretty sure that is not going to end well; I haven't
upgraded to 197 in neither package.

Check your default.target; for some reason is set to emergency.

Regards.
--=20
Canek Pel=C3=A1ez Vald=C3=A9s
Posgrado en Ciencia e Ingenier=C3=ADa de la Computaci=C3=B3n
Universidad Nacional Aut=C3=B3noma de M=C3=A9xico