* [gentoo-user] NetworkManager problem after migrating to systemd
@ 2012-10-29 14:43 João Matos
2012-10-29 16:35 ` Canek Peláez Valdés
0 siblings, 1 reply; 8+ messages in thread
From: João Matos @ 2012-10-29 14:43 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 980 bytes --]
Hi List.
I've heard here that systemd is faster the openrc, so I decided to try it.
And indeed, it is :). I've spent many hours to make my system totaly
functional again, but it totally worth it.
There is just one little problem remaining: NetworkManager starts, I can
connect the internet, but my kde applet cant see it is started, so I can't
manage my connections. It seems some people had similar problem, and were
able to solve it, but the topics weren't clear enough for me. I also seems
that there is something to to with pam or polkit.
The topics I'm talking about:
https://bbs.archlinux.org/viewtopic.php?id=144763
http://forums.gentoo.org/viewtopic-t-924004-start-0.html
Since we're talking about systemd, is it possible to it display something
during de boot, as openrc did? I just got a black screen until kdm starts.
I'll work on plymout, but I still think the informations r important.
Thank you,
--
João de Matos
Linux User #461527
[-- Attachment #2: Type: text/html, Size: 1197 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] NetworkManager problem after migrating to systemd
2012-10-29 14:43 [gentoo-user] NetworkManager problem after migrating to systemd João Matos
@ 2012-10-29 16:35 ` Canek Peláez Valdés
2012-10-29 22:42 ` João Matos
0 siblings, 1 reply; 8+ messages in thread
From: Canek Peláez Valdés @ 2012-10-29 16:35 UTC (permalink / raw
To: gentoo-user
On Mon, Oct 29, 2012 at 8:43 AM, João Matos <jaoneto@gmail.com> wrote:
> Hi List.
>
> I've heard here that systemd is faster the openrc, so I decided to try it.
> And indeed, it is :). I've spent many hours to make my system totaly
> functional again, but it totally worth it.
Kudos.
> There is just one little problem remaining: NetworkManager starts, I can
> connect the internet, but my kde applet cant see it is started, so I can't
> manage my connections. It seems some people had similar problem, and were
> able to solve it, but the topics weren't clear enough for me. I also seems
> that there is something to to with pam or polkit.
You need to move everything to use systemd. If an ebuild has optional
dependencies on both systemd and consolekit, you need to set systemd,
and disable consolekit. At least that's the way it works now with
GNOME, and even some networkmanager versions needed to pick only one
between consolekit and systemd. For good measure, you should be able
to uninstall consolekit; it's deprecated, nobody is maintaining it,
and it relies on hacks to work. systemd's session tracking is much
more reliable and nicer.
In particular, the following packages should be using the systemd USE
flag, and not the consolekit one:
net-misc/networkmanager
sys-apps/accountsservice (don't know if KDE uses this)
sys-auth/pambase (<==== CRITICAL)
sys-auth/polkit (<==== CRITICAL)
sys-fs/udisks (optional, I think)
sys-power/upower (optional, I think)
It used to be that you could install systemd, check it out, and if you
didn't like it you just didn't used it (there was not even the need to
uninstall it). However, consolekit is for all practical purposes dead,
and systemd does that job better and with more features. So now you
need to decide at compile time which one you wanna use; you cannot mix
them.
> The topics I'm talking about:
>
> https://bbs.archlinux.org/viewtopic.php?id=144763
>
> http://forums.gentoo.org/viewtopic-t-924004-start-0.html
>
> Since we're talking about systemd, is it possible to it display something
> during de boot, as openrc did? I just got a black screen until kdm starts.
> I'll work on plymout, but I still think the informations r important.
Plymouth will just hide even more information; it looks really pretty,
though. I don't think you need to checkout anything at boot (I'm
pretty sure the problems are the ones I mentioned it), but to debug
systemd put this on your kernel command line: systemd.log_level=debug.
All the boot output gets logged into /var/log/boot.log; also, using
journalctl -b will give you all the output from the system from the
last time you rebooted.
Regards.
--
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] NetworkManager problem after migrating to systemd
2012-10-29 16:35 ` Canek Peláez Valdés
@ 2012-10-29 22:42 ` João Matos
2012-10-29 23:05 ` Canek Peláez Valdés
0 siblings, 1 reply; 8+ messages in thread
From: João Matos @ 2012-10-29 22:42 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 461 bytes --]
I found the solution a few hours ago here
http://en.gentoo-wiki.com/wiki/Systemd#PAM_support:_su.2C_sudo.2C_screen...
. Now everything is fine :)
About the packages you mentioned, you've ran 'equery uses pambase polkit
udisks upower', and none of them has the userflag systemd. Anyway, systemd
is globally set on my system, and it is good to know I can disable
consolekit. I'll try it right now.
Thank you,
--
João de Matos
Linux User #461527
[-- Attachment #2: Type: text/html, Size: 600 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] NetworkManager problem after migrating to systemd
2012-10-29 22:42 ` João Matos
@ 2012-10-29 23:05 ` Canek Peláez Valdés
2012-10-30 21:45 ` João Matos
0 siblings, 1 reply; 8+ messages in thread
From: Canek Peláez Valdés @ 2012-10-29 23:05 UTC (permalink / raw
To: gentoo-user
On Mon, Oct 29, 2012 at 4:42 PM, João Matos <jaoneto@gmail.com> wrote:
> I found the solution a few hours ago here
> http://en.gentoo-wiki.com/wiki/Systemd#PAM_support:_su.2C_sudo.2C_screen...
> . Now everything is fine :)
>
> About the packages you mentioned, you've ran 'equery uses pambase polkit
> udisks upower', and none of them has the userflag systemd.
# equery uses pambase polkit udisks upower
[ : I - package is installed with flag ]
* Found these USE flags for sys-auth/pambase-20120417-r1:
[snip]
+ + systemd : Use pam_systemd module to register user sessions
in the systemd control group hierarchy.
* Found these USE flags for sys-auth/polkit-0.107-r1:
[snip]
+ + systemd : Use sys-apps/systemd instead of
sys-auth/consolekit for session tracking
* Found these USE flags for sys-fs/udisks-2.0.0:
[snip]
+ + systemd : Support sys-apps/systemd's logind
* Found these USE flags for sys-power/upower-0.9.18:
[snip]
+ + systemd : Use sys-apps/systemd for hibernate and suspend
Depends on the versions ;)
> Anyway, systemd
> is globally set on my system, and it is good to know I can disable
> consolekit. I'll try it right now.
The problem with ck is that it will make some things fail subtlety. I
did uninstall it, and everything has been working great (including the
awesome app-admin/system-config-printer-gnome).
Regards.
--
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] NetworkManager problem after migrating to systemd
2012-10-29 23:05 ` Canek Peláez Valdés
@ 2012-10-30 21:45 ` João Matos
2012-10-30 22:36 ` Canek Peláez Valdés
0 siblings, 1 reply; 8+ messages in thread
From: João Matos @ 2012-10-30 21:45 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2286 bytes --]
2012/10/29 Canek Peláez Valdés <caneko@gmail.com>
> On Mon, Oct 29, 2012 at 4:42 PM, João Matos <jaoneto@gmail.com> wrote:
> > I found the solution a few hours ago here
> >
> http://en.gentoo-wiki.com/wiki/Systemd#PAM_support:_su.2C_sudo.2C_screen.
> ..
> > . Now everything is fine :)
> >
> > About the packages you mentioned, you've ran 'equery uses pambase polkit
> > udisks upower', and none of them has the userflag systemd.
>
> # equery uses pambase polkit udisks upower
> [ : I - package is installed with flag ]
> * Found these USE flags for sys-auth/pambase-20120417-r1:
> [snip]
> + + systemd : Use pam_systemd module to register user sessions
> in the systemd control group hierarchy.
>
> * Found these USE flags for sys-auth/polkit-0.107-r1:
> [snip]
> + + systemd : Use sys-apps/systemd instead of
> sys-auth/consolekit for session tracking
>
> * Found these USE flags for sys-fs/udisks-2.0.0:
> [snip]
> + + systemd : Support sys-apps/systemd's logind
>
> * Found these USE flags for sys-power/upower-0.9.18:
> [snip]
> + + systemd : Use sys-apps/systemd for hibernate and suspend
>
> Depends on the versions ;)
>
yep. I've used ~amd64 for about 5 years, but last year I decided to use
amd64. Maybe systemd suport is better in more recent packages.
Well, I've just find out a new little problem: PulseAudio. I've found
nothing about systemd+pulseaudio on google, what means that it is too easy
to some one carry about writing about it, or nobody tried it yet. Does
anyone knows how to start it? Maybe writing a pulseaudio.service or
something like that.
>
> > Anyway, systemd
> > is globally set on my system, and it is good to know I can disable
> > consolekit. I'll try it right now.
>
> The problem with ck is that it will make some things fail subtlety. I
> did uninstall it, and everything has been working great (including the
> awesome app-admin/system-config-printer-gnome).
>
> Regards.
> --
> Canek Peláez Valdés
> Posgrado en Ciencia e Ingeniería de la Computación
> Universidad Nacional Autónoma de México
>
>
--
João de Matos
Linux User #461527
Graduando em Engenharia de Computação 2005.1
UEFS - Universidade Estadual de Feira de Santana
[-- Attachment #2: Type: text/html, Size: 3076 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] NetworkManager problem after migrating to systemd
2012-10-30 21:45 ` João Matos
@ 2012-10-30 22:36 ` Canek Peláez Valdés
2012-10-30 22:49 ` João Matos
0 siblings, 1 reply; 8+ messages in thread
From: Canek Peláez Valdés @ 2012-10-30 22:36 UTC (permalink / raw
To: gentoo-user
On Tue, Oct 30, 2012 at 3:45 PM, João Matos <jaoneto@gmail.com> wrote:
>
>
> 2012/10/29 Canek Peláez Valdés <caneko@gmail.com>
>>
>> On Mon, Oct 29, 2012 at 4:42 PM, João Matos <jaoneto@gmail.com> wrote:
>> > I found the solution a few hours ago here
>> >
>> > http://en.gentoo-wiki.com/wiki/Systemd#PAM_support:_su.2C_sudo.2C_screen...
>> > . Now everything is fine :)
>> >
>> > About the packages you mentioned, you've ran 'equery uses pambase polkit
>> > udisks upower', and none of them has the userflag systemd.
>>
>> # equery uses pambase polkit udisks upower
>> [ : I - package is installed with flag ]
>> * Found these USE flags for sys-auth/pambase-20120417-r1:
>> [snip]
>> + + systemd : Use pam_systemd module to register user sessions
>> in the systemd control group hierarchy.
>>
>> * Found these USE flags for sys-auth/polkit-0.107-r1:
>> [snip]
>> + + systemd : Use sys-apps/systemd instead of
>> sys-auth/consolekit for session tracking
>>
>> * Found these USE flags for sys-fs/udisks-2.0.0:
>> [snip]
>> + + systemd : Support sys-apps/systemd's logind
>>
>> * Found these USE flags for sys-power/upower-0.9.18:
>> [snip]
>> + + systemd : Use sys-apps/systemd for hibernate and suspend
>>
>> Depends on the versions ;)
>
>
> yep. I've used ~amd64 for about 5 years, but last year I decided to use
> amd64. Maybe systemd suport is better in more recent packages.
Indeed it is. I don't run ~amd64, BTW; I just keyword some things (the
kernel, systemd+udev, and GNOME, basically).
> Well, I've just find out a new little problem: PulseAudio. I've found
> nothing about systemd+pulseaudio on google, what means that it is too easy
> to some one carry about writing about it, or nobody tried it yet. Does
> anyone knows how to start it? Maybe writing a pulseaudio.service or
> something like that.
Both projects have the same author: Lennart Poettering. There is
usually nothing to be done so they work together; in GNOME, PulseAudio
is started automatically by the session manager, I suppose it should
be something similar in KDE-land. Actually, since PA is a user (not a
system) service, the init system you use doesn't matter.
Regards.
--
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] NetworkManager problem after migrating to systemd
2012-10-30 22:36 ` Canek Peláez Valdés
@ 2012-10-30 22:49 ` João Matos
2012-10-30 22:56 ` Canek Peláez Valdés
0 siblings, 1 reply; 8+ messages in thread
From: João Matos @ 2012-10-30 22:49 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2986 bytes --]
2012/10/30 Canek Peláez Valdés <caneko@gmail.com>
> On Tue, Oct 30, 2012 at 3:45 PM, João Matos <jaoneto@gmail.com> wrote:
> >
> >
> > 2012/10/29 Canek Peláez Valdés <caneko@gmail.com>
> >>
> >> On Mon, Oct 29, 2012 at 4:42 PM, João Matos <jaoneto@gmail.com> wrote:
> >> > I found the solution a few hours ago here
> >> >
> >> >
> http://en.gentoo-wiki.com/wiki/Systemd#PAM_support:_su.2C_sudo.2C_screen.
> ..
> >> > . Now everything is fine :)
> >> >
> >> > About the packages you mentioned, you've ran 'equery uses pambase
> polkit
> >> > udisks upower', and none of them has the userflag systemd.
> >>
> >> # equery uses pambase polkit udisks upower
> >> [ : I - package is installed with flag ]
> >> * Found these USE flags for sys-auth/pambase-20120417-r1:
> >> [snip]
> >> + + systemd : Use pam_systemd module to register user sessions
> >> in the systemd control group hierarchy.
> >>
> >> * Found these USE flags for sys-auth/polkit-0.107-r1:
> >> [snip]
> >> + + systemd : Use sys-apps/systemd instead of
> >> sys-auth/consolekit for session tracking
> >>
> >> * Found these USE flags for sys-fs/udisks-2.0.0:
> >> [snip]
> >> + + systemd : Support sys-apps/systemd's logind
> >>
> >> * Found these USE flags for sys-power/upower-0.9.18:
> >> [snip]
> >> + + systemd : Use sys-apps/systemd for hibernate and suspend
> >>
> >> Depends on the versions ;)
> >
> >
> > yep. I've used ~amd64 for about 5 years, but last year I decided to use
> > amd64. Maybe systemd suport is better in more recent packages.
>
> Indeed it is. I don't run ~amd64, BTW; I just keyword some things (the
> kernel, systemd+udev, and GNOME, basically).
>
> > Well, I've just find out a new little problem: PulseAudio. I've found
> > nothing about systemd+pulseaudio on google, what means that it is too
> easy
> > to some one carry about writing about it, or nobody tried it yet. Does
> > anyone knows how to start it? Maybe writing a pulseaudio.service or
> > something like that.
>
> Both projects have the same author: Lennart Poettering. There is
> usually nothing to be done so they work together; in GNOME, PulseAudio
> is started automatically by the session manager, I suppose it should
> be something similar in KDE-land. Actually, since PA is a user (not a
> system) service, the init system you use doesn't matter.
>
The past week I've changed my whole system (get rid of genkernel, installed
systemd...). It's been difficult to find out how to solve some problem that
appear, because I have to guess what originated it. But I think I have a
progress with that one: revdep-rebuild found a problem with pulseaudio (and
some others), I still get an error while I compile it, but I'm working on
it.
I was thinking It should be a service, since it was on my rc default level.
But it seems it is not encouraged anymore. Thank you anyway.
--
João de Matos
Linux User #461527
[-- Attachment #2: Type: text/html, Size: 3946 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] NetworkManager problem after migrating to systemd
2012-10-30 22:49 ` João Matos
@ 2012-10-30 22:56 ` Canek Peláez Valdés
0 siblings, 0 replies; 8+ messages in thread
From: Canek Peláez Valdés @ 2012-10-30 22:56 UTC (permalink / raw
To: gentoo-user
On Tue, Oct 30, 2012 at 4:49 PM, João Matos <jaoneto@gmail.com> wrote:
>
>
> 2012/10/30 Canek Peláez Valdés <caneko@gmail.com>
>>
>> On Tue, Oct 30, 2012 at 3:45 PM, João Matos <jaoneto@gmail.com> wrote:
>> >
>> >
>> > 2012/10/29 Canek Peláez Valdés <caneko@gmail.com>
>> >>
>> >> On Mon, Oct 29, 2012 at 4:42 PM, João Matos <jaoneto@gmail.com> wrote:
>> >> > I found the solution a few hours ago here
>> >> >
>> >> >
>> >> > http://en.gentoo-wiki.com/wiki/Systemd#PAM_support:_su.2C_sudo.2C_screen...
>> >> > . Now everything is fine :)
>> >> >
>> >> > About the packages you mentioned, you've ran 'equery uses pambase
>> >> > polkit
>> >> > udisks upower', and none of them has the userflag systemd.
>> >>
>> >> # equery uses pambase polkit udisks upower
>> >> [ : I - package is installed with flag ]
>> >> * Found these USE flags for sys-auth/pambase-20120417-r1:
>> >> [snip]
>> >> + + systemd : Use pam_systemd module to register user sessions
>> >> in the systemd control group hierarchy.
>> >>
>> >> * Found these USE flags for sys-auth/polkit-0.107-r1:
>> >> [snip]
>> >> + + systemd : Use sys-apps/systemd instead of
>> >> sys-auth/consolekit for session tracking
>> >>
>> >> * Found these USE flags for sys-fs/udisks-2.0.0:
>> >> [snip]
>> >> + + systemd : Support sys-apps/systemd's logind
>> >>
>> >> * Found these USE flags for sys-power/upower-0.9.18:
>> >> [snip]
>> >> + + systemd : Use sys-apps/systemd for hibernate and suspend
>> >>
>> >> Depends on the versions ;)
>> >
>> >
>> > yep. I've used ~amd64 for about 5 years, but last year I decided to use
>> > amd64. Maybe systemd suport is better in more recent packages.
>>
>> Indeed it is. I don't run ~amd64, BTW; I just keyword some things (the
>> kernel, systemd+udev, and GNOME, basically).
>>
>> > Well, I've just find out a new little problem: PulseAudio. I've found
>> > nothing about systemd+pulseaudio on google, what means that it is too
>> > easy
>> > to some one carry about writing about it, or nobody tried it yet. Does
>> > anyone knows how to start it? Maybe writing a pulseaudio.service or
>> > something like that.
>>
>> Both projects have the same author: Lennart Poettering. There is
>> usually nothing to be done so they work together; in GNOME, PulseAudio
>> is started automatically by the session manager, I suppose it should
>> be something similar in KDE-land. Actually, since PA is a user (not a
>> system) service, the init system you use doesn't matter.
>
>
> The past week I've changed my whole system (get rid of genkernel, installed
> systemd...). It's been difficult to find out how to solve some problem that
> appear, because I have to guess what originated it. But I think I have a
> progress with that one: revdep-rebuild found a problem with pulseaudio (and
> some others), I still get an error while I compile it, but I'm working on
> it.
>
> I was thinking It should be a service, since it was on my rc default level.
> But it seems it is not encouraged anymore. Thank you anyway.
System wide mode was introduced in 0.9.3 six years ago. Since then it
hasn't been recommended for normal usage, just for some embedded
systems and other situations where the notion of "user" doesn't make
sense:
http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/WhatIsWrongWithSystemWide
Regards.
--
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-10-30 22:58 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-29 14:43 [gentoo-user] NetworkManager problem after migrating to systemd João Matos
2012-10-29 16:35 ` Canek Peláez Valdés
2012-10-29 22:42 ` João Matos
2012-10-29 23:05 ` Canek Peláez Valdés
2012-10-30 21:45 ` João Matos
2012-10-30 22:36 ` Canek Peláez Valdés
2012-10-30 22:49 ` João Matos
2012-10-30 22:56 ` Canek Peláez Valdés
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox