From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 31ABC1381F3 for ; Wed, 4 Sep 2013 15:12:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66886E0FDF; Wed, 4 Sep 2013 15:12:11 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3C19EE0F88 for ; Wed, 4 Sep 2013 15:12:10 +0000 (UTC) Received: from localhost ([141.24.16.145]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0LqW8j-1VuiEo0kO9-00e0uq for ; Wed, 04 Sep 2013 17:12:07 +0200 Date: Wed, 4 Sep 2013 17:12:04 +0200 From: Frank Steinmetzger To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] systemd and LUKS Message-ID: <20130904151204.GB12492@methusalix.lan> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <20130903114634.GA1707@nukleus.lan> <20130903213114.GA5341@methusalix.lan> <5226DFBD.2000906@xunil.at> <20130904102034.GB4058@nukleus.lan> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GZVR6ND4mMseVXL/" Content-Disposition: inline In-Reply-To: User-Agent: Mutt 1.5.21 (2010-09-15, Gentoo 1.5.21-r12) X-Provags-ID: V03:K0:jE/AR5NndUuf1JcApxMxd4DoK6x694O9oIQXfJiVHGEQNCl0GBa 1cWqs4pLtJZyIhWfbjE/bLYOWEeSh240wu8JpRC45Df4XoJTZ5MpKcwXcnbL3BWN0CDXpfB MOLiCCa7z2jERQ/YQuRHSM+MuOi+gHhe8GJhAnW7jblxNtO0phEIVnBbUVjLmG8pB519JBU Ub7Igv9Ly2HW+iqs39L6g== X-Archives-Salt: 25d2cb13-0af1-4659-b2df-b17782a74854 X-Archives-Hash: b04edbb40fb40e3b0a6f710aefabd1b2 --GZVR6ND4mMseVXL/ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 04, 2013 at 09:16:55AM -0500, Canek Pel=C3=A1ez Vald=C3=A9s wro= te: > > Well, it=E2=80=99s an experiment, but I=E2=80=99m still quite hesitant = to switch. It > > really shuts down fast (1 to 2 seconds or so), but I don=E2=80=99t see = much > > improvement in booting time (still around 40 seconds until KDM is > > finished). I like the small stuff around it though, for instance > > timedatectl is neat and that there is no consolekit thread spam in htop. >=20 > Even considering that you need to input the LUKS password, 40 seconds > is too much. You can use systemd-analyze and systemd-analyze blame > after a fresh boot to see what is taking most of the boot time. I stopped the timer during password entry. systemd-analyze said (IIRC, netb= ook is off ATM) a little more than 20 seconds altogether. But as I mentioned it= =E2=80=99s a slow machine. From the kind of noises it made during boot, I guess that t= he HDD is the bottleneck. The time from the initial blank X screen to KDM alone is more than 10 seconds. Perhaps there is still stuff starting in the BG. > > I also see now why some people rant about it, e.g. that it has an own > > logging daemon (=E2=80=9Cone big block of everything=E2=80=9D) which us= es a binary data > > format. OTOH, logging becomes very handy with it in that you can see all > > messages associated with a particular service. Systemdadm is a start, > > but impractical on a netbook screen. >=20 > Don't forget journalctl -b -p err and journalctl -b -p warning. Hugh > time savings. I=E2=80=99m just so used to tail -f /var/log/messages, and it=E2=80=99s a h= ard fact of reality that switching to something new/else/different always takes personal effort. > > I was hoping I could have openrc and systemd in parallel on the system > > (so I don=E2=80=99t have to maintain two systems, especially on a slow = netbook), > > but b/c I removed consolekit altogether, a lot of stuff doesn=E2=80=99t= work > > anymore if I try booting with openrc. > > > > Perhaps someone can give me a hint about the following: > > - I=E2=80=99m missing openrc=E2=80=99s feature of using the menu key to= switch between > > the last two TTYs, that=E2=80=99s very useful. >=20 > I didn't realized it was gone. Well not in openrc, obviously. But it isn=E2=80=99t there in systemd. > However, I don't think is a feature of OpenRC, it's just that OpenRC calls > agetty differently from systemd, I suppose. I didn=E2=80=99t know where to look for that option specifically and though= t it was openrc (because I can=E2=80=99t remember any other distro having this, like= many other details such as a colourful promt by default). > > - No login prompt on TTY1. >=20 > Sure it is. Perhaps is just garbled? Try to log in and do a reset. I have boot output on TTY1 and logins on TTY2-6., but not on one I tried various keys and conbinations such as Ctrl+C. > > - A resource link on how to set up networking without network manager. I > > always did it the conf.d/net way. >=20 > You can set up the network without networkmanager just fine. I was obviously too lazy yesterday to research it. I poked blindly into the dark by trying the pre-existing wpa_supplicant and dhcpcd services without = any custom configuration (with wpa_supplicant.conf being the only real requirem= ent for my network setup), but wpa_supplicant always failed to authenticate, so= I gave up for that night. --=20 Gru=C3=9F | Greetings | Qapla=E2=80=99 Please do not share anything from, with or about me with any Facebook servi= ce. The advantage of being smart is that one can pretend to be stupid. The opposite is far more difficult. --GZVR6ND4mMseVXL/ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iEYEARECAAYFAlInTcQACgkQGafpl66MV0xghACfa9hWzbIMXXVrLdKxqVKAb35q f8AAn01jhspV9NqcL8PTM6wYTxYm6oiy =tiYN -----END PGP SIGNATURE----- --GZVR6ND4mMseVXL/--