Re: [gentoo-user] systemd and gnome3

2012-07-24 Thread Stefan G. Weichinger
Am 23.07.2012 20:34, schrieb Canek Peláez Valdés:

 journald is an interesting idea. It allows you (among other things) 
 to see the messages from a service (and only from that service) in 
 the status command of systemctl: As far as I know, there is nothing
 remotely similar in either Upstart nor SysV init.

Yes, there might be *some* advantages to expect ;-)

 In my laptop and desktop, I could only use journald, but since 
 systemd can be used along with rsyslog/syslog-ng, I still run 
 rsyslog:
 
 # systemctl status rsyslog.service rsyslog.service - System Logging 
 Service Loaded: loaded (/usr/lib/systemd/system/rsyslog.service; 
 enabled) Active: active (running) since Thu, 12 Jul 2012 21:39:04 
 -0500; 1 weeks and 3 days ago Main PID: 388 (rsyslogd) CGroup: 
 name=systemd:/system/rsyslog.service └ 388 /usr/sbin/rsyslogd -n -c5
 
 The reason is only that I actually like to keep my logs, even if for 
 a laptop/desktop is most of the times not necessary.

Keeping journald-logs just needs mkdir -p /var/log/journal (and in
case defining the size limit in the configfile).

 I think the only thing I did to set rsyslog as my logger service was
 to link the syslog.service file to it:
 
 # ll /etc/systemd/system/syslog.service lrwxrwxrwx 1 root root 39
 Jan 18  2012 /etc/systemd/system/syslog.service - 
 /usr/lib/systemd/system/rsyslog.service
 
 For my servers journald is cute, but I would never think about 
 removing a real logger.

For my servers I don't think about removing a real init-system ;-)

No joke: in production environments I don't think of using systemd yet.

Just playing around here and learning things. I would consider using it
if it were officially supported by gentoo in terms of you get a set of
fully tested unit-files etc ... but right now it always feels like ah,
there might be another howto ... maybe I lack some really important
service ... at least this is my feeling right now. learning.

 So, in short: for servers install a real logger (I recommend rsyslog,
 although syslog-ng should also work), 

never tried rsyslog, could have a look, yes.

 and for laptop/desktop you
 *could* do just with journald, but if it makes you feel better (as it
 does in my case) you can also install a real logger.
 
 Now that I think about it, I haven't really looked at my logs neither
 in my laptop nor desktop in months. I think I could easily remove
 rsyslog and just have journald; but rsyslog is light enough, and
 having the logs there gives me a little peace of mind.

I also don't expect much difference in performance. There isn't that
much to log on a desktop, and the load isn't that high most of the time.

Thanks, Stefan



Re: [gentoo-user] systemd and gnome3

2012-07-23 Thread Stefan G. Weichinger

(replying to list as I assume this could interest and/or help other
users as well)

Peter, Canek, how did you approach syslogs?

systemd brings its own journal (readable via systemd-journalctl, learned
right now) and so it possible to run the box without syslog-ng or similar.

archlinux-wiki tells me how to combine things:

https://wiki.archlinux.org/index.php/Systemd#Systemd_Journal

but I wonder what your solutions/opinions are so far ...

Thanks, Stefan



Re: [gentoo-user] systemd and gnome3

2012-07-23 Thread Canek Peláez Valdés
On Mon, Jul 23, 2012 at 4:29 AM, Stefan G. Weichinger li...@xunil.at wrote:

 (replying to list as I assume this could interest and/or help other
 users as well)

 Peter, Canek, how did you approach syslogs?

 systemd brings its own journal (readable via systemd-journalctl, learned
 right now) and so it possible to run the box without syslog-ng or similar.

 archlinux-wiki tells me how to combine things:

 https://wiki.archlinux.org/index.php/Systemd#Systemd_Journal

 but I wonder what your solutions/opinions are so far ...

journald is an interesting idea. It allows you (among other things) to
see the messages from a service (and only from that service) in the
status command of systemctl:

# systemctl status sshd.service
sshd.service - SSH Secure Shell Service
  Loaded: loaded (/etc/systemd/system/sshd.service; enabled)
  Active: active (running) since Thu, 12 Jul 2012 21:39:03 -0500; 1
