From: "Canek Peláez Valdés" <caneko@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Systemd reaches "target Emergency Mode" every boot
Date: Mon, 28 Jan 2013 15:27:39 -0600 [thread overview]
Message-ID: <CADPrc82BdkoOThgxJRGu2eNLdgnCYNzrSrEdOV4bAyCJLjmbgg@mail.gmail.com> (raw)
In-Reply-To: <5106E8B0.2060909@xunil.at>
On Mon, Jan 28, 2013 at 3:08 PM, Stefan G. Weichinger <lists@xunil.at> wrote:
> Am 28.01.2013 20:34, schrieb Canek Peláez Valdés:
>
>> My gdm USE-flags are:
>>
>> [ebuild R ~] gnome-base/gdm-3.6.2 USE="audit fallback gnome-shell
>> introspection ipv6 ldap plymouth systemd tcpd -accessibility
>> -consolekit -debug -fprint (-selinux) -smartcard {-test} -xinerama" 0
>> kB
>>
>> The service file is the one the package provides. I have gdm.service
>> as display-manager.service:
>>
>> # ls -l /etc/systemd/system/display-manager.service
>> lrwxrwxrwx 1 root root 37 Oct 13 16:48
>> /etc/systemd/system/display-manager.service ->
>> /usr/lib64/systemd/system/gdm.service
>>
>> Nothing else, AFAICS.
>
> Thanks. Same here, afaik.
>
> I now get gdm up but I get thrown back after entering my (correct) password.
>
> with xdm.service I am able to start gnome.
>
> Do I have to take special care of polkit/consolekit/pam/whatever?
Yes, we had a long thread about that some months ago, around November.
Basically, there is lots of stuff that break if you mix up consolekit
and systemd (logind, actually). Maybe the situation has improved, but
in my case the simplest solution was to purge consolekit from my
systems (except in my media center, XBMC still uses its d-bus
interfaces). ConsoleKit is unmantained anyway.
I have USE="-consolekit" where necessary (basically gdm, pambase and
bluez), and USE="systemd" everywhere else. Please note that some
packages need to unmask the systemd flag:
# cat /etc/portage/profile/package.use.mask
media-sound/pulseaudio -systemd
net-misc/networkmanager -systemd
sys-auth/polkit -systemd
sys-fs/udisks -systemd
sys-power/upower -systemd
I believe polkit is the most important, since it's the one controlling
what program can do what, but since I switched completely to systemd
years ago, I just use it everywhere. Things "just work" most of the
time.
> Thanks, Stefan
>
> ps: my bigger hurdle will be the bridging-setup for running
> KVM-virtualization. This was one of the reasons to go back to openrc
> back then.
I have no experience with that, but if it works in OpenRC it should
work in systemd. Probably better, even.
Regards.
--
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México
next prev parent reply other threads:[~2013-01-28 21:27 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-27 1:08 [gentoo-user] Systemd reaches "target Emergency Mode" every boot João Matos
2013-01-27 2:42 ` Canek Peláez Valdés
2013-01-27 18:31 ` João Matos
2013-01-27 21:08 ` Canek Peláez Valdés
2013-01-27 21:23 ` João Matos
2013-01-27 22:14 ` João Matos
2013-01-27 22:28 ` Mike Gilbert
2013-01-28 3:07 ` João Matos
2013-01-28 5:21 ` Mike Gilbert
2013-01-28 14:44 ` João Matos
2013-01-28 19:01 ` Stefan G. Weichinger
2013-01-28 19:08 ` Canek Peláez Valdés
2013-01-28 19:25 ` Stefan G. Weichinger
2013-01-28 19:34 ` Canek Peláez Valdés
2013-01-28 20:04 ` Canek Peláez Valdés
2013-01-28 21:08 ` Stefan G. Weichinger
2013-01-28 21:27 ` Canek Peláez Valdés [this message]
2013-01-28 21:49 ` Stefan G. Weichinger
2013-01-29 16:32 ` [gentoo-user] *draft* for setting up network bridge with systemd (for qemu/kvm) Stefan G. Weichinger
2013-01-29 18:57 ` Canek Peláez Valdés
2013-01-29 19:05 ` Michael Mol
2013-01-29 19:22 ` Stefan G. Weichinger
2013-01-29 19:33 ` Canek Peláez Valdés
2013-01-29 19:48 ` Stefan G. Weichinger
2013-02-05 22:00 ` Stefan G. Weichinger
2013-02-05 22:37 ` Stefan G. Weichinger
2013-01-29 19:23 ` Canek Peláez Valdés
2013-01-29 19:33 ` Stefan G. Weichinger
2013-01-29 19:49 ` Canek Peláez Valdés
2013-01-29 20:00 ` Alon Bar-Lev
2013-01-29 20:21 ` Canek Peláez Valdés
2013-01-29 21:10 ` Kevin Chadwick
2013-01-29 22:04 ` Canek Peláez Valdés
2013-01-30 12:56 ` Stefan G. Weichinger
2013-01-28 21:08 ` [gentoo-user] Systemd reaches "target Emergency Mode" every boot João Matos
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=CADPrc82BdkoOThgxJRGu2eNLdgnCYNzrSrEdOV4bAyCJLjmbgg@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