Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
Date: Fri, 01 Feb 2013 04:27:57
Message-Id: CADPrc80w+E64huN+RAZxWNtsFwTc9tXVP8kFkZ+EXC40-o5RzQ@mail.gmail.com
In Reply to: Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2 by Alecks Gates
1 On Thu, Jan 31, 2013 at 5:27 PM, Alecks Gates <alecks.g@×××××.com> wrote:
2 > On Wed, Jan 30, 2013 at 11:35 PM, Canek Peláez Valdés <caneko@×××××.com> wrote:
3 >> On Wed, Jan 30, 2013 at 3:14 PM, Alecks Gates <alecks.g@×××××.com> wrote:
4 >>> On Wed, Jan 30, 2013 at 2:22 PM, Stefan G. Weichinger <lists@×××××.at> wrote:
5 > [snip]
6 >>>
7 >>> I switched to systemd not too long ago and I have the same issue as
8 >>> well, at least it sounds the same -- Basically, I get a hanging GDM
9 >>> after typing my password and logging in. I'm certainly no expert, but
10 >>> I've enjoyed the rest of systemd so I've stuck with it and just use
11 >>> startx to boot into Gnome3. I'll attatch some logs from /var/log/gdm.
12 >>
13 >> Alecks, your error is different, and one similar to one I had before:
14 >>
15 >> https://bugs.gentoo.org/show_bug.cgi?id=363061
16 >>
17 >> What does systemctl status accounts-daemon.service says? Actually,
18 >> could tell me what services are in red when you run "systemctl --full
19 >> --all"?
20 >>
21 >> Regards.
22 >> --
23 >> Canek Peláez Valdés
24 >> Posgrado en Ciencia e Ingeniería de la Computación
25 >> Universidad Nacional Autónoma de México
26 >>
27 >
28 > $ systemctl status accounts-daemon.service
29 > accounts-daemon.service - Accounts Service
30 > Loaded: loaded (/usr/lib64/systemd/system/accounts-daemon.service; disabled)
31 > Active: active (running) since Thu 2013-01-31 17:02:33 CST; 16min ago
32 > Main PID: 3326 (accounts-daemon)
33 > CGroup: name=systemd:/system/accounts-daemon.service
34 > └─3326 /usr/libexec/accounts-daemon
35 >
36 > $ systemctl --full --all | grep error
37 > auditd.service error inactive dead auditd.service
38 > plymouth-quit-wait.service error inactive dead
39 > plymouth-quit-wait.service
40 > plymouth-start.service error inactive dead plymouth-start.service
41 > syslog.service error inactive dead syslog.service
42 >
43 >
44 > A couple days ago (after reading your email from another topic) I
45 > noticed plymouth services do not exist on my machine, and checked
46 > where it's supposed to come from:
47 > $ e-file plymouth-start.service
48 > [I] sys-apps/systemd
49 > Available Versions: 44-r1 44
50 > Last Installed Ver: 197-r1(Mon 28 Jan 2013 03:58:41 PM CST)
51 > Homepage: http://www.freedesktop.org/wiki/Software/systemd
52 > Description: System and service manager for Linux
53 > Matched Files: /usr/lib/systemd/system/sysinit.target.wants/plymouth-start.service;
54 > /usr/lib/systemd/system/plymouth-start.service;
55 > $ e-file plymouth-quit-wait.service
56 > [I] sys-apps/systemd
57 > Available Versions: 44 44-r1
58 > Last Installed Ver: 197-r1(Mon 28 Jan 2013 03:58:41 PM CST)
59 > Homepage: http://www.freedesktop.org/wiki/Software/systemd
60 > Description: System and service manager for Linux
61 > Matched Files: /usr/lib/systemd/system/multi-user.target.wants/plymouth-quit-wait.service;
62 > /usr/lib/systemd/system/plymouth-quit-wait.service;
63 >
64 > And auditd.service isn't found in e-file at all. Normally I'm not
65 > surprised by a lack of .service files, as it's not a huge issue[1],
66 > but if this one's so important, where is it?
67 >
68 > Canek, I'm getting the feeling your systemd install has matured over
69 > the years, at least with regard to unit files.
70
71 Not really; at some point yes, but I believe I run a pretty much
72 out-of-the-box systemd. As I explained to Stefan a couple of mails
73 before, you can mask the unit files you don't have, by linking them in
74 /etc/systemd/system. That's all I do, and only with syslog and
75 rc-local:
76
77 # ls -l /etc/systemd/system/|grep /dev/null
78 lrwxrwxrwx 1 root root 9 Aug 16 13:51 rc-local.service -> /dev/null
79 lrwxrwxrwx 1 root root 9 Aug 16 13:49 syslog.service -> /dev/null
80
81 Besides that I have a vixie-cron.service, and that's all the
82 customization I do. Everything else is as defined by the respective
83 upstream developers. In my media center I have a couple more of custom
84 unit files.
85
86 > [1] Unit files are surprisingly easy for me to create -- I always
87 > found a barrier to entry with init scripts.
88
89 I didn't have any problem writing init scripts, but I agree unit files
90 are really easy.
91
92 Regards.
93 --
94 Canek Peláez Valdés
95 Posgrado en Ciencia e Ingeniería de la Computación
96 Universidad Nacional Autónoma de México