weeks and 3 days ago
Main PID: 371 (sshd)
  CGroup: name=systemd:/system/sshd.service
  └ 371 /usr/sbin/sshd -D

Jul 22 18:12:18 negra sshd[11272]: SSH: Server;Ltype: Version;Remote:
192.168.0.100-60763;Protocol: 2.0;Client: OpenSSH_5.9p1-hpn13v11lpk
Jul 22 18:12:18 negra sshd[11272]: SSH: Server;Ltype: Kex;Remote:
192.168.0.100-60763;Enc: aes128-ctr;MAC: hmac-md5;Comp: none [preauth]
Jul 22 18:12:19 negra sshd[11272]: SSH: Server;Ltype: Authname;Remote:
192.168.0.100-60763;Name: canek [preauth]
Jul 22 18:12:22 negra sshd[11272]: Accepted publickey for canek from
192.168.0.100 port 60763 ssh2
Jul 22 18:12:22 negra sshd[11272]: pam_unix(sshd:session): session
opened for user canek by (uid=0)
Jul 22 21:06:54 negra sshd[11893]: SSH: Server;Ltype: Version;Remote:
192.168.0.100-35208;Protocol: 2.0;Client: OpenSSH_5.9p1-hpn13v11lpk
Jul 22 21:06:54 negra sshd[11893]: SSH: Server;Ltype: Kex;Remote:
192.168.0.100-35208;Enc: aes128-ctr;MAC: hmac-md5;Comp: none [preauth]
Jul 22 21:06:54 negra sshd[11893]: SSH: Server;Ltype: Authname;Remote:
192.168.0.100-35208;Name: canek [preauth]
Jul 22 21:06:55 negra sshd[11893]: Accepted publickey for canek from
192.168.0.100 port 35208 ssh2

As far as I know, there is nothing remotely similar in either Upstart
nor SysV init.

In my laptop and desktop, I could only use journald, but since systemd
can be used along with rsyslog/syslog-ng, I still run rsyslog:

# systemctl status rsyslog.service
rsyslog.service - System Logging Service
  Loaded: loaded (/usr/lib/systemd/system/rsyslog.service; enabled)
  Active: active (running) since Thu, 12 Jul 2012 21:39:04 -0500; 1
weeks and 3 days ago
Main PID: 388 (rsyslogd)
  CGroup: name=systemd:/system/rsyslog.service
  └ 388 /usr/sbin/rsyslogd -n -c5

The reason is only that I actually like to keep my logs, even if for a
laptop/desktop is most of the times not necessary. I think the only
thing I did to set rsyslog as my logger service was to link the
syslog.service file to it:

# ll /etc/systemd/system/syslog.service
lrwxrwxrwx 1 root root 39 Jan 18  2012
/etc/systemd/system/syslog.service -
/usr/lib/systemd/system/rsyslog.service

For my servers journald is cute, but I would never think about
removing a real logger.

So, in short: for servers install a real logger (I recommend rsyslog,
although syslog-ng should also work), and for laptop/desktop you
*could* do just with journald, but if it makes you feel better (as it
does in my case) you can also install a real logger.

Now that I think about it, I haven't really looked at my logs neither
in my laptop nor desktop in months. I think I could easily remove
rsyslog and just have journald; but rsyslog is light enough, and
having the logs there gives me a little peace of mind.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



[gentoo-user] systemd and gnome3

2012-07-20 Thread Stefan G. Weichinger

Does anyone use systemd on gentoo, with gnome3?

Would someone share a tarball of /etc/systemd/system with me (off-list)
so I could figure out what services and stuff are needed?

Tried to follow the wiki-pages, but somehow after logging into gdm the
session hangs ...

Thanks, Stefan



Re: [gentoo-user] systemd and gnome3

2012-07-20 Thread Samuraiii
Hi,
I would be also interested in such configuration preview.
S

On 2012-07-20 11:56, Stefan G. Weichinger wrote:
 Does anyone use systemd on gentoo, with gnome3?

 Would someone share a tarball of /etc/systemd/system with me (off-list)
 so I could figure out what services and stuff are needed?

 Tried to follow the wiki-pages, but somehow after logging into gdm the
 session hangs ...

 Thanks, Stefan


-- 
Samuraiii
e-mail: samurai.no.d...@gmail.com mailto:samurai.no.d...@gmail.com
GnuPG key ID: 0x80C752EA
http://pgp.mit.edu:11371/pks/lookup?search=0x80C752EAop=vindexfingerprint=onexact=on
(obtainable on http://pgp.mit.edu)
Full copy of public timestamp block http://publictimestamp.org
signatures id- (from ) is included in header of html.




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] systemd and gnome3

2012-07-20 Thread Peter Alfredsen
(I am assuming that you are using systemd-186 -- all earlier releases
I checked have bugs I ran into)

If it's right after logging in, then I would suspect some PAM
deficiency. I wrote a bit about this on G+ yesterday:
For anyone battling the trifecta of PAM, systemd and gnome on Gentoo,
take note that once you've gotten rid of consolekit, you need to add
the line:
-sessionoptionalpam_systemd.so
to system-auth, system-login and system-services in /etc/pam.d
The first two are documented elsewhere but the last one ensures that
gdm-welcome registers with systemd-logind, which fixed reboot from gdm
and gnome not working for me.

And, you need to get USE=-consolekit and mask consolekit, and you need
to get pulseaudio rebuilt after installing systemd and you need to get
=polkit-0.107 working. That last bit was a bit hairy for those who
lived through it, but now I think it should do to:
chown -R polkitd:polkitd /var/lib/polkit-1

Generally, as long as you start services the right way:
systemctl start gdm.service (for example)
and they start without error, the dependency checking should get all
the dependencies started also.

FWIW, here's the output of find /etc/systemd/system, but those are
all symlinks to /usr/lib/systemd/system
/etc/systemd/system/
/etc/systemd/system/bluetooth.target.wants
/etc/systemd/system/bluetooth.target.wants/bluetooth.service
/etc/systemd/system/default.target
/etc/systemd/system/graphical.target.wants
/etc/systemd/system/graphical.target.wants/rtkit-daemon.service
/etc/systemd/system/graphical.target.wants/gdm.service
/etc/systemd/system/multi-user.target.wants
/etc/systemd/system/multi-user.target.wants/remote-fs.target
/etc/systemd/system/multi-user.target.wants/ntpd.service
/etc/systemd/system/multi-user.target.wants/NetworkManager.service
/etc/systemd/system/getty.target.wants
/etc/systemd/system/getty.target.wants/getty@tty1.service
/etc/systemd/system/dbus-org.freedesktop.NetworkManager.service
/etc/systemd/system/local-fs.target.wants
/etc/systemd/system/sysinit.target.wants
/etc/systemd/system/network.target.wants
/etc/systemd/system/network.target.wants/NetworkManager-wait-online.service

/Peter



Re: [gentoo-user] systemd and gnome3

2012-07-20 Thread Stefan G. Weichinger
Am 2012-07-20 14:43, schrieb Peter Alfredsen:
 (I am assuming that you are using systemd-186 -- all earlier releases
 I checked have bugs I ran into)

thanks for all the information ... added those pam.d-lines, no success

Unmasking systemd-186 brought up dependencies like udev .. I hesitate to
go bleeding edge there as well.

So maybe I just cancel this for now.

Thanks, anyway, Stefan





Re: [gentoo-user] systemd and gnome3

2012-07-20 Thread Peter Alfredsen
On Fri, Jul 20, 2012 at 3:42 PM, Stefan G. Weichinger li...@xunil.at wrote:
 Am 2012-07-20 14:43, schrieb Peter Alfredsen:
 (I am assuming that you are using systemd-186 -- all earlier releases
 I checked have bugs I ran into)

 thanks for all the information ... added those pam.d-lines, no success

 Unmasking systemd-186 brought up dependencies like udev .. I hesitate to
 go bleeding edge there as well.

 So maybe I just cancel this for now.

Yeah udev is incorporated into later versions of systemd on gentoo and
the reason it is masked is because you have to do some
package.provided magic to get it all to work.

/Peter



Re: [gentoo-user] systemd and gnome3

2012-07-20 Thread Stefan G. Weichinger
Am 2012-07-20 15:54, schrieb Peter Alfredsen:

 Yeah udev is incorporated into later versions of systemd on gentoo and
 the reason it is masked is because you have to do some
 package.provided magic to get it all to work.

sounds as if all this is still to much beta for me to make it worth
the effort.

Thanks, Stefan





Re: [gentoo-user] systemd and gnome3

2012-07-20 Thread Peter Alfredsen
On Fri, Jul 20, 2012 at 4:42 PM, Stefan G. Weichinger li...@xunil.at wrote:
 Am 2012-07-20 15:54, schrieb Peter Alfredsen:

 Yeah udev is incorporated into later versions of systemd on gentoo and
 the reason it is masked is because you have to do some
 package.provided magic to get it all to work.

 sounds as if all this is still to much beta for me to make it worth
 the effort.

Nah, it's perfectly stable once you get over the first hurdles. It's
just not integrated into Gentoo at the moment.

/Peter



Re: [gentoo-user] systemd and gnome3

2012-07-20 Thread Canek Peláez Valdés
On Fri, Jul 20, 2012 at 4:56 AM, Stefan G. Weichinger li...@xunil.at wrote:

 Does anyone use systemd on gentoo, with gnome3?

 Would someone share a tarball of /etc/systemd/system with me (off-list)
 so I could figure out what services and stuff are needed?

 Tried to follow the wiki-pages, but somehow after logging into gdm the
 session hangs ...

I'm running GNOME 3 with, systemd 44 and udev 186, the first from my overlay:

https://github.com/canek-pelaez/gentoo-systemd-only/

However, the ebuilds in my overlay just change some dependencies so I
don't need to install OpenRC. Otherwise, they are identical to the
ones in the official tree. As Peter, I have the line

-sessionoptionalpam_systemd.so

in /etc/pam.d/system-auth. However, I still have consolekit started
(no problems whatsoever).

All in all, I run systemd+GNOME3 very close to the official tree, as I
said. I have been doing it since last year; usually I don't have any
problem. A little more info would help; what does
$HOME/.xsession-errors says?

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] systemd and gnome3

2012-07-20 Thread Peter Alfredsen
On Fri, Jul 20, 2012 at 5:30 PM, Canek Peláez Valdés can...@gmail.com wrote:
 On Fri, Jul 20, 2012 at 4:56 AM, Stefan G. Weichinger li...@xunil.at wrote:

 Does anyone use systemd on gentoo, with gnome3?

 Would someone share a tarball of /etc/systemd/system with me (off-list)
 so I could figure out what services and stuff are needed?

 Tried to follow the wiki-pages, but somehow after logging into gdm the
 session hangs ...

 I'm running GNOME 3 with, systemd 44 and udev 186, the first from my overlay:

 https://github.com/canek-pelaez/gentoo-systemd-only/

 However, the ebuilds in my overlay just change some dependencies so I
 don't need to install OpenRC. Otherwise, they are identical to the
 ones in the official tree. As Peter, I have the line

 -sessionoptionalpam_systemd.so

 in /etc/pam.d/system-auth. However, I still have consolekit started
 (no problems whatsoever).

There were some integration issues in upstream Gnome where most
distros changed abruptly from using consolekit to systemd-logind which
affected me when I went from systemd-44 to -185 because I ran into
some race condition with -44. I imagine using consolekit will probably
work in ~arch with no unmasks if you don't run into those race
conditions on -44. But you gotta admit, it will probably be easier to
follow the way Redhat is doing it than starting mixing and matching,
because you will know that at least your combination works somewhere.

/Peter



Re: [gentoo-user] systemd and gnome3

2012-07-20 Thread Canek Peláez Valdés
On Fri, Jul 20, 2012 at 10:54 AM, Peter Alfredsen
peter.alfred...@gmail.com wrote:
 On Fri, Jul 20, 2012 at 5:30 PM, Canek Peláez Valdés can...@gmail.com wrote:
 On Fri, Jul 20, 2012 at 4:56 AM, Stefan G. Weichinger li...@xunil.at wrote:

 Does anyone use systemd on gentoo, with gnome3?

 Would someone share a tarball of /etc/systemd/system with me (off-list)
 so I could figure out what services and stuff are needed?

 Tried to follow the wiki-pages, but somehow after logging into gdm the
 session hangs ...

 I'm running GNOME 3 with, systemd 44 and udev 186, the first from my overlay:

 https://github.com/canek-pelaez/gentoo-systemd-only/

 However, the ebuilds in my overlay just change some dependencies so I
 don't need to install OpenRC. Otherwise, they are identical to the
 ones in the official tree. As Peter, I have the line

 -sessionoptionalpam_systemd.so

 in /etc/pam.d/system-auth. However, I still have consolekit started
 (no problems whatsoever).

 There were some integration issues in upstream Gnome where most
 distros changed abruptly from using consolekit to systemd-logind which
 affected me when I went from systemd-44 to -185 because I ran into
 some race condition with -44. I imagine using consolekit will probably
 work in ~arch with no unmasks if you don't run into those race
 conditions on -44. But you gotta admit, it will probably be easier to
 follow the way Redhat is doing it than starting mixing and matching,
 because you will know that at least your combination works somewhere.

Not really mix and match. I run systemd/udev/GNOME3  in ~amd64,
that's all, and I don't unmask any hard masked package. It's been
working fine like that since, oh I don't know, when they removed the
mask on GNOME 3?

Again, Stefan has probably a valid problem, and we need more info to
nail it down (hence the petition for $HOME/.xsession-errors). Just
unmasking everything and hoping that will solve the issues is usually
not the best practice; specially since the Gentoo developers haven't
decided how to handle the merge of udev/systemd.

Some want to provide a virtual/udev that systemd satisfy, and others
want to keep things as they were before the merge, with the udev
ebuild simply not installing the systemd parts.

Given that they haven't reached an agreement, I would *highly*
recommend not trying yet systemd/udev = 186.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] systemd and gnome3

2012-07-20 Thread Stefan G. Weichinger
Am 20.07.2012 18:08, schrieb Canek Peláez Valdés:

 Not really mix and match. I run systemd/udev/GNOME3  in ~amd64,
 that's all, and I don't unmask any hard masked package. It's been
 working fine like that since, oh I don't know, when they removed the
 mask on GNOME 3?

Thanks for motivating me!

I will try to use your overlay ...

 Again, Stefan has probably a valid problem, and we need more info to
 nail it down (hence the petition for $HOME/.xsession-errors). 

See attachment.

Do I need rtkit or not?

I also had added the USE-flag systemd and re-built every package
having that useflag.

 Just
 unmasking everything and hoping that will solve the issues is usually
 not the best practice; specially since the Gentoo developers haven't
 decided how to handle the merge of udev/systemd.
 
 Some want to provide a virtual/udev that systemd satisfy, and others
 want to keep things as they were before the merge, with the udev
 ebuild simply not installing the systemd parts.
 
 Given that they haven't reached an agreement, I would *highly*
 recommend not trying yet systemd/udev = 186.

OK, fine, thanks so far.

S

/etc/gdm/Xsession: Beginning session setup...
localuser:sgw being added to access control list
/etc/gdm/Xsession: Setup done, will execute: /usr/bin/dbus-launch 
--exit-with-session /usr/bin/ssh-agent -- gnome-session
GNOME_KEYRING_CONTROL=/tmp/keyring-uskBGJ
GNOME_KEYRING_CONTROL=/tmp/keyring-uskBGJ
GNOME_KEYRING_CONTROL=/tmp/keyring-uskBGJ
SSH_AUTH_SOCK=/tmp/keyring-uskBGJ/ssh
GPG_AGENT_INFO=/tmp/keyring-uskBGJ/gpg:0:1
GNOME_KEYRING_CONTROL=/tmp/keyring-uskBGJ
SSH_AUTH_SOCK=/tmp/keyring-uskBGJ/ssh

(gnome-settings-daemon:5621): common-plugin-WARNING **: Key 0x0 (keycodes:  
130)  with state 0x0 (resolved to 0x0)  has no usable modifiers (usable 
modifiers are 0x14ed)

(gnome-settings-daemon:5621): common-plugin-WARNING **: Key 0x0 (keycodes:  
236)  with state 0x0 (resolved to 0x0)  has no usable modifiers (usable 
modifiers are 0x14ed)
Initializing tracker-store...
Initializing tracker-miner-fs...
Tracker-Message: Setting up monitor for changes to config 
file:'/home/sgw/.config/tracker/tracker-store.cfg'
Tracker-Message: Setting up monitor for changes to config 
file:'/home/sgw/.config/tracker/tracker-miner-fs.cfg'
Tracker-Message: Setting up monitor for changes to config 
file:'/home/sgw/.config/tracker/tracker-store.cfg'
Starting log:
  File:'/home/sgw/.local/share/tracker/tracker-miner-fs.log'
Starting log:
  File:'/home/sgw/.local/share/tracker/tracker-store.log'
Failed to play sound: File or data not found

** (gnome-screensaver:5656): WARNING **: Config key not handled: 
disable-application-handlers

** (gnome-screensaver:5656): WARNING **: Config key not handled: 
disable-command-line

** (gnome-screensaver:5656): WARNING **: Config key not handled: disable-log-out

** (gnome-screensaver:5656): WARNING **: Config key not handled: 
disable-print-setup

** (gnome-screensaver:5656): WARNING **: Config key not handled: 
disable-printing

** (gnome-screensaver:5656): WARNING **: Config key not handled: 
disable-save-to-disk
Initializing nautilus-dropbox 1.4.0
Starting Dropbox...
HP Linux Imaging and Printing System (ver. 3.12.6)
System Tray Status Service ver. 2.0

Copyright (c) 2001-14 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

** Message: applet now removed from the notification area
warning: No hp: or hpfax: devices found in any installed CUPS queue. 
Exiting.
Done!

(nautilus:5655): libnotify-WARNING **: Failed to connect to proxy
ERROR:dbus.proxies:Introspect error on :1.14:/org/freedesktop/Notifications: 
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not 
receive a reply. Possible causes include: the remote application did not send a 
reply, the message bus security policy blocked the reply, the reply timeout 
expired, or the network connection was broken.

(gnome-settings-daemon:5621): color-plugin-WARNING **: Done switch to new 
account, reload devices

(gnome-settings-daemon:5621): color-plugin-WARNING **: Done switch to new 
account, reload devices


Re: [gentoo-user] systemd and gnome3

2012-07-20 Thread Canek Peláez Valdés
On Fri, Jul 20, 2012 at 12:21 PM, Stefan G. Weichinger li...@xunil.at wrote:
 Am 20.07.2012 18:08, schrieb Canek Peláez Valdés:

 Not really mix and match. I run systemd/udev/GNOME3  in ~amd64,
 that's all, and I don't unmask any hard masked package. It's been
 working fine like that since, oh I don't know, when they removed the
 mask on GNOME 3?

 Thanks for motivating me!

 I will try to use your overlay ...

First get GNOME 3 + systemd to work; my overlay is experimental.

 Again, Stefan has probably a valid problem, and we need more info to
 nail it down (hence the petition for $HOME/.xsession-errors).

 See attachment.

The only possible problem I see is

(nautilus:5655): libnotify-WARNING **: Failed to connect to proxy
ERROR:dbus.proxies:Introspect error on
:1.14:/org/freedesktop/Notifications: dbus.exceptions.DBusException:

What version of libnotify are you using? I have 0.7.5 installed.

 Do I need rtkit or not?

I don't have it installed; never had.

 I also had added the USE-flag systemd and re-built every package
 having that useflag.

Could you please attach the output of:

systemctl --all --full --no-pager

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] systemd and gnome3

2012-07-20 Thread Stefan G. Weichinger
Am 20.07.2012 19:34, schrieb Canek Peláez Valdés:

 First get GNOME 3 + systemd to work; my overlay is experimental.

ok, rolling back then ...

 The only possible problem I see is
 
 (nautilus:5655): libnotify-WARNING **: Failed to connect to proxy 
 ERROR:dbus.proxies:Introspect error on 
 :1.14:/org/freedesktop/Notifications: dbus.exceptions.DBusException:
 
 What version of libnotify are you using? I have 0.7.5 installed.

Same here.

 Do I need rtkit or not?
 
 I don't have it installed; never had.

... removed it as well.

 Could you please attach the output of:
 
 systemctl --all --full --no-pager

Will do asap, have to reboot into systemd again.

I *assume* it has to do with LVM:

the dropbox-data of my user is stored in an LV ... and the VG/LV is not
correctly available when I boot with systemd.

Didn't find any lvm.service in the installed files, gotta build one
myself, I assume.

This might make the session wait for that directory becoming available.

I could check with a fresh user without a dropbox.


S



Re: [gentoo-user] systemd and gnome3

2012-07-20 Thread Canek Peláez Valdés
On Fri, Jul 20, 2012 at 12:58 PM, Stefan G. Weichinger li...@xunil.at wrote:
 Am 20.07.2012 19:34, schrieb Canek Peláez Valdés:

 First get GNOME 3 + systemd to work; my overlay is experimental.

 ok, rolling back then ...

 The only possible problem I see is

 (nautilus:5655): libnotify-WARNING **: Failed to connect to proxy
 ERROR:dbus.proxies:Introspect error on
 :1.14:/org/freedesktop/Notifications: dbus.exceptions.DBusException:

 What version of libnotify are you using? I have 0.7.5 installed.

 Same here.

 Do I need rtkit or not?

 I don't have it installed; never had.

 ... removed it as well.

 Could you please attach the output of:

 systemctl --all --full --no-pager

 Will do asap, have to reboot into systemd again.

 I *assume* it has to do with LVM:

Whoa. What partition you do have on LVM? If it's home, it is available
after GMD has showed up? (can you change to a virtual terminal with
Ctrl-Alt-F3, for example, and as root see the contents of /home with
ls?)

LVM is not a damon, one of the reasons why /etc/init.d/lvm is a bad
idea. /etc/init.d/lvm sets the devices using LVM; systemd does not
need that, it does it by itself using udev (or so I heard, I don't use
LVM).

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] systemd and gnome3

2012-07-20 Thread Canek Peláez Valdés
On Fri, Jul 20, 2012 at 1:14 PM, Stefan G. Weichinger li...@xunil.at wrote:
 Am 20.07.2012 19:34, schrieb Canek Peláez Valdés:
 systemctl --all --full --no-pager

 See attachment.

 That LVM-thing seems to be the solution.

 Added my lvm.service from back then when I first played with systemd.
 That file was like the one listed here:

 http://en.gentoo-wiki.com/wiki/Systemd#Services

 But there is no udev-settle.service anymore.

No, it was removed.

 For testing I simply removed the 2 lines Requires After and started
 lvm.service manually.

 This started the LVs correctly now and I am able to log into Gnome now
 (writing from that very session).

 So the trick might be to correctly edit this lvm.service file (get the
 dependencies right).

Yeah; put it in /etc/systemd/system; I do that with rc-local.service,
for example (since it is not available in gentoo).

 In general I prefer to have openrc still at hand:

Then pleaso do not use my overlay. It's only purpose is to get rid of
OpenRC in a Gentoo system.

 Thanks! Stefan

Glad to know it is working.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] systemd and gnome3

2012-07-20 Thread Stefan G. Weichinger
Am 20.07.2012 20:05, schrieb Canek Peláez Valdés:

 I *assume* it has to do with LVM:
 
 Whoa. What partition you do have on LVM? If it's home, it is available
 after GMD has showed up? (can you change to a virtual terminal with
 Ctrl-Alt-F3, for example, and as root see the contents of /home with
 ls?)
 
 LVM is not a damon, one of the reasons why /etc/init.d/lvm is a bad
 idea. /etc/init.d/lvm sets the devices using LVM; systemd does not
 need that, it does it by itself using udev (or so I heard, I don't use
 LVM).

see my previous mail (hasn't showed up here yet).

It's not /home but the LV with my dropbox-data.

Right now I look for the correct dependencies for lvm.service

I don't see the ebuild containing the unitfiles in portage anymore .. ?



Re: [gentoo-user] systemd and gnome3

2012-07-20 Thread Canek Peláez Valdés
On Fri, Jul 20, 2012 at 1:23 PM, Stefan G. Weichinger li...@xunil.at wrote:
 Am 20.07.2012 20:05, schrieb Canek Peláez Valdés:

 I *assume* it has to do with LVM:

 Whoa. What partition you do have on LVM? If it's home, it is available
 after GMD has showed up? (can you change to a virtual terminal with
 Ctrl-Alt-F3, for example, and as root see the contents of /home with
 ls?)

 LVM is not a damon, one of the reasons why /etc/init.d/lvm is a bad
 idea. /etc/init.d/lvm sets the devices using LVM; systemd does not
 need that, it does it by itself using udev (or so I heard, I don't use
 LVM).

 see my previous mail (hasn't showed up here yet).

 It's not /home but the LV with my dropbox-data.

It was slowing down Nautilus. That explains it.

 Right now I look for the correct dependencies for lvm.service

I think you can remove udev-settle and that's it.

 I don't see the ebuild containing the unitfiles in portage anymore .. ?

No, service files belong in their respective packages. I only have a
couple of them in /etc/systemd/system.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] systemd and gnome3

2012-07-20 Thread Stefan G. Weichinger
Am 20.07.2012 20:20, schrieb Canek Peláez Valdés:
 On Fri, Jul 20, 2012 at 1:14 PM, Stefan G. Weichinger li...@xunil.at wrote:
 Am 20.07.2012 19:34, schrieb Canek Peláez Valdés:
 systemctl --all --full --no-pager

 See attachment.

 That LVM-thing seems to be the solution.

 Added my lvm.service from back then when I first played with systemd.
 That file was like the one listed here:

 http://en.gentoo-wiki.com/wiki/Systemd#Services

 But there is no udev-settle.service anymore.
 
 No, it was removed.

So what would Requires and After have to be like then?

Without these lines it doesn't work correctly ... just tested.

 So the trick might be to correctly edit this lvm.service file (get the
 dependencies right).
 
 Yeah; put it in /etc/systemd/system; I do that with rc-local.service,
 for example (since it is not available in gentoo).

I have it there but it isn't correct yet, see above.

 In general I prefer to have openrc still at hand:
 
 Then pleaso do not use my overlay. It's only purpose is to get rid of
 OpenRC in a Gentoo system.

Yep.

 Thanks! Stefan
 
 Glad to know it is working.

same here, thanks ;-)

S




Re: [gentoo-user] systemd and gnome3

2012-07-20 Thread Canek Peláez Valdés
On Fri, Jul 20, 2012 at 1:38 PM, Stefan G. Weichinger li...@xunil.at wrote:
 Am 20.07.2012 20:20, schrieb Canek Peláez Valdés:
 On Fri, Jul 20, 2012 at 1:14 PM, Stefan G. Weichinger li...@xunil.at wrote:
 Am 20.07.2012 19:34, schrieb Canek Peláez Valdés:
 systemctl --all --full --no-pager

 See attachment.

 That LVM-thing seems to be the solution.

 Added my lvm.service from back then when I first played with systemd.
 That file was like the one listed here:

 http://en.gentoo-wiki.com/wiki/Systemd#Services

 But there is no udev-settle.service anymore.

 No, it was removed.

 So what would Requires and After have to be like then?

 Without these lines it doesn't work correctly ... just tested.

I really don't know, since I don't use LVM. However,
After=remount-rootfs.service, and Before=gdm.service sound like
good candidates.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] systemd and gnome3

2012-07-20 Thread Stefan G. Weichinger
Am 20.07.2012 20:50, schrieb Canek Peláez Valdés:
 
 I really don't know, since I don't use LVM. However,
 After=remount-rootfs.service, and Before=gdm.service sound like
 good candidates.

I have success with:

Requires=systemd-udev-settle.service
After=systemd-udev-settle.service

That service-file has been renamed from udev-settle.service to
systemd-udev-settle.service ... as it seems.

Booted and logged in successfully now.

Now for the network-config ;-)

Stefan