Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2 SOLVED
Upgrading to systemd-198 and udev-198 magically enabled me to login via gdm again. Nice ... Stefan
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
Am 13.02.2013 21:05, schrieb Stefan G. Weichinger: Am 2013-02-13 21:01, schrieb Canek Peláez Valdés: LVM2 will be pulled again by udisks2; it's a mandatory dependency. I don't think the problem is related to LVM, but I don't really know. I already found out, yes. Maybe it's just some systemd race condition. It's not that important to me right now ... I will check back with later releases and google bug-reports now and then. Another update: posted to systemd-devel and got pointed to LVM/DM-people ... I don't know: http://lists.freedesktop.org/archives/systemd-devel/2013-March/009323.html - Next systemd-issue (yes, I know ... openrc is there as well ...): I get warnings like superblock date is in the future --- REPAIRED for filesystems at boot-time. Canek, (how) do you handle time and hwclock with systemd? I *had* a hwclock.service and removed it now ... no change. Greets, thanks, Stefan
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
Am 04.03.2013 20:42, schrieb Stefan G. Weichinger: Next systemd-issue (yes, I know ... openrc is there as well ...): I get warnings like superblock date is in the future --- REPAIRED for filesystems at boot-time. Canek, (how) do you handle time and hwclock with systemd? I *had* a hwclock.service and removed it now ... no change. Aside from being interested if to run hwclock.service: solved that by entering BIOS and correcting time (was one hour behind, why ever ...) Stefan
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
On Mon, Mar 4, 2013 at 2:07 PM, Stefan G. Weichinger li...@xunil.at wrote: Am 04.03.2013 20:42, schrieb Stefan G. Weichinger: Next systemd-issue (yes, I know ... openrc is there as well ...): I get warnings like superblock date is in the future --- REPAIRED for filesystems at boot-time. Canek, (how) do you handle time and hwclock with systemd? I don't. AFAIK, systemd provides systemd-timedated(8) since systemd 30: http://www.freedesktop.org/wiki/Software/systemd/timedated In normal desktops/laptops/servers, it just works. I *had* a hwclock.service and removed it now ... no change. Aside from being interested if to run hwclock.service: solved that by entering BIOS and correcting time (was one hour behind, why ever ...) It helps if the hardware clock is set to the correct time, yes. The only problem is if you dual boot Windows (or so I heard). 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-197-r1 starts gdm-3.6.2
On Tue, Mar 5, 2013 at 12:36 AM, Canek Peláez Valdés can...@gmail.com wrote: On Mon, Mar 4, 2013 at 2:07 PM, Stefan G. Weichinger li...@xunil.at wrote: Am 04.03.2013 20:42, schrieb Stefan G. Weichinger: Next systemd-issue (yes, I know ... openrc is there as well ...): I get warnings like superblock date is in the future --- REPAIRED for filesystems at boot-time. Canek, (how) do you handle time and hwclock with systemd? I don't. AFAIK, systemd provides systemd-timedated(8) since systemd 30: http://www.freedesktop.org/wiki/Software/systemd/timedated In normal desktops/laptops/servers, it just works. I *had* a hwclock.service and removed it now ... no change. Aside from being interested if to run hwclock.service: solved that by entering BIOS and correcting time (was one hour behind, why ever ...) It helps if the hardware clock is set to the correct time, yes. The only problem is if you dual boot Windows (or so I heard). Sorry, long trip, just got home. I messed up NTP with hwclock. Anyway, I don't handle hwclock either: it's basically included in systemd: http://cgit.freedesktop.org/systemd/systemd/tree/src/shared/hwclock.c 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-197-r1 starts gdm-3.6.2
Am 05.03.2013 07:36, schrieb Canek Peláez Valdés: I don't. AFAIK, systemd provides systemd-timedated(8) since systemd 30: http://www.freedesktop.org/wiki/Software/systemd/timedated Yes, found that as well yesterday. In normal desktops/laptops/servers, it just works. I *had* a hwclock.service and removed it now ... no change. Aside from being interested if to run hwclock.service: solved that by entering BIOS and correcting time (was one hour behind, why ever ...) It helps if the hardware clock is set to the correct time, yes. The only problem is if you dual boot Windows (or so I heard). I read that it should be preferred to registry-fix the behavior in Windows. I will have a look sometimes ... I very rarely boot that win7 on my workstation. So the following service-file is unnecessary and at best redundant? # cat /etc/systemd/system/hwclock.service [Unit] Description=hwclock [Service] Type=oneshot ExecStart=/sbin/hwclock --hctosys --localtime ExecStop=/sbin/hwclock --systohc --localtime [Install] WantedBy=multi-user.target pulled that one in from arch linux or so ... Greets, Stefan
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
Am 05.03.2013 07:40, schrieb Canek Peláez Valdés: Sorry, long trip, just got home. I messed up NTP with hwclock. Anyway, I don't handle hwclock either: it's basically included in systemd: http://cgit.freedesktop.org/systemd/systemd/tree/src/shared/hwclock.c wow, and I thought there has to be _one_ thing which is not included in systemd ;-) I also run ntp-client.service ... nice to have. Although I read that timedatectl also somehow includes or controls ntp synchronization. http://www.freedesktop.org/software/systemd/man/timedatectl.html mentions chronyd as ntp-service. Gotta read on. I assume it won't make any real difference for me as a user. Stefan
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2 [now gnome3]
On 13 February 2013, at 10:39, Alan McKinnon wrote: … I don't mean to rain on anyone's parade, but I really do not see the point of Gnome3 at all. It has no identity of its own … So what's the point of Gnome3? If people like the Unity-ish bits, they should run Unity. Same with the KDE and MacOS bits. Politics? You know the history between Ubuntu / Unity and Gnome, don't you? AIUI Ubuntu did a huge set of patches to Gnome to provide notifications, and they were rejected. AIUI there was a big thing between Shuttleworth and some of the Gnome devs, with Shuttleworth saying that the patches were discussed with Gnome devs; Shuttleworth claimed they'd followed the Gnome devs' advisement, agreed the best way forward and notifications (and their API) had been implemented on the understanding they'd likely be accepted. However it was a couple of different Gnome devs that claimed responsibility for this area, and that they'd decided to do things differently, and that basically Ubuntu's work was an unwelcome code dump - thanks, but no thanks. Thus Ubuntu made Unity, and Gnome carried on with doing it their way. There were a couple of really long articles on Shuttleworth's blog about this at the time. They're actually really interesting reading, if you've got the time for an epic, an insight into the politics or society of OSS development. The impression I got was that there was some upset, but actually no-one had deceived anyone or stitched anyone else up, it was just a misunderstanding (or series of misunderstandings) due to the nature of the relationships / hierarchies involved in the two development groups. But I think Shuttleworth was a bit aggrieved and felt the only way to get what he wanted was to develop Unity in house, and Gnome wasn't going to stop what it was doing just because Ubuntu were doing something similar-but-different. Stroller.
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2 [now gnome3]
On 13/02/2013 13:36, Stroller wrote: On 13 February 2013, at 10:39, Alan McKinnon wrote: … I don't mean to rain on anyone's parade, but I really do not see the point of Gnome3 at all. It has no identity of its own … So what's the point of Gnome3? If people like the Unity-ish bits, they should run Unity. Same with the KDE and MacOS bits. Politics? You know the history between Ubuntu / Unity and Gnome, don't you? AIUI Ubuntu did a huge set of patches to Gnome to provide notifications, and they were rejected. AIUI there was a big thing between Shuttleworth and some of the Gnome devs, with Shuttleworth saying that the patches were discussed with Gnome devs; Shuttleworth claimed they'd followed the Gnome devs' advisement, agreed the best way forward and notifications (and their API) had been implemented on the understanding they'd likely be accepted. However it was a couple of different Gnome devs that claimed responsibility for this area, and that they'd decided to do things differently, and that basically Ubuntu's work was an unwelcome code dump - thanks, but no thanks. Thus Ubuntu made Unity, and Gnome carried on with doing it their way. There were a couple of really long articles on Shuttleworth's blog about this at the time. They're actually really interesting reading, if you've got the time for an epic, an insight into the politics or society of OSS development. The impression I got was that there was some upset, but actually no-one had deceived anyone or stitched anyone else up, it was just a misunderstanding (or series of misunderstandings) due to the nature of the relationships / hierarchies involved in the two development groups. But I think Shuttleworth was a bit aggrieved and felt the only way to get what he wanted was to develop Unity in house, and Gnome wasn't going to stop what it was doing just because Ubuntu were doing something similar-but-different. I do remember most of that, although I never read up on it in lots of detail. It was something that was happening over there and I could easily keep it out of my head space. Unity has been shipping for ages now, what is it? 3 years at least? And if my memory serves, Gnome 3 is *very* much more recent in a shippable state. It certainly looks like Gnome is copy-catting, and doing it badly. I'm still struggling to see where Gnome figures it's going to fit in in the world. What are the devs trying to build and what is their vision for their project? Because I just don't see one at all. Saying things like we want to build a modern, functional, relevant desktop for todays needs is really just marketing crap, it tells you nothing. It's empty vapid words devoid of meaning (if the sentence was a human it would be the dumb blonde stereotype from sitcoms). Windows8 is modern, functional, yadda yadda yadda, for that matter so is Android Eclair. All the progress I see from Gnome3 (and I get this only from blog posts on the tubes) is that stuff is being ripped out and replaced with mostly nothing. Take a file manager; I understand the concept of treating your stuff on disk as meta-stuff and you just search for stuff, the desktop tells you where your stuff is, even if it's in the cloud. But sometimes the user really does want to view his stuff as actual files and folders. So, err, where's the file manager? Why is the system settings app a straight rip right out of KDE4? Even the categories and names are recognizably the same. I would think SystemSettings is the one major part of a desktop where Gnome would *not* copy something else. If anything in a desktop needs to follow your overall vision for the user, it would be that one. So I dunno, I look at the project and what I'm seeing is a bunch of folks with an aura of we actually have no idea really what we are doing... I'm not saying that's the way it is, I'm saying that's the conclusion I'm coming to based on what I see on the screen. I'd still really like someone who groks what Gnome3 is all about to fill in these blanks in my understanding with truthiness ;-) -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2 [now gnome3]
I'd still really like someone who groks what Gnome3 is all about to fill in these blanks in my understanding with truthiness ;-) Apparently the main drive is to have a brand, so a constant and so simple look is recognised as a Gnome/? machine. A bit pointless if no-one uses it or changes to something better (negative brand). The gnome3 devs may intend to restore the missing stuff at some point, but I don't know, and meanwhile I'm frustrated and my attitude is deteriorating. Certainly not all unless they change the 'Brand' position. -- ___ 'Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface' (Doug McIlroy) ___
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
Am 2013-02-10 15:41, schrieb Stefan G. Weichinger: conflicting device node '/dev/mapper/swap' found googled that and found this similar issue: https://bugs.archlinux.org/task/32403 The command there returns on my thinkpad: # journalctl -b --no-pager _SYSTEMD_UNIT=systemd-udevd.service -- Logs begin at Mit 2012-08-15 20:16:00 CEST, end at Mit 2013-02-13 19:03:42 CET. -- Feb 13 18:48:30 enzo systemd-udevd[4415]: failed to execute '/lib/udev/lmt-udev' '/lib/udev/lmt-udev auto': No such file or directory Feb 13 18:48:30 enzo systemd-udevd[4519]: failed to execute '/lib/udev/lmt-udev' '/lib/udev/lmt-udev force modules=usb-autosuspend devices=1-1.3:1...directory Feb 13 18:48:30 enzo systemd-udevd[3857]: conflicting device node '/dev/mapper/swap' found, link to '/dev/dm-0' will not be created Feb 13 18:53:28 enzo systemd-udevd[5411]: conflicting device node '/dev/mapper/_dev_sda4' found, link to '/dev/dm-1' will not be created hmm. Might be that I have some outdated udev-rules, right? # equery f udev | grep rules /lib/udev/rules.d/40-gentoo.rules /lib/udev/rules.d/42-usb-hid-pm.rules /lib/udev/rules.d/50-udev-default.rules /lib/udev/rules.d/60-cdrom_id.rules /lib/udev/rules.d/60-persistent-alsa.rules /lib/udev/rules.d/60-persistent-input.rules /lib/udev/rules.d/60-persistent-serial.rules /lib/udev/rules.d/60-persistent-storage-tape.rules /lib/udev/rules.d/60-persistent-storage.rules /lib/udev/rules.d/60-persistent-v4l.rules /lib/udev/rules.d/61-accelerometer.rules /lib/udev/rules.d/64-btrfs.rules /lib/udev/rules.d/75-net-description.rules /lib/udev/rules.d/75-probe_mtd.rules /lib/udev/rules.d/75-tty-description.rules /lib/udev/rules.d/78-sound-card.rules /lib/udev/rules.d/80-drivers.rules /lib/udev/rules.d/80-net-name-slot.rules /lib/udev/rules.d/95-keyboard-force-release.rules /lib/udev/rules.d/95-keymap.rules /lib/udev/rules.d/95-udev-late.rules while I have stuff like this in /lib/udev/rules.d: # ls -1 /lib/udev/rules.d/ 10-dm.rules 11-dm-lvm.rules 13-dm-disk.rules 40-gentoo.rules 40-usb-media-players.rules 40-usb_modeswitch.rules 42-usb-hid-pm.rules 50-udev-default.rules 60-cdrom_id.rules 60-fprint-autosuspend.rules 60-persistent-alsa.rules 60-persistent-input.rules 60-persistent-serial.rules 60-persistent-storage.rules 60-persistent-storage-tape.rules 60-persistent-v4l.rules 60-vmware.rules 60-zvol.rules 61-accelerometer.rules 61-gnome-bluetooth.rules 64-btrfs.rules 64-md-raid.rules 65-kvm.rules 69-cd-sensors.rules 69-dm-lvm-metad.rules 69-vdev.rules 70-libgphoto2.rules 70-power-switch.rules 70-printers.rules 70-uaccess.rules 71-seat.rules 73-seat-late.rules 75-net-description.rules 75-probe_mtd.rules 75-tty-description.rules 77-mm-ericsson-mbm.rules 77-mm-longcheer-port-types.rules 77-mm-nokia-port-types.rules 77-mm-pcmcia-device-blacklist.rules 77-mm-platform-serial-whitelist.rules 77-mm-simtech-port-types.rules 77-mm-usb-device-blacklist.rules 77-mm-x22x-port-types.rules 77-mm-zte-port-types.rules 77-nm-olpc-mesh.rules 78-sound-card.rules 80-drivers.rules 80-mm-candidate.rules 80-net-name-slot.rules 80-udisks2.rules 80-udisks.rules 85-regulatory.rules 90-alsa-restore.rules 90-network.rules 90-pulseaudio.rules 90-zfs.rules 95-cd-devices.rules 95-dm-notify.rules 95-keyboard-force-release.rules 95-keymap.rules 95-osinfo.rules 95-udev-late.rules 95-upower-battery-recall-dell.rules 95-upower-battery-recall-fujitsu.rules 95-upower-battery-recall-gateway.rules 95-upower-battery-recall-ibm.rules 95-upower-battery-recall-lenovo.rules 95-upower-battery-recall-toshiba.rules 95-upower-csr.rules 95-upower-hid.rules 95-upower-wup.rules 97-bluetooth-hid2hci.rules 99-fuse.rules 99-ntfs3g.rules 99-systemd.rules *sigh* Before I completely ruin that setup: Would someone pls compare that directory's content with mine and tell me what to get rid of? - I assume the problematic files (in the issue with encrypted swap) come from lvm2: # equery b 10-dm.rules * Searching for 10-dm.rules ... sys-fs/lvm2-2.02.98 (/lib/udev/rules.d/10-dm.rules) # equery b 11-dm-lvm.rules * Searching for 11-dm-lvm.rules ... sys-fs/lvm2-2.02.98 (/lib/udev/rules.d/11-dm-lvm.rules) I will unmerge lvm2 for now as I think I don't need it on the laptop (I don't use PVs/VGs/LVs here and that device-mapper-stuff happens elsewhere, correct?) S
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2 [now gnome3]
On 13/02/2013 19:56, Kevin Chadwick wrote: I'd still really like someone who groks what Gnome3 is all about to fill in these blanks in my understanding with truthiness ;-) Apparently the main drive is to have a brand, so a constant and so simple look is recognised as a Gnome/? machine. A bit pointless if no-one uses it or changes to something better (negative brand). Oh yes, I'd forgotten about that little jewel, the bit where a senior Gnome dev is on record as saying that themes the user can control are bad. And this person wants to remove (or at least tone down) themes so Gnome can control Gnome's brand. The gnome3 devs may intend to restore the missing stuff at some point, but I don't know, and meanwhile I'm frustrated and my attitude is deteriorating. Certainly not all unless they change the 'Brand' position. Who cares about a brand? Projects make software that works. Distros do branding. Or does Gnome want every Gnome-using distro to look the same? Do Gnome devs know how to spell fork? -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2 [now gnome3]
Do Gnome devs know how to spell fork? I think not they have an accent and keep saying 'pass me the fork an knife' Puzzled why they only got a knife they just get their heads down and start cutting away due to the funny look from the passer. -- ___ 'Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface' (Doug McIlroy) ___
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
On Wed, Feb 13, 2013 at 12:17 PM, Stefan G. Weichinger li...@xunil.at wrote: Am 2013-02-10 15:41, schrieb Stefan G. Weichinger: conflicting device node '/dev/mapper/swap' found googled that and found this similar issue: https://bugs.archlinux.org/task/32403 The command there returns on my thinkpad: # journalctl -b --no-pager _SYSTEMD_UNIT=systemd-udevd.service -- Logs begin at Mit 2012-08-15 20:16:00 CEST, end at Mit 2013-02-13 19:03:42 CET. -- Feb 13 18:48:30 enzo systemd-udevd[4415]: failed to execute '/lib/udev/lmt-udev' '/lib/udev/lmt-udev auto': No such file or directory Feb 13 18:48:30 enzo systemd-udevd[4519]: failed to execute '/lib/udev/lmt-udev' '/lib/udev/lmt-udev force modules=usb-autosuspend devices=1-1.3:1...directory Feb 13 18:48:30 enzo systemd-udevd[3857]: conflicting device node '/dev/mapper/swap' found, link to '/dev/dm-0' will not be created Feb 13 18:53:28 enzo systemd-udevd[5411]: conflicting device node '/dev/mapper/_dev_sda4' found, link to '/dev/dm-1' will not be created hmm. Might be that I have some outdated udev-rules, right? # equery f udev | grep rules /lib/udev/rules.d/40-gentoo.rules /lib/udev/rules.d/42-usb-hid-pm.rules /lib/udev/rules.d/50-udev-default.rules /lib/udev/rules.d/60-cdrom_id.rules /lib/udev/rules.d/60-persistent-alsa.rules /lib/udev/rules.d/60-persistent-input.rules /lib/udev/rules.d/60-persistent-serial.rules /lib/udev/rules.d/60-persistent-storage-tape.rules /lib/udev/rules.d/60-persistent-storage.rules /lib/udev/rules.d/60-persistent-v4l.rules /lib/udev/rules.d/61-accelerometer.rules /lib/udev/rules.d/64-btrfs.rules /lib/udev/rules.d/75-net-description.rules /lib/udev/rules.d/75-probe_mtd.rules /lib/udev/rules.d/75-tty-description.rules /lib/udev/rules.d/78-sound-card.rules /lib/udev/rules.d/80-drivers.rules /lib/udev/rules.d/80-net-name-slot.rules /lib/udev/rules.d/95-keyboard-force-release.rules /lib/udev/rules.d/95-keymap.rules /lib/udev/rules.d/95-udev-late.rules while I have stuff like this in /lib/udev/rules.d: # ls -1 /lib/udev/rules.d/ 10-dm.rules 11-dm-lvm.rules 13-dm-disk.rules 40-gentoo.rules 40-usb-media-players.rules 40-usb_modeswitch.rules 42-usb-hid-pm.rules 50-udev-default.rules 60-cdrom_id.rules 60-fprint-autosuspend.rules 60-persistent-alsa.rules 60-persistent-input.rules 60-persistent-serial.rules 60-persistent-storage.rules 60-persistent-storage-tape.rules 60-persistent-v4l.rules 60-vmware.rules 60-zvol.rules 61-accelerometer.rules 61-gnome-bluetooth.rules 64-btrfs.rules 64-md-raid.rules 65-kvm.rules 69-cd-sensors.rules 69-dm-lvm-metad.rules 69-vdev.rules 70-libgphoto2.rules 70-power-switch.rules 70-printers.rules 70-uaccess.rules 71-seat.rules 73-seat-late.rules 75-net-description.rules 75-probe_mtd.rules 75-tty-description.rules 77-mm-ericsson-mbm.rules 77-mm-longcheer-port-types.rules 77-mm-nokia-port-types.rules 77-mm-pcmcia-device-blacklist.rules 77-mm-platform-serial-whitelist.rules 77-mm-simtech-port-types.rules 77-mm-usb-device-blacklist.rules 77-mm-x22x-port-types.rules 77-mm-zte-port-types.rules 77-nm-olpc-mesh.rules 78-sound-card.rules 80-drivers.rules 80-mm-candidate.rules 80-net-name-slot.rules 80-udisks2.rules 80-udisks.rules 85-regulatory.rules 90-alsa-restore.rules 90-network.rules 90-pulseaudio.rules 90-zfs.rules 95-cd-devices.rules 95-dm-notify.rules 95-keyboard-force-release.rules 95-keymap.rules 95-osinfo.rules 95-udev-late.rules 95-upower-battery-recall-dell.rules 95-upower-battery-recall-fujitsu.rules 95-upower-battery-recall-gateway.rules 95-upower-battery-recall-ibm.rules 95-upower-battery-recall-lenovo.rules 95-upower-battery-recall-toshiba.rules 95-upower-csr.rules 95-upower-hid.rules 95-upower-wup.rules 97-bluetooth-hid2hci.rules 99-fuse.rules 99-ntfs3g.rules 99-systemd.rules *sigh* Before I completely ruin that setup: Would someone pls compare that directory's content with mine and tell me what to get rid of? You should not be deleting rules arbitrarily from your system; perharps you have orphan rules, and you can detect that by equery'ing to what package each rule belongs. I assume the problematic files (in the issue with encrypted swap) come from lvm2: # equery b 10-dm.rules * Searching for 10-dm.rules ... sys-fs/lvm2-2.02.98 (/lib/udev/rules.d/10-dm.rules) # equery b 11-dm-lvm.rules * Searching for 11-dm-lvm.rules ... sys-fs/lvm2-2.02.98 (/lib/udev/rules.d/11-dm-lvm.rules) I will unmerge lvm2 for now as I think I don't need it on the laptop (I don't use PVs/VGs/LVs here and that device-mapper-stuff happens elsewhere, correct?) LVM2 will be pulled again by udisks2; it's a mandatory dependency. I don't think the problem is related to LVM, but I don't really know. 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-197-r1 starts gdm-3.6.2
Am 2013-02-13 21:01, schrieb Canek Peláez Valdés: LVM2 will be pulled again by udisks2; it's a mandatory dependency. I don't think the problem is related to LVM, but I don't really know. I already found out, yes. Maybe it's just some systemd race condition. It's not that important to me right now ... I will check back with later releases and google bug-reports now and then. Stefan
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
Am 11.02.2013 22:03, schrieb Canek Peláez Valdés: On Mon, Feb 11, 2013 at 3:51 AM, Stefan G. Weichinger li...@xunil.at wrote: Do you have acpid installed/enabled? Anything aside the default acpi-scripts? The last time I installed acpid was in November of 2010, and I uninstalled for the last time in April 2011. My machines are all acpid free since then; systemd + UPower takes cares of everything AFAIK. getting OT here ... - Would you mind showing the results of zgrep ACPI /proc/config.gz ? USE= -acpi . as well? Stefan
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
On Wed, Feb 13, 2013 at 2:32 PM, Stefan G. Weichinger li...@xunil.at wrote: Am 11.02.2013 22:03, schrieb Canek Peláez Valdés: On Mon, Feb 11, 2013 at 3:51 AM, Stefan G. Weichinger li...@xunil.at wrote: Do you have acpid installed/enabled? Anything aside the default acpi-scripts? The last time I installed acpid was in November of 2010, and I uninstalled for the last time in April 2011. My machines are all acpid free since then; systemd + UPower takes cares of everything AFAIK. getting OT here ... - Would you mind showing the results of zgrep ACPI /proc/config.gz I haven't had /proc/config.gz in years, but I always keep my current config: # grep ACPI config-3.7.6 # Power management and ACPI options CONFIG_ACPI=y CONFIG_ACPI_SLEEP=y # CONFIG_ACPI_PROCFS is not set # CONFIG_ACPI_PROCFS_POWER is not set # CONFIG_ACPI_EC_DEBUGFS is not set # CONFIG_ACPI_PROC_EVENT is not set CONFIG_ACPI_AC=m CONFIG_ACPI_BATTERY=m CONFIG_ACPI_BUTTON=m CONFIG_ACPI_VIDEO=m CONFIG_ACPI_FAN=m CONFIG_ACPI_DOCK=y CONFIG_ACPI_PROCESSOR=m CONFIG_ACPI_HOTPLUG_CPU=y CONFIG_ACPI_PROCESSOR_AGGREGATOR=m CONFIG_ACPI_THERMAL=m # CONFIG_ACPI_CUSTOM_DSDT is not set CONFIG_ACPI_BLACKLIST_YEAR=0 CONFIG_ACPI_DEBUG=y # CONFIG_ACPI_DEBUG_FUNC_TRACE is not set CONFIG_ACPI_PCI_SLOT=m CONFIG_ACPI_CONTAINER=m CONFIG_ACPI_SBS=m # CONFIG_ACPI_HED is not set CONFIG_ACPI_CUSTOM_METHOD=m # CONFIG_ACPI_APEI is not set CONFIG_X86_ACPI_CPUFREQ=m CONFIG_X86_ACPI_CPUFREQ_CPB=y CONFIG_PNPACPI=y CONFIG_ATA_ACPI=y # CONFIG_PATA_ACPI is not set # ACPI drivers # CONFIG_THINKPAD_ACPI is not set CONFIG_ACPI_WMI=m CONFIG_ACPI_TOSHIBA=m # CONFIG_ACPI_CMPC is not set This is my laptop, my desktop is obviously a little different. USE= -acpi . as well? There are still relevant packages that have acpi? AFAIK, the kernel, udev and the userspace *kits take are of everything. In my laptop I don't have the acpi USE flag, but the interesting fact is that I can do an emerge -uDNvp world, with USE=acpi OR USE=-acpi, and nothing gets rebuilt. In other words, in my laptop I don't have a single package that uses the acpi USE flag. I just did this: # grep IUSE=\.*acpi.*\ $(find /usr/portage -name *.ebuild) | cut -d / -f 4-5 | sort | uniq app-emulation/bochs app-laptop/laptop-mode-tools app-laptop/pbbuttonsd sys-freebsd/freebsd-usbin sys-power/cpufreqd x11-drivers/nvidia-drivers x11-misc/keytouch x11-plugins/wmacpi x11-wm/matchbox-panel xfce-extra/xfce4-sensors-plugin Those are ALL the packages that have the acpi USE flag in the tree. Of those, I just use nvidia-drivers in my media center, and I must use USE=-acpi, since I don't have acpid in any of my machines (the flag just plugs in acpid). I do use ACPI, but (as I said) the kernel, udev and the userspace *kits take care of it. The acpid daemon is a relic from the time when we didn't have standarized interfaces for ACPI events, like power button pushes. Nowadays we have smarter software that deals with it. 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-197-r1 starts gdm-3.6.2
Am 13.02.2013 22:08, schrieb Canek Peláez Valdés: # grep ACPI config-3.7.6 # Power management and ACPI options CONFIG_ACPI=y CONFIG_ACPI_SLEEP=y [..] This is my laptop, my desktop is obviously a little different. I'll compare with my thinkpad asap, just to get an impression ... I do use ACPI, but (as I said) the kernel, udev and the userspace *kits take care of it. The acpid daemon is a relic from the time when we didn't have standarized interfaces for ACPI events, like power button pushes. Nowadays we have smarter software that deals with it. ... as I see with my resume-issue :-P ;-) Thanks a lot for sharing, Stefan
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
On Wed, 30 Jan 2013, Canek Peláez Valdés wrote: GNOME 3.6 is not masked in Gentoo, just keyworded. Apologies for the slight thread hijack, but I've been curious if anyone knows the current state of Gnome 3 in Gentoo? I'm currently on Gnome 2, and I'm one of those weirdos who kind of likes Gnome 3 (it's not without its faults). I also prefer to stick with stable when I can, but I've been curious on how things are going with stabilization of Gnome 3. It's kind of difficult to find information about this using Google, so I thought I'd ask if any of you knew. Thanks! -- R
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
Am 10.02.2013 20:47, schrieb Canek Peláez Valdés: Yep, had the same problem, solved with: LidSwitchIgnoreInhibited=no in /etc/systemd/logind.conf. Since then it has happened again maybe a couple of times (I have no idea why), but most of the time (and I'm talking above 99%), it works as intended. These options are pretty new, I think they went live after GNOME 3.6, so I hope that with GNOME 3.8 we will be able to comment that line again and everything will work automagically. hopefully ... Unfortunately that parameter didn't help so far. Do you have acpid installed/enabled? Anything aside the default acpi-scripts? I removed hibernate-script from my system now just to check things. Stefan
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
On Mon, Feb 11, 2013 at 3:51 AM, Stefan G. Weichinger li...@xunil.at wrote: Am 10.02.2013 20:47, schrieb Canek Peláez Valdés: Yep, had the same problem, solved with: LidSwitchIgnoreInhibited=no in /etc/systemd/logind.conf. Since then it has happened again maybe a couple of times (I have no idea why), but most of the time (and I'm talking above 99%), it works as intended. These options are pretty new, I think they went live after GNOME 3.6, so I hope that with GNOME 3.8 we will be able to comment that line again and everything will work automagically. hopefully ... Unfortunately that parameter didn't help so far. Do you have acpid installed/enabled? Anything aside the default acpi-scripts? The last time I installed acpid was in November of 2010, and I uninstalled for the last time in April 2011. My machines are all acpid free since then; systemd + UPower takes cares of everything AFAIK. I removed hibernate-script from my system now just to check things. I haven't used scripts to suspend or hibernate in ages; again UPower does everything, or perhaps some other part of the GNOME stack. sys-power/pm-utils is still being pulled in by upower-0.9.19, but it only calls pm-is-supported (src/linux/up-backend.c:363-390) to determine if the machine can suspend/hibernate. Which is kinda stupid, since pm-is-supported is only a set of scripts which test files in the /sys directory. UPower should test for those files directly (is in the linux backend anyway), and remove the pm-utils dependency. For the kernel I use vanilla-sources unstable; I haven't used gentoo-sources in ages (long before systemd), and I never used tuxonice-sources. Suspend/hibernate works perfectly in all my machines; I haven't had a failed resume in (literally) years. 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-197-r1 starts gdm-3.6.2
Am 11.02.2013 22:03, schrieb Canek Peláez Valdés: On Mon, Feb 11, 2013 at 3:51 AM, Stefan G. Weichinger li...@xunil.at wrote: Do you have acpid installed/enabled? Anything aside the default acpi-scripts? The last time I installed acpid was in November of 2010, and I uninstalled for the last time in April 2011. My machines are all acpid free since then; systemd + UPower takes cares of everything AFAIK. I see. I take this as an impulse to cleanup my system even more ... removing acpi means getting rid of those app-laptop/laptop-mode-tools as well afai understand ... they relied on ACPI to switch stuff ... Both removed now ... I haven't used scripts to suspend or hibernate in ages; again UPower does everything, or perhaps some other part of the GNOME stack. sys-power/pm-utils is still being pulled in by upower-0.9.19, but it only calls pm-is-supported (src/linux/up-backend.c:363-390) to determine if the machine can suspend/hibernate. Which is kinda stupid, since pm-is-supported is only a set of scripts which test files in the /sys directory. UPower should test for those files directly (is in the linux backend anyway), and remove the pm-utils dependency. Yep, another issue (bug-report ;-) ). For the kernel I use vanilla-sources unstable; I haven't used gentoo-sources in ages (long before systemd), and I never used tuxonice-sources. I see. gentoo-sources here, 3.7.6 at the moment, from time to time I git pull some kernel from linux-git or linux-stable (Linus or Greg ...). Suspend/hibernate works perfectly in all my machines; I haven't had a failed resume in (literally) years. Good to hear. I see upower.service as active but disabled ... ? hmm.. Stefan
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
On Mon, Feb 11, 2013 at 3:19 PM, Stefan G. Weichinger li...@xunil.at wrote: Am 11.02.2013 22:03, schrieb Canek Peláez Valdés: On Mon, Feb 11, 2013 at 3:51 AM, Stefan G. Weichinger li...@xunil.at wrote: Do you have acpid installed/enabled? Anything aside the default acpi-scripts? The last time I installed acpid was in November of 2010, and I uninstalled for the last time in April 2011. My machines are all acpid free since then; systemd + UPower takes cares of everything AFAIK. I see. I take this as an impulse to cleanup my system even more ... removing acpi means getting rid of those app-laptop/laptop-mode-tools as well afai understand ... they relied on ACPI to switch stuff ... Both removed now ... I haven't used scripts to suspend or hibernate in ages; again UPower does everything, or perhaps some other part of the GNOME stack. sys-power/pm-utils is still being pulled in by upower-0.9.19, but it only calls pm-is-supported (src/linux/up-backend.c:363-390) to determine if the machine can suspend/hibernate. Which is kinda stupid, since pm-is-supported is only a set of scripts which test files in the /sys directory. UPower should test for those files directly (is in the linux backend anyway), and remove the pm-utils dependency. Yep, another issue (bug-report ;-) ). For the kernel I use vanilla-sources unstable; I haven't used gentoo-sources in ages (long before systemd), and I never used tuxonice-sources. I see. gentoo-sources here, 3.7.6 at the moment, from time to time I git pull some kernel from linux-git or linux-stable (Linus or Greg ...). Suspend/hibernate works perfectly in all my machines; I haven't had a failed resume in (literally) years. Good to hear. I see upower.service as active but disabled ... ? hmm.. It's OK; disabled means that it's not enabled, i.e., there is no link to it from /etc/systemd/system/*.wants. It's Dbus activable, so the first time someone calls a method from org.freedesktop.UPower via dbus, the service is activated automatically. There is no need to enable the service (which will mean that it starts even if no other process calls a method from org.freedesktop.UPower). Enabled/Disabled is orthogonal to Active/Inactive; the first means the service will start when reaching its target no matter what, and the latter means the service is running. 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-197-r1 starts gdm-3.6.2
Am 11.02.2013 22:30, schrieb Canek Peláez Valdés: On Mon, Feb 11, 2013 at 3:19 PM, Stefan G. Weichinger li...@xunil.at wrote: I see upower.service as active but disabled ... ? hmm.. It's OK; disabled means that it's not enabled, i.e., there is no link to it from /etc/systemd/system/*.wants. It's Dbus activable, so the first time someone calls a method from org.freedesktop.UPower via dbus, the service is activated automatically. There is no need to enable the service (which will mean that it starts even if no other process calls a method from org.freedesktop.UPower). I assumed something like that, yes. Thanks for explaining. Still seeing that immediate suspend after resume ... it looks as if it actually gets the signal to suspend twice somehow. Maybe some ACPI-related issue on the thinkpad, I read about something like that back with HAL etc. (the lid-open-event was interpreted as lid-close or similar ...). Anyway, enough for today. Late here. Thanks, greets, Stefan
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
Am 2013-02-10 00:26, schrieb Canek Peláez Valdés: On Sat, Feb 9, 2013 at 12:56 PM, Stefan G. Weichinger li...@xunil.at wrote: Next episode: I also migrated my gentoo thinkpad to systemd today. Cool. ;-) ... next try, I had systemd on both of my work-systems already a year ago or so ... but there were some showstoppers back then. This time I already solved most of them I can login to gdm here! ;-) Try to list the differences between your laptop and your desktop (world files, USE flags, partition schemes, etc.) That was my approach when you described your problem to me; try to see what it differentiates from mine, but we never got too far with tat. Your help was great ... and we already excluded several issues. I haven't used an encrypted swap (nor partition), but I believe that's all you need. A workaround perhaps is to put the nofail option, which at least will skip the partition when booting. Into fstab, right? I will try to play with automount-options as well. S
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
Am 2013-02-10 11:09, schrieb Stefan G. Weichinger: Into fstab, right? I will try to play with automount-options as well. nofail gives me a straight bootup as the system does not (try to) enable swap. The cryptsetup-unit gets set up correctly: # cryptsetup status swap /dev/mapper/swap is active. type:PLAIN cipher: aes-cbc-essiv:sha256 keysize: 256 bits device: /dev/sda5 offset: 0 sectors size:2093056 sectors mode:read/write I can swapon manually, but it didn't get enabled by systemd so far. Maybe it *would* have been enabled if swap was accessed? I can live with that so far ... but it would be interesting to get that right, just to learn things. Maybe I should try the other approach and create a unit-file for the encrypted swap by myself. Stefan
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
Am 2013-02-10 11:35, schrieb Stefan G. Weichinger: I can live with that so far ... but it would be interesting to get that right, just to learn things. Maybe I should try the other approach and create a unit-file for the encrypted swap by myself. Next steps done ... no real success so far. What I find in the journal: Feb 10 15:34:46 enzo systemd-udevd[3848]: conflicting device node '/dev/mapper/swap' found, link to '/dev/dm-0' will not be created Feb 10 15:34:46 enzo mkswap[5420]: [58B blob data] Feb 10 15:34:46 enzo mkswap[5420]: kein Label, UUID=fe8f8768-bffb-4c05-8ebd-763a50cd6ae4 Feb 10 15:34:46 enzo systemd[1]: Started Cryptography Setup for swap. Feb 10 15:34:46 enzo systemd[1]: Starting Encrypted Volumes. Feb 10 15:34:46 enzo systemd[1]: Reached target Encrypted Volumes. ... Feb 10 15:36:16 enzo systemd[1]: Job dev-mapper-swap.device/start timed out. Feb 10 15:36:16 enzo systemd[1]: Timed out waiting for device dev-mapper-swap.device. Feb 10 15:36:16 enzo systemd[1]: Dependency failed for /dev/mapper/swap. hmmm gotta google that ... Stefan
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
Am 2013-02-10 15:41, schrieb Stefan G. Weichinger: Am 2013-02-10 11:35, schrieb Stefan G. Weichinger: I can live with that so far ... but it would be interesting to get that right, just to learn things. next learnings (I maybe should write some wiki-entry somewhere to collect all that for others ...): systemd and acpid and Gnome all try to handle suspending my thinkpad to RAM ... it seems. So I get the behavior that it suspends fine when I close the lid but when I open it again I get an immediate suspend *again* ... I then tried to disable acpid completely, same behavior. I also cleaned up /etc/acpi and re-installed acpid to get default behavior. systemctl suspend from the shell (without that lid-event) works fine and resumes correctly. Interesting ;-) I already noticed that there are parameters to let systemd ignore the various acpi-events (haven't yet tested that) but I would prefer to let systemd handle suspend and resume. - Canek, do you run systemd on a laptop as well? Anyone else? Best regards, Stefan
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
On Sun, Feb 10, 2013 at 1:32 PM, Stefan G. Weichinger li...@xunil.at wrote: Am 2013-02-10 15:41, schrieb Stefan G. Weichinger: Am 2013-02-10 11:35, schrieb Stefan G. Weichinger: I can live with that so far ... but it would be interesting to get that right, just to learn things. next learnings (I maybe should write some wiki-entry somewhere to collect all that for others ...): systemd and acpid and Gnome all try to handle suspending my thinkpad to RAM ... it seems. So I get the behavior that it suspends fine when I close the lid but when I open it again I get an immediate suspend *again* ... I then tried to disable acpid completely, same behavior. I also cleaned up /etc/acpi and re-installed acpid to get default behavior. systemctl suspend from the shell (without that lid-event) works fine and resumes correctly. Interesting ;-) I already noticed that there are parameters to let systemd ignore the various acpi-events (haven't yet tested that) but I would prefer to let systemd handle suspend and resume. - Canek, do you run systemd on a laptop as well? Yep, had the same problem, solved with: LidSwitchIgnoreInhibited=no in /etc/systemd/logind.conf. Since then it has happened again maybe a couple of times (I have no idea why), but most of the time (and I'm talking above 99%), it works as intended. These options are pretty new, I think they went live after GNOME 3.6, so I hope that with GNOME 3.8 we will be able to comment that line again and everything will work automagically. 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-197-r1 starts gdm-3.6.2
Next episode: I also migrated my gentoo thinkpad to systemd today. Generally very similar to my desktop ... ~amd64 with Gnome 3.6. Things went pretty well, I have to say. I can login to gdm here! ;-) An issue I haven't solved yet: encrypted swap. I always get timeouts as systemd waits for the decrypted mapper-device to come up. Swap doesn't get enabled but when it finally continues to boot I see the valid mapper-device there and can swapon it manually. # cat /etc/crypttab swap /dev/disk/by-id/ata-INTEL_SSDSA2M080G2GC_CVPO015404LR080JGN-part5 /dev/urandom swap,cipher=aes-cbc-essiv:sha256,size=256 # grep swap /etc/fstab /dev/mapper/swapnoneswapdefaults0 0 AFAI understand these 2 lines should be enough to let systemd generate its relevant unit-files etc. Right? Best regards, have a nice weekend, Stefan
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
Am 2013-02-09 19:56, schrieb Stefan G. Weichinger: AFAI understand these 2 lines should be enough to let systemd generate its relevant unit-files etc. Right? Additional thoughts: Is pam_mount obsolete with systemd? It is possible to mount my /home via systemd-unit as well ... the difference seems to be that systemd would (try to) mount it at boot-time while with pam_mount it would be mounted at login. Thoughts? Experiences? Stefan
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
On Sat, Feb 9, 2013 at 12:56 PM, Stefan G. Weichinger li...@xunil.at wrote: Next episode: I also migrated my gentoo thinkpad to systemd today. Cool. Generally very similar to my desktop ... ~amd64 with Gnome 3.6. Things went pretty well, I have to say. I can login to gdm here! ;-) Try to list the differences between your laptop and your desktop (world files, USE flags, partition schemes, etc.) That was my approach when you described your problem to me; try to see what it differentiates from mine, but we never got too far with tat. An issue I haven't solved yet: encrypted swap. I always get timeouts as systemd waits for the decrypted mapper-device to come up. Swap doesn't get enabled but when it finally continues to boot I see the valid mapper-device there and can swapon it manually. # cat /etc/crypttab swap /dev/disk/by-id/ata-INTEL_SSDSA2M080G2GC_CVPO015404LR080JGN-part5 /dev/urandom swap,cipher=aes-cbc-essiv:sha256,size=256 # grep swap /etc/fstab /dev/mapper/swapnoneswapdefaults0 0 AFAI understand these 2 lines should be enough to let systemd generate its relevant unit-files etc. Right? I haven't used an encrypted swap (nor partition), but I believe that's all you need. A workaround perhaps is to put the nofail option, which at least will skip the partition when booting. 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-197-r1 starts gdm-3.6.2
On Sat, Feb 9, 2013 at 1:44 PM, Stefan G. Weichinger li...@xunil.at wrote: Am 2013-02-09 19:56, schrieb Stefan G. Weichinger: AFAI understand these 2 lines should be enough to let systemd generate its relevant unit-files etc. Right? Additional thoughts: Is pam_mount obsolete with systemd? I don't know if obsolete is the correct definition, but it is not installed in any of my systems. It is possible to mount my /home via systemd-unit as well ... the difference seems to be that systemd would (try to) mount it at boot-time while with pam_mount it would be mounted at login. You can mount almost all partitions with system units; there was a discussion some days ago about getting rid of /etc/fstab for the embedded case and stuff like that. Also, you can set the .mount unit for your $HOME, and make the gdm service depend on it (it would be mounted at gdm startup, not at session startup, though). Thoughts? Experiences? I have never used pam_mount; what's the upside? Just delaying the mounting (and perhaps fsck'ing) of the partition until session login? 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-197-r1 starts gdm-3.6.2
Am 06.02.2013 08:19, schrieb Canek Peláez Valdés: Sorry for answering so late; long weekend in here. No problem ... I had other issues here and so far it is just OK to use xdm.service instead. btw. even with xdm there is a pretty slow startup of gnome (time between hitting enter after the password and a working gnome-shell) ... Over the last days I pretty much rebuilt most of that machine ... 10:59:25.755: Registered Authentication Agent for unix-session:c6 (system bus name :1.28 [gnome-shell --mode=gdm], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale de_DE.UTF-8) Nothing more. I was expecting more from that. The gdm.log is empty. That is weird; if you ran gdm outside of systemd, with the --nodaemon option, the program should print everything to stdout and/or stderr, and then should capture it. I will retry this asap ... but not right now ... maybe later this day. I'm running out of ideas. What does the file /etc/pam.d/gdm-password contains? # cat gdm-password #%PAM-1.0 auth optionalpam_env.so auth include system-local-login accountinclude system-local-login password include system-local-login sessioninclude system-local-login Stefan
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
Am 06.02.2013 12:58, schrieb Stefan G. Weichinger: I will retry this asap ... but not right now ... maybe later this day. did not work, no real different output. In /var/log/messages I have: Feb 6 16:34:15 hiro gdm-launch-environment][24620]: AccountsService-DEBUG(+): ActUser: session not found: c15 Feb 6 16:34:15 hiro gdm-launch-environment][24620]: AccountsService-DEBUG(+): ActUserManager: Session removed: c14 Feb 6 16:34:15 hiro gdm-launch-environment][24620]: AccountsService-DEBUG(+): ActUserManager: Session removed for user stef Feb 6 16:34:15 hiro gdm-launch-environment][24620]: AccountsService-DEBUG(+): ActUser: session not found: c14 Feb 6 16:34:15 hiro gdm-launch-environment][24620]: AccountsService-DEBUG(+): ActUserManager: Session removed: c13 Feb 6 16:34:15 hiro gdm-launch-environment][24620]: AccountsService-DEBUG(+): ActUserManager: Session removed for user sgw Feb 6 16:34:15 hiro gdm-launch-environment][24620]: AccountsService-DEBUG(+): ActUser: session not found: c13 Feb 6 16:34:15 hiro gdm-launch-environment][24620]: AccountsService-DEBUG(+): ActUserManager: Session removed: c12 Feb 6 16:34:15 hiro gdm-launch-environment][24620]: AccountsService-DEBUG(+): ActUserManager: Session removed for user sgw Feb 6 16:34:15 hiro gdm-launch-environment][24620]: AccountsService-DEBUG(+): ActUser: session not found: c12 which lead me to this issue: https://bugzilla.redhat.com/show_bug.cgi?format=multipleid=861440 Looks very similar, but I don't know yet how to solve it. But it might be the right direction as I use su within my terminator-sessions very often. digging further.
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
On Wed, Feb 6, 2013 at 9:56 AM, Stefan G. Weichinger li...@xunil.at wrote: Am 06.02.2013 12:58, schrieb Stefan G. Weichinger: I will retry this asap ... but not right now ... maybe later this day. did not work, no real different output. In /var/log/messages I have: Feb 6 16:34:15 hiro gdm-launch-environment][24620]: AccountsService-DEBUG(+): ActUser: session not found: c15 Feb 6 16:34:15 hiro gdm-launch-environment][24620]: AccountsService-DEBUG(+): ActUserManager: Session removed: c14 Feb 6 16:34:15 hiro gdm-launch-environment][24620]: AccountsService-DEBUG(+): ActUserManager: Session removed for user stef Feb 6 16:34:15 hiro gdm-launch-environment][24620]: AccountsService-DEBUG(+): ActUser: session not found: c14 Feb 6 16:34:15 hiro gdm-launch-environment][24620]: AccountsService-DEBUG(+): ActUserManager: Session removed: c13 Feb 6 16:34:15 hiro gdm-launch-environment][24620]: AccountsService-DEBUG(+): ActUserManager: Session removed for user sgw Feb 6 16:34:15 hiro gdm-launch-environment][24620]: AccountsService-DEBUG(+): ActUser: session not found: c13 Feb 6 16:34:15 hiro gdm-launch-environment][24620]: AccountsService-DEBUG(+): ActUserManager: Session removed: c12 Feb 6 16:34:15 hiro gdm-launch-environment][24620]: AccountsService-DEBUG(+): ActUserManager: Session removed for user sgw Feb 6 16:34:15 hiro gdm-launch-environment][24620]: AccountsService-DEBUG(+): ActUser: session not found: c12 which lead me to this issue: https://bugzilla.redhat.com/show_bug.cgi?format=multipleid=861440 Looks very similar, but I don't know yet how to solve it. But it might be the right direction as I use su within my terminator-sessions very often. digging further. What's the difference between the users stef and sgw? What do you mean by I use su within my terminator-sessions very often? 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-197-r1 starts gdm-3.6.2
Am 06.02.2013 18:18, schrieb Canek Peláez Valdés: What's the difference between the users stef and sgw? sgw is my everyday-user with dozens of dot-dirs cumulated over years. It is the user I work with every day. stef is a new and empty user I created lately to check things with this gdm-topic. stef has no old stuff in its home-dir but fails to login as well as sgw. What do you mean by I use su within my terminator-sessions very often? For my work I prefer x11-terms/terminator over gnome-terminal, it allows me to run multiple gnome-terminals in one window. I login to gnome as user sgw ... open up a terminator ... and if I need root privileges for doing stuff I run su within the terminator session. ok? Greets, Stefan
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
On Sat, Feb 2, 2013 at 4:10 AM, Stefan G. Weichinger li...@xunil.at wrote: Am 2013-02-01 20:39, schrieb Canek Peláez Valdés: Having an empty log is also weird; mine says: Jan 30 01:19:20 centurion polkitd[1614]: Started polkitd version 0.110 Jan 30 01:19:22 centurion polkitd[1614]: Loading rules from directory /etc/polkit-1/rules.d Jan 30 01:19:22 centurion polkitd[1614]: Loading rules from directory /usr/share/polkit-1/rules.d Jan 30 01:19:22 centurion polkitd[1614]: Finished loading, compiling and executing 3 rules Jan 30 01:19:22 centurion polkitd[1614]: Acquired the name org.freedesktop.PolicyKit1 on the system bus Jan 30 01:19:30 centurion polkitd[1614]: Registered Authentication Agent for unix-session:1 (system bus name :1.30 [gnome-shell --mode=gdm], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.utf8) Jan 30 01:19:39 centurion polkitd[1614]: Unregistered Authentication Agent for unix-session:1 (system bus name :1.30, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.utf8) (disconnected from bus) Jan 30 01:19:55 centurion polkitd[1614]: Registered Authentication Agent for unix-session:2 (system bus name :1.58 [/usr/bin/gnome-shell], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.utf8) Sorry for answering so late; long weekend in here. I removed and re-installed polkit, then followed your suggestions. My polkit only logs this (yes, I tried to log in and got rejected): # /usr/lib/polkit-1/polkitd --replace Successfully changed to user polkitd 10:58:53.739: Loading rules from directory /etc/polkit-1/rules.d 10:58:53.739: Loading rules from directory /usr/share/polkit-1/rules.d 10:58:53.739: Finished loading, compiling and executing 3 rules Entering main event loop Connected to the system bus 10:58:53.741: Acquired the name org.freedesktop.PolicyKit1 on the system bus 10:59:25.755: Registered Authentication Agent for unix-session:c6 (system bus name :1.28 [gnome-shell --mode=gdm], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale de_DE.UTF-8) Nothing more. I was expecting more from that. The gdm.log is empty. That is weird; if you ran gdm outside of systemd, with the --nodaemon option, the program should print everything to stdout and/or stderr, and then should capture it. I'm running out of ideas. What does the file /etc/pam.d/gdm-password contains? thanks for you patience with this issue, btw! That's what the list is for, 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-197-r1 starts gdm-3.6.2
Am 2013-02-01 20:39, schrieb Canek Peláez Valdés: Having an empty log is also weird; mine says: Jan 30 01:19:20 centurion polkitd[1614]: Started polkitd version 0.110 Jan 30 01:19:22 centurion polkitd[1614]: Loading rules from directory /etc/polkit-1/rules.d Jan 30 01:19:22 centurion polkitd[1614]: Loading rules from directory /usr/share/polkit-1/rules.d Jan 30 01:19:22 centurion polkitd[1614]: Finished loading, compiling and executing 3 rules Jan 30 01:19:22 centurion polkitd[1614]: Acquired the name org.freedesktop.PolicyKit1 on the system bus Jan 30 01:19:30 centurion polkitd[1614]: Registered Authentication Agent for unix-session:1 (system bus name :1.30 [gnome-shell --mode=gdm], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.utf8) Jan 30 01:19:39 centurion polkitd[1614]: Unregistered Authentication Agent for unix-session:1 (system bus name :1.30, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.utf8) (disconnected from bus) Jan 30 01:19:55 centurion polkitd[1614]: Registered Authentication Agent for unix-session:2 (system bus name :1.58 [/usr/bin/gnome-shell], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.utf8) I removed and re-installed polkit, then followed your suggestions. My polkit only logs this (yes, I tried to log in and got rejected): # /usr/lib/polkit-1/polkitd --replace Successfully changed to user polkitd 10:58:53.739: Loading rules from directory /etc/polkit-1/rules.d 10:58:53.739: Loading rules from directory /usr/share/polkit-1/rules.d 10:58:53.739: Finished loading, compiling and executing 3 rules Entering main event loop Connected to the system bus 10:58:53.741: Acquired the name org.freedesktop.PolicyKit1 on the system bus 10:59:25.755: Registered Authentication Agent for unix-session:c6 (system bus name :1.28 [gnome-shell --mode=gdm], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale de_DE.UTF-8) Nothing more. The gdm.log is empty. thanks for you patience with this issue, btw! S
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
Am 2013-01-31 19:54, schrieb Canek Peláez Valdés: sshd.service, ssh@.service, systemd-update-utmp-runlevel.service, and systemd-update-utmp-shutdown.service have auditd.service in their After= field; several others have plymouth services. After= is just for ordering of units, is not a requirement; systemd detects that auditd.service doesn't exists, and it starts the units that have it in ther After= field anyway. To make a unit depend on another, you need Require=. You can mask the services you don't have by creating a soft link to /dev/null: # ll /etc/systemd/system/rc-local.service lrwxrwxrwx 1 root root 9 Aug 16 13:51 /etc/systemd/system/rc-local.service - /dev/null It cleans up the output of systemctl --full --all. Ok, so I don't need auditd or plymouth, right? Well, I have no idea why your gdm is not letting you log in; obviously it's related to polkit (since it started when you changed from consolekit to polkit), but nothing in your config seems to differ from mine. It is not impossible that somehow the configuration files of the gdm user got messed up when the change happened. I don't know how this could happen, but as a hail Mary you could delete /var/lib/gdm, and reemerge it so it gets a clean install. Tried that as well, same problems after :-( Also, you have USE=pam for polkit, right? Yes. [I] sys-auth/polkit Available versions: 0.107-r1 0.110 {examples gtk +introspection kde nls pam selinux systemd} Installed versions: 0.110(19:19:55 30.01.2013)(gtk introspection nls pam systemd -examples -kde -selinux) And could you post the output from journalctl -b /usr/lib/polkit-1/polkitd? That is empty! S
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
On Fri, Feb 1, 2013 at 12:37 PM, Stefan G. Weichinger li...@xunil.at wrote: Am 2013-01-31 19:54, schrieb Canek Peláez Valdés: sshd.service, ssh@.service, systemd-update-utmp-runlevel.service, and systemd-update-utmp-shutdown.service have auditd.service in their After= field; several others have plymouth services. After= is just for ordering of units, is not a requirement; systemd detects that auditd.service doesn't exists, and it starts the units that have it in ther After= field anyway. To make a unit depend on another, you need Require=. You can mask the services you don't have by creating a soft link to /dev/null: # ll /etc/systemd/system/rc-local.service lrwxrwxrwx 1 root root 9 Aug 16 13:51 /etc/systemd/system/rc-local.service - /dev/null It cleans up the output of systemctl --full --all. Ok, so I don't need auditd or plymouth, right? No, you don't. Well, I have no idea why your gdm is not letting you log in; obviously it's related to polkit (since it started when you changed from consolekit to polkit), but nothing in your config seems to differ from mine. It is not impossible that somehow the configuration files of the gdm user got messed up when the change happened. I don't know how this could happen, but as a hail Mary you could delete /var/lib/gdm, and reemerge it so it gets a clean install. Tried that as well, same problems after :-( Also, you have USE=pam for polkit, right? Yes. [I] sys-auth/polkit Available versions: 0.107-r1 0.110 {examples gtk +introspection kde nls pam selinux systemd} Installed versions: 0.110(19:19:55 30.01.2013)(gtk introspection nls pam systemd -examples -kde -selinux) And could you post the output from journalctl -b /usr/lib/polkit-1/polkitd? That is empty! That's weird. *At least* it should tell you that it started and compiled the available rules. OK, let's try to see the problem outside systemd. First, stop polkit with: systemctl stop polkit.service and immediately after start it from the command line directly: /usr/lib/polkit-1/polkitd --replace the immediately thing is because polkit is dbus started, so it can be started by systemd if anything asks for its service. Then in another terminal stop gdm: systemctl stop gdm.service and start it from the command line: /usr/bin/gdm --no-daemon gdm.log Since you still have the Enable=true in the [debug] section of its config, it will spew quite a lot of info, hence the redirection to a log file. I'm more interested in polkit's output when you try to log in, could you send that? By default polkit doesn't log almost anything, and I'm pretty sure the problem is with polkit refusing gdm to log you (or create a console for you, or something like that). Having an empty log is also weird; mine says: Jan 30 01:19:20 centurion polkitd[1614]: Started polkitd version 0.110 Jan 30 01:19:22 centurion polkitd[1614]: Loading rules from directory /etc/polkit-1/rules.d Jan 30 01:19:22 centurion polkitd[1614]: Loading rules from directory /usr/share/polkit-1/rules.d Jan 30 01:19:22 centurion polkitd[1614]: Finished loading, compiling and executing 3 rules Jan 30 01:19:22 centurion polkitd[1614]: Acquired the name org.freedesktop.PolicyKit1 on the system bus Jan 30 01:19:30 centurion polkitd[1614]: Registered Authentication Agent for unix-session:1 (system bus name :1.30 [gnome-shell --mode=gdm], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.utf8) Jan 30 01:19:39 centurion polkitd[1614]: Unregistered Authentication Agent for unix-session:1 (system bus name :1.30, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.utf8) (disconnected from bus) Jan 30 01:19:55 centurion polkitd[1614]: Registered Authentication Agent for unix-session:2 (system bus name :1.58 [/usr/bin/gnome-shell], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.utf8) 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-197-r1 starts gdm-3.6.2
Am 2013-01-30 21:22, schrieb Stefan G. Weichinger: Am 30.01.2013 20:22, schrieb Stefan G. Weichinger: Put up the failed session of gdm here to keep the list uncluttered: https://dl.dropbox.com/u/24516209/gdm_problems.txt I am away from this system for now ... more tomorrow, thanks so far. Took that as a opportunity to put up stuff on my github: https://github.com/stefangweichinger/systemd-services Stefan
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
On Wed, Jan 30, 2013 at 2:22 PM, Stefan G. Weichinger li...@xunil.at wrote: Am 30.01.2013 20:22, schrieb Stefan G. Weichinger: Put up the failed session of gdm here to keep the list uncluttered: https://dl.dropbox.com/u/24516209/gdm_problems.txt I am away from this system for now ... more tomorrow, thanks so far. I booted my laptop with [debug]Enabled=true to compare the logs, and your problem seems to be permissions related. In my logs, if I grep Found x I get: Jan 30 18:09:46 acero gdm-password][543]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session '1': :0 Jan 30 18:09:46 acero gdm-password][543]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session '2': :0 In your case, is this: Jan 30 20:14:05 hiro gdm-launch-environment][6116]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session 'c12': :0 Jan 30 20:14:05 hiro gdm-launch-environment][6116]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session 'c11': :0 Jan 30 20:14:12 hiro gdm-password][6188]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session 'c12': :0 Jan 30 20:14:12 hiro gdm-password][6188]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session 'c11': :0 Jan 30 20:14:16 hiro gdm-launch-environment][6116]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session 'c12': :0 Jan 30 20:14:16 hiro gdm-launch-environment][6116]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session 'c11': :0 Jan 30 20:14:16 hiro gdm-launch-environment][6116]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session 'c12': :0 Jan 30 20:14:16 hiro gdm-launch-environment][6116]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session 'c13': :0 Jan 30 20:14:16 hiro gdm-launch-environment][6116]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session 'c11': :0 Jan 30 20:14:16 hiro gdm-launch-environment][6116]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session 'c12': :0 Jan 30 20:14:16 hiro gdm-launch-environment][6116]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session 'c14': :0 Jan 30 20:14:16 hiro gdm-launch-environment][6116]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session 'c11': :0 Jan 30 20:14:16 hiro gdm-launch-environment][6116]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session 'c12': :0 Jan 30 20:14:16 hiro gdm-launch-environment][6116]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session 'c11': :0 Jan 30 20:14:16 hiro gdm-password][6188]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session 'c12': :0 Jan 30 20:14:16 hiro gdm-password][6188]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session 'c13': :0 Jan 30 20:14:16 hiro gdm-password][6188]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session 'c14': :0 Jan 30 20:14:16 hiro gdm-password][6188]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session 'c11': :0 Jan 30 20:14:16 hiro gdm-launch-environment][6116]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session 'c12': :0 Jan 30 20:14:16 hiro gdm-password][6188]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session 'c12': :0 Jan 30 20:14:16 hiro gdm-launch-environment][6116]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session 'c11': :0 Jan 30 20:14:16 hiro gdm-password][6188]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session 'c11': :0 Jan 30 20:14:16 hiro gdm-launch-environment][6116]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session 'c12': :0 Jan 30 20:14:16 hiro gdm-launch-environment][6116]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session 'c11': :0 Jan 30 20:14:16 hiro gdm-password][6188]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session 'c12': :0 Jan 30 20:14:16 hiro gdm-password][6188]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session 'c11': :0 Jan 30 20:14:16 hiro gdm-launch-environment][6116]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session 'c12': :0 Jan 30 20:14:16 hiro gdm-launch-environment][6116]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session 'c11': :0 Jan 30 20:14:16 hiro gdm-launch-environment][6116]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session 'c12': :0 Jan 30 20:14:16 hiro gdm-launch-environment][6116]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session 'c11': :0 Jan 30 20:14:16 hiro gdm-launch-environment][6116]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session 'c12': :0 Jan 30 20:14:16 hiro gdm-launch-environment][6116]: AccountsService-DEBUG(+): ActUserManager: Found x11 display of session 'c11': :0 Jan 30 20:14:16 hiro gdm-launch-environment][6116]: AccountsService-DEBUG(+): ActUserManager: Found
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
Am 31.01.2013 19:06, schrieb Canek Peláez Valdés: I tries in the consoles c11, c12, and then on the c13 and 14. Yes, I noticed that trying-around as well ... I don't know why, but it would seem that gdm-password fails to authenticate you. Just changed my password to something simple without german umlauts or special characters to rule out charset-topics. No change. Do you have anything in /etc/polkit-1/rules.d/? I only have 50-default.rules, which Gentoo adds. Same here. Also check /usr/share/polkit-1/rules.d. These 2 files: # cat 01-org.freedesktop.NetworkManager.settings.modify.system.rules // Let users in plugdev group modify NetworkManager polkit.addRule(function(action, subject) { if (action.id == org.freedesktop.NetworkManager.settings.modify.system subject.isInGroup(plugdev) subject.active) { return yes; } }); # cat gnome-control-center.rules polkit.addRule(function(action, subject) { if (action.id == org.freedesktop.hostname1.set-static-hostname subject.local subject.active subject.isInGroup (wheel)) { return polkit.Result.YES; } }); - My user sgw is members of both mentioned groups, btw: # getent group wheel wheel:x:10:root,sgw # getent group plugdev plugdev:x:443:haldaemon,sgw S
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
On Thu, Jan 31, 2013 at 12:17 PM, Stefan G. Weichinger li...@xunil.at wrote: Am 31.01.2013 19:06, schrieb Canek Peláez Valdés: I tries in the consoles c11, c12, and then on the c13 and 14. Yes, I noticed that trying-around as well ... I don't know why, but it would seem that gdm-password fails to authenticate you. Just changed my password to something simple without german umlauts or special characters to rule out charset-topics. No change. Do you have anything in /etc/polkit-1/rules.d/? I only have 50-default.rules, which Gentoo adds. Same here. Also check /usr/share/polkit-1/rules.d. These 2 files: # cat 01-org.freedesktop.NetworkManager.settings.modify.system.rules // Let users in plugdev group modify NetworkManager polkit.addRule(function(action, subject) { if (action.id == org.freedesktop.NetworkManager.settings.modify.system subject.isInGroup(plugdev) subject.active) { return yes; } }); # cat gnome-control-center.rules polkit.addRule(function(action, subject) { if (action.id == org.freedesktop.hostname1.set-static-hostname subject.local subject.active subject.isInGroup (wheel)) { return polkit.Result.YES; } }); Same here. My user sgw is members of both mentioned groups, btw: # getent group wheel wheel:x:10:root,sgw # getent group plugdev plugdev:x:443:haldaemon,sgw And I suppose both sgw and gdm are in the video group (the later is done by the ebuild, if I'm not mistaken). What is the uid and gid of gdm? Also, did GDM (the same version) worked with OpenRC, or did you installed systemd and upgraded gdm at the same time? What does systemctl --all --full says, which units are in red? And lastly, how did you set gdm as your display manager? Do you have: # ls -l /etc/systemd/system/display-manager.service lrwxrwxrwx 1 root root 37 Dec 6 00:40 /etc/systemd/system/display-manager.service - /usr/lib64/systemd/system/gdm.service ? 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-197-r1 starts gdm-3.6.2
Am 31.01.2013 19:26, schrieb Canek Peláez Valdés: And I suppose both sgw and gdm are in the video group (the later is done by the ebuild, if I'm not mistaken). Yes, they are: # getent group video video:x:27:root,mythtv,sgw,gdm What is the uid and gid of gdm? # getent passwd gdm gdm:x:104:446:added by portage for gdm:/var/lib/gdm:/sbin/nologin Also, did GDM (the same version) worked with OpenRC, or did you installed systemd and upgraded gdm at the same time? hmm. No upgrade of gdm, but a re-build as it changed USE-flags (-consolekit systemd). What does systemctl --all --full says, which units are in red? # systemctl --all --full | grep erro auditd.service error inactive dead auditd.service plymouth-quit-wait.service error inactive dead plymouth-quit-wait.service plymouth-start.service error inactive dead plymouth-start.service syslog.service error inactive dead syslog.service # systemctl --all --full | grep fail gdm.service loaded failed failedGnome Display Manager I dont't have plymouth or sys-process/audit ... nothing pulled that in. And lastly, how did you set gdm as your display manager? Do you have: # ls -l /etc/systemd/system/display-manager.service lrwxrwxrwx 1 root root 37 Dec 6 00:40 /etc/systemd/system/display-manager.service - /usr/lib64/systemd/system/gdm.service ? Right now it links to xdm, but I had it the way you posted and tested that. When I test, I switch to a text console: systemctl stop xdm systemctl start gdm ... Thanks! Stefan
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
On Thu, Jan 31, 2013 at 12:35 PM, Stefan G. Weichinger li...@xunil.at wrote: Am 31.01.2013 19:26, schrieb Canek Peláez Valdés: And I suppose both sgw and gdm are in the video group (the later is done by the ebuild, if I'm not mistaken). Yes, they are: # getent group video video:x:27:root,mythtv,sgw,gdm What is the uid and gid of gdm? # getent passwd gdm gdm:x:104:446:added by portage for gdm:/var/lib/gdm:/sbin/nologin Also, did GDM (the same version) worked with OpenRC, or did you installed systemd and upgraded gdm at the same time? hmm. No upgrade of gdm, but a re-build as it changed USE-flags (-consolekit systemd). What does systemctl --all --full says, which units are in red? # systemctl --all --full | grep erro auditd.service error inactive dead auditd.service plymouth-quit-wait.service error inactive dead plymouth-quit-wait.service plymouth-start.service error inactive dead plymouth-start.service syslog.service error inactive dead syslog.service # systemctl --all --full | grep fail gdm.service loaded failed failedGnome Display Manager I dont't have plymouth or sys-process/audit ... nothing pulled that in. sshd.service, ssh@.service, systemd-update-utmp-runlevel.service, and systemd-update-utmp-shutdown.service have auditd.service in their After= field; several others have plymouth services. After= is just for ordering of units, is not a requirement; systemd detects that auditd.service doesn't exists, and it starts the units that have it in ther After= field anyway. To make a unit depend on another, you need Require=. You can mask the services you don't have by creating a soft link to /dev/null: # ll /etc/systemd/system/rc-local.service lrwxrwxrwx 1 root root 9 Aug 16 13:51 /etc/systemd/system/rc-local.service - /dev/null It cleans up the output of systemctl --full --all. And lastly, how did you set gdm as your display manager? Do you have: # ls -l /etc/systemd/system/display-manager.service lrwxrwxrwx 1 root root 37 Dec 6 00:40 /etc/systemd/system/display-manager.service - /usr/lib64/systemd/system/gdm.service ? Right now it links to xdm, but I had it the way you posted and tested that. When I test, I switch to a text console: systemctl stop xdm systemctl start gdm Well, I have no idea why your gdm is not letting you log in; obviously it's related to polkit (since it started when you changed from consolekit to polkit), but nothing in your config seems to differ from mine. It is not impossible that somehow the configuration files of the gdm user got messed up when the change happened. I don't know how this could happen, but as a hail Mary you could delete /var/lib/gdm, and reemerge it so it gets a clean install. Also, you have USE=pam for polkit, right? And could you post the output from journalctl -b /usr/lib/polkit-1/polkitd? 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-197-r1 starts gdm-3.6.2
On Wed, Jan 30, 2013 at 11:48 PM, Canek Peláez Valdés can...@gmail.com wrote: On Wed, Jan 30, 2013 at 11:35 PM, Canek Peláez Valdés can...@gmail.com wrote: On Wed, Jan 30, 2013 at 3:14 PM, Alecks Gates aleck...@gmail.com wrote: [snip] I switched to systemd not too long ago and I have the same issue as well, at least it sounds the same -- Basically, I get a hanging GDM after typing my password and logging in. I'm certainly no expert, but I've enjoyed the rest of systemd so I've stuck with it and just use startx to boot into Gnome3. I'll attatch some logs from /var/log/gdm. Alecks, your error is different, and one similar to one I had before: https://bugs.gentoo.org/show_bug.cgi?id=363061 What does systemctl status accounts-daemon.service says? Actually, could tell me what services are in red when you run systemctl --full --all? By the way, Alecks, maybe you could try to delete /var/lib/gdm (the gdm user $HOME), and emerge again gdm? Also could you check that all the files under /var/lib/gdm/ have gdm:gdm ownership? Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México Deleted and remerged, no dice. $ ls -al /var/lib/gdm total 4 drwxr-xr-x 1 gdm gdm 112 Jan 31 17:02 . drwxr-xr-x 1 root root 546 Jan 31 16:57 .. drwxr-xr-x 1 gdm gdm 56 Jan 31 17:00 .config drwx-- 1 gdm gdm 22 Jan 31 16:59 .dbus -rw--- 1 gdm gdm 628 Jan 31 17:02 .ICEauthority -rw-r--r-- 1 root root 0 Jan 31 16:57 .keep_gnome-base_gdm-0 drwxr-xr-x 1 gdm gdm 10 Jan 31 16:57 .local drwx-- 1 gdm gdm 14 Jan 31 16:59 .nv
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
On Wed, Jan 30, 2013 at 11:35 PM, Canek Peláez Valdés can...@gmail.com wrote: On Wed, Jan 30, 2013 at 3:14 PM, Alecks Gates aleck...@gmail.com wrote: On Wed, Jan 30, 2013 at 2:22 PM, Stefan G. Weichinger li...@xunil.at wrote: [snip] I switched to systemd not too long ago and I have the same issue as well, at least it sounds the same -- Basically, I get a hanging GDM after typing my password and logging in. I'm certainly no expert, but I've enjoyed the rest of systemd so I've stuck with it and just use startx to boot into Gnome3. I'll attatch some logs from /var/log/gdm. Alecks, your error is different, and one similar to one I had before: https://bugs.gentoo.org/show_bug.cgi?id=363061 What does systemctl status accounts-daemon.service says? Actually, could tell me what services are in red when you run systemctl --full --all? Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México $ systemctl status accounts-daemon.service accounts-daemon.service - Accounts Service Loaded: loaded (/usr/lib64/systemd/system/accounts-daemon.service; disabled) Active: active (running) since Thu 2013-01-31 17:02:33 CST; 16min ago Main PID: 3326 (accounts-daemon) CGroup: name=systemd:/system/accounts-daemon.service └─3326 /usr/libexec/accounts-daemon $ systemctl --full --all | grep error auditd.service error inactive dead auditd.service plymouth-quit-wait.service error inactive dead plymouth-quit-wait.service plymouth-start.service error inactive dead plymouth-start.service syslog.service error inactive dead syslog.service A couple days ago (after reading your email from another topic) I noticed plymouth services do not exist on my machine, and checked where it's supposed to come from: $ e-file plymouth-start.service [I] sys-apps/systemd Available Versions: 44-r1 44 Last Installed Ver: 197-r1(Mon 28 Jan 2013 03:58:41 PM CST) Homepage: http://www.freedesktop.org/wiki/Software/systemd Description:System and service manager for Linux Matched Files: /usr/lib/systemd/system/sysinit.target.wants/plymouth-start.service; /usr/lib/systemd/system/plymouth-start.service; $ e-file plymouth-quit-wait.service [I] sys-apps/systemd Available Versions: 44 44-r1 Last Installed Ver: 197-r1(Mon 28 Jan 2013 03:58:41 PM CST) Homepage: http://www.freedesktop.org/wiki/Software/systemd Description:System and service manager for Linux Matched Files: /usr/lib/systemd/system/multi-user.target.wants/plymouth-quit-wait.service; /usr/lib/systemd/system/plymouth-quit-wait.service; And auditd.service isn't found in e-file at all. Normally I'm not surprised by a lack of .service files, as it's not a huge issue[1], but if this one's so important, where is it? Canek, I'm getting the feeling your systemd install has matured over the years, at least with regard to unit files. [1] Unit files are surprisingly easy for me to create -- I always found a barrier to entry with init scripts. Alecks
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
On Thu, Jan 31, 2013 at 5:27 PM, Alecks Gates aleck...@gmail.com wrote: On Wed, Jan 30, 2013 at 11:35 PM, Canek Peláez Valdés can...@gmail.com wrote: On Wed, Jan 30, 2013 at 3:14 PM, Alecks Gates aleck...@gmail.com wrote: On Wed, Jan 30, 2013 at 2:22 PM, Stefan G. Weichinger li...@xunil.at wrote: [snip] I switched to systemd not too long ago and I have the same issue as well, at least it sounds the same -- Basically, I get a hanging GDM after typing my password and logging in. I'm certainly no expert, but I've enjoyed the rest of systemd so I've stuck with it and just use startx to boot into Gnome3. I'll attatch some logs from /var/log/gdm. Alecks, your error is different, and one similar to one I had before: https://bugs.gentoo.org/show_bug.cgi?id=363061 What does systemctl status accounts-daemon.service says? Actually, could tell me what services are in red when you run systemctl --full --all? Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México $ systemctl status accounts-daemon.service accounts-daemon.service - Accounts Service Loaded: loaded (/usr/lib64/systemd/system/accounts-daemon.service; disabled) Active: active (running) since Thu 2013-01-31 17:02:33 CST; 16min ago Main PID: 3326 (accounts-daemon) CGroup: name=systemd:/system/accounts-daemon.service └─3326 /usr/libexec/accounts-daemon $ systemctl --full --all | grep error auditd.service error inactive dead auditd.service plymouth-quit-wait.service error inactive dead plymouth-quit-wait.service plymouth-start.service error inactive dead plymouth-start.service syslog.service error inactive dead syslog.service A couple days ago (after reading your email from another topic) I noticed plymouth services do not exist on my machine, and checked where it's supposed to come from: $ e-file plymouth-start.service [I] sys-apps/systemd Available Versions: 44-r1 44 Last Installed Ver: 197-r1(Mon 28 Jan 2013 03:58:41 PM CST) Homepage: http://www.freedesktop.org/wiki/Software/systemd Description:System and service manager for Linux Matched Files: /usr/lib/systemd/system/sysinit.target.wants/plymouth-start.service; /usr/lib/systemd/system/plymouth-start.service; $ e-file plymouth-quit-wait.service [I] sys-apps/systemd Available Versions: 44 44-r1 Last Installed Ver: 197-r1(Mon 28 Jan 2013 03:58:41 PM CST) Homepage: http://www.freedesktop.org/wiki/Software/systemd Description:System and service manager for Linux Matched Files: /usr/lib/systemd/system/multi-user.target.wants/plymouth-quit-wait.service; /usr/lib/systemd/system/plymouth-quit-wait.service; And auditd.service isn't found in e-file at all. Normally I'm not surprised by a lack of .service files, as it's not a huge issue[1], but if this one's so important, where is it? Canek, I'm getting the feeling your systemd install has matured over the years, at least with regard to unit files. Not really; at some point yes, but I believe I run a pretty much out-of-the-box systemd. As I explained to Stefan a couple of mails before, you can mask the unit files you don't have, by linking them in /etc/systemd/system. That's all I do, and only with syslog and rc-local: # ls -l /etc/systemd/system/|grep /dev/null lrwxrwxrwx 1 root root9 Aug 16 13:51 rc-local.service - /dev/null lrwxrwxrwx 1 root root9 Aug 16 13:49 syslog.service - /dev/null Besides that I have a vixie-cron.service, and that's all the customization I do. Everything else is as defined by the respective upstream developers. In my media center I have a couple more of custom unit files. [1] Unit files are surprisingly easy for me to create -- I always found a barrier to entry with init scripts. I didn't have any problem writing init scripts, but I agree unit files are really easy. 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-197-r1 starts gdm-3.6.2
On Wed, Jan 30, 2013 at 06:02:20PM +0100, Stefan G. Weichinger wrote: Would someone mind and take a look? Fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server :0. Jan 30 17:47:09 hiro gdm-simple-slave[5097]: GLib-GObject-CRITICAL: g_object_unref: assertion `object-ref_count 0' failed Jan 30 17:47:09 hiro polkitd[5057]: Unregistered Authentication Agent for unix-session:c4 (system bus name :1.29, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale de_DE.UTF-8') (disconnected from bus) Jan 30 17:47:17 hiro root: STOP gdm I've just installed systemd on one of my systems to give it a test and I had similar problems due to the systemd useflag on policykit being hardmasked (it also pulled in consolekit because of that). Since the errors are very similar you may check your useflags on policykit and - if necessary remove the use-mask of systemd for policykit. WKR Hinnerk
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
Am 30.01.2013 18:36, schrieb Hinnerk van Bruinehsen: I've just installed systemd on one of my systems to give it a test and I had similar problems due to the systemd useflag on policykit being hardmasked (it also pulled in consolekit because of that). Since the errors are very similar you may check your useflags on policykit and - if necessary remove the use-mask of systemd for policykit. Let me get that straight: I have: # cat profile/package.use.mask media-sound/pulseaudio -systemd net-misc/networkmanager -systemd sys-auth/polkit -systemd sys-fs/udisks -systemd sys-power/upower-systemd because of some older thread or the gentoo wiki for systemd (can't remember right now). This gets me: [I] sys-auth/polkit Available versions: 0.107-r1 0.110 {examples gtk +introspection kde nls pam selinux systemd} Installed versions: 0.110(18:09:30 30.01.2013)(gtk introspection nls pam systemd -examples -kde -selinux) while I have USE= ... -consolekit systemd ... in make.conf. I also get consolekit installed here: [I] sys-auth/consolekit Available versions: 0.4.5_p20120320-r1 {acl debug doc pam policykit selinux test KERNEL=linux} Installed versions: 0.4.5_p20120320-r1(18:13:50 30.01.2013)(acl pam policykit -debug -doc -selinux -test KERNEL=linux) What exactly do you suggest now? Thanks! Stefan
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
On Wed, Jan 30, 2013 at 11:48 AM, Stefan G. Weichinger li...@xunil.at wrote: Am 30.01.2013 18:36, schrieb Hinnerk van Bruinehsen: I've just installed systemd on one of my systems to give it a test and I had similar problems due to the systemd useflag on policykit being hardmasked (it also pulled in consolekit because of that). Since the errors are very similar you may check your useflags on policykit and - if necessary remove the use-mask of systemd for policykit. As Hinnerk said, it could be a PolKit problem, but you said that you had unmasked the systemd USE flag from PolKit. The new information I see in this mail is that you have =gnome-base/gnome-session- installed; why do you have a live version? Did you use --autounmask to install GNOME? I think that's the problem: gnome-session has no live version in the tree; therefore you are installing it from the GNOME overlay. The live version of gnome-session in the GNOME overlay doesn't use a specific version, tag or branch to checkout, so depending on when you installed it, it's possible you are running gnome-session-3.7.x. I would keep gnome-session keyworded, but unmasked; that would force the install of the 3.6.2 version. Also, if you have more live versions, I would recommend downgrading them to the last 3.6.x version. GNOME 3.6 is not masked in Gentoo, just keyworded. Let me get that straight: I have: # cat profile/package.use.mask media-sound/pulseaudio -systemd net-misc/networkmanager -systemd sys-auth/polkit -systemd sys-fs/udisks -systemd sys-power/upower-systemd because of some older thread or the gentoo wiki for systemd (can't remember right now). This gets me: [I] sys-auth/polkit Available versions: 0.107-r1 0.110 {examples gtk +introspection kde nls pam selinux systemd} Installed versions: 0.110(18:09:30 30.01.2013)(gtk introspection nls pam systemd -examples -kde -selinux) while I have USE= ... -consolekit systemd ... in make.conf. I also get consolekit installed here: [I] sys-auth/consolekit Available versions: 0.4.5_p20120320-r1 {acl debug doc pam policykit selinux test KERNEL=linux} Installed versions: 0.4.5_p20120320-r1(18:13:50 30.01.2013)(acl pam policykit -debug -doc -selinux -test KERNEL=linux) What exactly do you suggest now? If you have -consolekit, why it's still installed? What is pulling it into your system? Can you do a equery depends consolekit? 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-197-r1 starts gdm-3.6.2
Am 30.01.2013 18:52, schrieb Canek Peláez Valdés: On Wed, Jan 30, 2013 at 11:48 AM, Stefan G. Weichinger li...@xunil.at wrote: Am 30.01.2013 18:36, schrieb Hinnerk van Bruinehsen: I've just installed systemd on one of my systems to give it a test and I had similar problems due to the systemd useflag on policykit being hardmasked (it also pulled in consolekit because of that). Since the errors are very similar you may check your useflags on policykit and - if necessary remove the use-mask of systemd for policykit. As Hinnerk said, it could be a PolKit problem, but you said that you had unmasked the systemd USE flag from PolKit. The new information I see in this mail is that you have =gnome-base/gnome-session- installed; why do you have a live version? Did you use --autounmask to install GNOME? I think that's the problem: gnome-session has no live version in the tree; therefore you are installing it from the GNOME overlay. The live version of gnome-session in the GNOME overlay doesn't use a specific version, tag or branch to checkout, so depending on when you installed it, it's possible you are running gnome-session-3.7.x. I would keep gnome-session keyworded, but unmasked; that would force the install of the 3.6.2 version. Also, if you have more live versions, I would recommend downgrading them to the last 3.6.x version. GNOME 3.6 is not masked in Gentoo, just keyworded. I have [I] gnome-base/gnome-session Available versions: 2.32.1-r3 (~)3.4.2.1 (~)3.6.2 (~)3.6.2-r1 **[1] {debug doc gconf ipv6 systemd ELIBC=FreeBSD} Installed versions: 3.6.2-r1(17:40:19 30.01.2013)(ipv6 systemd -debug -doc -gconf ELIBC=-FreeBSD) - so 3.6.2-r1 here If you have -consolekit, why it's still installed? What is pulling it into your system? Can you do a equery depends consolekit? sure, did that already looks strange, right? * These packages depend on sys-auth/consolekit: gnome-base/gdm-3.6.2 (consolekit ? sys-auth/consolekit[pam]) gnome-base/gnome-control-center-3.6.3-r1 (!systemd ? sys-auth/consolekit) gnome-base/gnome-session-3.6.2-r1 (!systemd ? sys-auth/consolekit) gnome-base/gnome-settings-daemon-3.6.4 (!systemd ? sys-auth/consolekit) gnome-base/gnome-shell-3.6.2-r1 (!systemd ? sys-auth/consolekit) net-misc/networkmanager-0.9.6.4-r1 (consolekit ? sys-auth/consolekit) net-wireless/bluez-4.101-r5 (consolekit ? sys-auth/consolekit) sys-apps/accountsservice-0.6.30 (!systemd ? sys-auth/consolekit) sys-auth/pambase-20120417-r1 (consolekit ? =sys-auth/consolekit-0.4.5_p2012[pam]) sys-auth/polkit-0.110 (!systemd ? =sys-auth/consolekit-0.4.5_p2012[policykit]) x11-apps/xdm-1.1.11-r1 (consolekit ? sys-auth/consolekit)
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
On Wed, Jan 30, 2013 at 11:56 AM, Stefan G. Weichinger li...@xunil.at wrote: Am 30.01.2013 18:52, schrieb Canek Peláez Valdés: On Wed, Jan 30, 2013 at 11:48 AM, Stefan G. Weichinger li...@xunil.at wrote: Am 30.01.2013 18:36, schrieb Hinnerk van Bruinehsen: I've just installed systemd on one of my systems to give it a test and I had similar problems due to the systemd useflag on policykit being hardmasked (it also pulled in consolekit because of that). Since the errors are very similar you may check your useflags on policykit and - if necessary remove the use-mask of systemd for policykit. As Hinnerk said, it could be a PolKit problem, but you said that you had unmasked the systemd USE flag from PolKit. The new information I see in this mail is that you have =gnome-base/gnome-session- installed; why do you have a live version? Did you use --autounmask to install GNOME? I think that's the problem: gnome-session has no live version in the tree; therefore you are installing it from the GNOME overlay. The live version of gnome-session in the GNOME overlay doesn't use a specific version, tag or branch to checkout, so depending on when you installed it, it's possible you are running gnome-session-3.7.x. I would keep gnome-session keyworded, but unmasked; that would force the install of the 3.6.2 version. Also, if you have more live versions, I would recommend downgrading them to the last 3.6.x version. GNOME 3.6 is not masked in Gentoo, just keyworded. I have [I] gnome-base/gnome-session Available versions: 2.32.1-r3 (~)3.4.2.1 (~)3.6.2 (~)3.6.2-r1 **[1] {debug doc gconf ipv6 systemd ELIBC=FreeBSD} Installed versions: 3.6.2-r1(17:40:19 30.01.2013)(ipv6 systemd -debug -doc -gconf ELIBC=-FreeBSD) - so 3.6.2-r1 here My mistake; I saw the asterisks and I thought that was the one installed. If you have -consolekit, why it's still installed? What is pulling it into your system? Can you do a equery depends consolekit? sure, did that already looks strange, right? * These packages depend on sys-auth/consolekit: gnome-base/gdm-3.6.2 (consolekit ? sys-auth/consolekit[pam]) gnome-base/gnome-control-center-3.6.3-r1 (!systemd ? sys-auth/consolekit) gnome-base/gnome-session-3.6.2-r1 (!systemd ? sys-auth/consolekit) gnome-base/gnome-settings-daemon-3.6.4 (!systemd ? sys-auth/consolekit) gnome-base/gnome-shell-3.6.2-r1 (!systemd ? sys-auth/consolekit) net-misc/networkmanager-0.9.6.4-r1 (consolekit ? sys-auth/consolekit) net-wireless/bluez-4.101-r5 (consolekit ? sys-auth/consolekit) sys-apps/accountsservice-0.6.30 (!systemd ? sys-auth/consolekit) sys-auth/pambase-20120417-r1 (consolekit ? =sys-auth/consolekit-0.4.5_p2012[pam]) sys-auth/polkit-0.110 (!systemd ? =sys-auth/consolekit-0.4.5_p2012[policykit]) x11-apps/xdm-1.1.11-r1 (consolekit ? sys-auth/consolekit) OK, did you run emerge --depclean? All of those packages use consolekit or systemd, but not both; if after --depclean'ing consolekit keeps lurking, could you uninstall it and mask it, followed by a emerge -uDNvp world? That would tell us which package is pulling it. Also, remeber that you can set USE flags not only in /etc/portage/make.conf, but also in /etc/portage/package.use (and I think the latter takes precedence). 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-197-r1 starts gdm-3.6.2
Am 30.01.2013 19:04, schrieb Canek Peláez Valdés: OK, did you run emerge --depclean? All of those packages use consolekit or systemd, but not both; if after --depclean'ing consolekit keeps lurking, could you uninstall it and mask it, followed by a emerge -uDNvp world? That would tell us which package is pulling it. Also, remeber that you can set USE flags not only in /etc/portage/make.conf, but also in /etc/portage/package.use (and I think the latter takes precedence). Good suggestion ... had a line in /etc/portage/package.use for pambase ... this one pulled in consolekit! --depclean done now, I revdep-rebuild now and will then check back with gdm.service. just a minute ... Thanks so far! Stefan
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
Am 30.01.2013 19:13, schrieb Stefan G. Weichinger: --depclean done now, I revdep-rebuild now and will then check back with gdm.service. just a minute ... Still no luck. consolekit is gone now # equery d consolekit * These packages depend on consolekit: gnome-base/gdm-3.6.2 (consolekit ? sys-auth/consolekit[pam]) gnome-base/gnome-control-center-3.6.3-r1 (!systemd ? sys-auth/consolekit) gnome-base/gnome-session-3.6.2-r1 (!systemd ? sys-auth/consolekit) gnome-base/gnome-settings-daemon-3.6.4 (!systemd ? sys-auth/consolekit) gnome-base/gnome-shell-3.6.2-r1 (!systemd ? sys-auth/consolekit) net-misc/networkmanager-0.9.6.4-r1 (consolekit ? sys-auth/consolekit) net-wireless/bluez-4.101-r5 (consolekit ? sys-auth/consolekit) sys-apps/accountsservice-0.6.30 (!systemd ? sys-auth/consolekit) sys-auth/pambase-20120417-r1 (consolekit ? =sys-auth/consolekit-0.4.5_p2012[pam]) sys-auth/polkit-0.110 (!systemd ? =sys-auth/consolekit-0.4.5_p2012[policykit]) x11-apps/xdm-1.1.11-r1 (consolekit ? sys-auth/consolekit) I rebuilt them ALL right now As you easily can see I am confused - # grep systemd /etc/portage/package.use #gnome-base/gdm -systemd #gnome-base/gnome-session -systemd #gnome-base/gnome-shell -systemd #sys-auth/polkit-systemd # grep systemd /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 What to keep, what to set, please? Thanks, Stefan ah, btw, logs: Jan 30 19:22:53 hiro polkitd[5014]: Loading rules from directory /etc/polkit-1/rules.d Jan 30 19:22:53 hiro polkitd[5014]: Loading rules from directory /usr/share/polkit-1/rules.d Jan 30 19:22:53 hiro polkitd[5014]: Finished loading, compiling and executing 3 rules Jan 30 19:23:13 hiro gdm-simple-slave[4991]: GLib-GObject-CRITICAL: g_object_ref: assertion `object-ref_count 0' failed Jan 30 19:23:13 hiro gnome-session[5027]: Gdk-WARNING: gnome-session: Fatal IO error 104 (Die Verbindung wurde vom Kommunikationspartner zurückgesetzt) on X server :0. Jan 30 19:23:13 hiro gdm-simple-slave[4991]: GLib-GObject-CRITICAL: g_object_unref: assertion `object-ref_count 0' failed Jan 30 19:23:13 hiro polkitd[5014]: Unregistered Authentication Agent for unix-session:c4 (system bus name :1.26, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale de_DE.UTF-8') (disconnected from bus) Jan 30 19:23:13 hiro dbus[4616]: [system] Rejected send message, 1 matched rules; type=method_call, sender=:1.35 (uid=0 pid=27427 comm=/usr/bin/gdm --nodaemon ) interface=org.freedesktop.DBus.Properties member=GetAll error name=(unset) requested_reply=0 destination=:1.36 (uid=0 pid=27469 comm=/usr/libexec/gdm-simple-slave --display-id /org/gn) Jan 30 19:23:13 hiro acpid: client 4994[0:0] has disconnected Jan 30 19:23:13 hiro acpid: client connected from 27484[0:0] Jan 30 19:23:13 hiro acpid: 1 client rule loaded Jan 30 19:23:14 hiro acpid: client connected from 27484[0:0] Jan 30 19:23:14 hiro acpid: 1 client rule loaded Jan 30 19:23:14 hiro gdm-simple-slave[27469]: WARNING: Failed to give slave programs access to the display. Trying to proceed. Jan 30 19:23:14 hiro gdm-launch-environment][27817]: pam_unix(gdm-launch-environment:session): session opened for user gdm by (unknown)(uid=0) Jan 30 19:23:15 hiro polkitd[5014]: Registered Authentication Agent for unix-session:c10 (system bus name :1.44 [gnome-shell --mode=gdm], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale de_DE.UTF-8') Jan 30 19:23:23 hiro gdm-password][28289]: pam_unix(gdm-password:session): session opened for user sgw by (unknown)(uid=0)
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
On Wed, Jan 30, 2013 at 12:32 PM, Stefan G. Weichinger li...@xunil.at wrote: Am 30.01.2013 19:13, schrieb Stefan G. Weichinger: --depclean done now, I revdep-rebuild now and will then check back with gdm.service. just a minute ... Still no luck. consolekit is gone now # equery d consolekit * These packages depend on consolekit: gnome-base/gdm-3.6.2 (consolekit ? sys-auth/consolekit[pam]) gnome-base/gnome-control-center-3.6.3-r1 (!systemd ? sys-auth/consolekit) gnome-base/gnome-session-3.6.2-r1 (!systemd ? sys-auth/consolekit) gnome-base/gnome-settings-daemon-3.6.4 (!systemd ? sys-auth/consolekit) gnome-base/gnome-shell-3.6.2-r1 (!systemd ? sys-auth/consolekit) net-misc/networkmanager-0.9.6.4-r1 (consolekit ? sys-auth/consolekit) net-wireless/bluez-4.101-r5 (consolekit ? sys-auth/consolekit) sys-apps/accountsservice-0.6.30 (!systemd ? sys-auth/consolekit) sys-auth/pambase-20120417-r1 (consolekit ? =sys-auth/consolekit-0.4.5_p2012[pam]) sys-auth/polkit-0.110 (!systemd ? =sys-auth/consolekit-0.4.5_p2012[policykit]) x11-apps/xdm-1.1.11-r1 (consolekit ? sys-auth/consolekit) I rebuilt them ALL right now As you easily can see I am confused - # grep systemd /etc/portage/package.use #gnome-base/gdm -systemd #gnome-base/gnome-session -systemd #gnome-base/gnome-shell -systemd #sys-auth/polkit-systemd # grep systemd /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 What to keep, what to set, please? Everything looks fine. However, you did rebuild pambase, did you rebooted your computer? Also, do you have the following line in /etc/pam.d/system-login? -sessionoptionalpam_systemd.so Also, before you reboot, could you edit /etc/gdm/custom.conf and add the following to the [debug] section? Enable=true 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-197-r1 starts gdm-3.6.2
Am 30.01.2013 19:47, schrieb Canek Peláez Valdés: Everything looks fine. However, you did rebuild pambase, did you rebooted your computer? Yes, I think so, but I am not sure right now. Will do now. Also, do you have the following line in /etc/pam.d/system-login? -session optionalpam_systemd.so More than this: # grep systemd /etc/pam.d/* /etc/pam.d/system-auth:-session optionalpam_systemd.so /etc/pam.d/system-login:-sessionoptionalpam_systemd.so /etc/pam.d/system-services:-session optionalpam_systemd.so Also, before you reboot, could you edit /etc/gdm/custom.conf and add the following to the [debug] section? Enable=true Yep. Done. Rebooting as soon as some other emerge-work has finished ... Stefan
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
On Wed, Jan 30, 2013 at 12:51 PM, Stefan G. Weichinger li...@xunil.at wrote: Am 30.01.2013 19:47, schrieb Canek Peláez Valdés: Everything looks fine. However, you did rebuild pambase, did you rebooted your computer? Yes, I think so, but I am not sure right now. Will do now. Also, do you have the following line in /etc/pam.d/system-login? -session optionalpam_systemd.so More than this: # grep systemd /etc/pam.d/* /etc/pam.d/system-auth:-session optionalpam_systemd.so /etc/pam.d/system-login:-sessionoptionalpam_systemd.so /etc/pam.d/system-services:-session optionalpam_systemd.so I don't think it matters, but in my laptop and desktop (both running GNOME 3.6), I only have the line in system-login. Let's see what the logs have to say. 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-197-r1 starts gdm-3.6.2
Am 30.01.2013 19:58, schrieb Canek Peláez Valdés: Let's see what the logs have to say. Failed again. Put up the failed session of gdm here to keep the list uncluttered: https://dl.dropbox.com/u/24516209/gdm_problems.txt I added the line sgw FAILED ... in there to mark the failed effort to login. Stefan
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
Am 30.01.2013 20:22, schrieb Stefan G. Weichinger: Put up the failed session of gdm here to keep the list uncluttered: https://dl.dropbox.com/u/24516209/gdm_problems.txt I am away from this system for now ... more tomorrow, thanks so far. Stefan
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
On Wed, Jan 30, 2013 at 2:22 PM, Stefan G. Weichinger li...@xunil.at wrote: Am 30.01.2013 20:22, schrieb Stefan G. Weichinger: Put up the failed session of gdm here to keep the list uncluttered: https://dl.dropbox.com/u/24516209/gdm_problems.txt I am away from this system for now ... more tomorrow, thanks so far. Stefan I switched to systemd not too long ago and I have the same issue as well, at least it sounds the same -- Basically, I get a hanging GDM after typing my password and logging in. I'm certainly no expert, but I've enjoyed the rest of systemd so I've stuck with it and just use startx to boot into Gnome3. I'll attatch some logs from /var/log/gdm. :0.log Description: Binary data :0-greeter.log Description: Binary data :0-slave.log Description: Binary data
Re: [gentoo-user] systemd-197-r1 starts gdm-3.6.2
On Wed, Jan 30, 2013 at 3:14 PM, Alecks Gates aleck...@gmail.com wrote: On Wed, Jan 30, 2013 at 2:22 PM, Stefan G. Weichinger li...@xunil.at wrote: Am 30.01.2013 20:22, schrieb Stefan G. Weichinger: Put up the failed session of gdm here to keep the list uncluttered: https://dl.dropbox.com/u/24516209/gdm_problems.txt I am away from this system for now ... more tomorrow, thanks so far. Stefan I switched to systemd not too long ago and I have the same issue as well, at least it sounds the same -- Basically, I get a hanging GDM after typing my password and logging in. I'm certainly no expert, but I've enjoyed the rest of systemd so I've stuck with it and just use startx to boot into Gnome3. I'll attatch some logs from /var/log/gdm. Alecks, your error is different, and one similar to one I had before: https://bugs.gentoo.org/show_bug.cgi?id=363061 What does systemctl status accounts-daemon.service says? Actually, could tell me what services are in red when you run systemctl --full --all? 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-197-r1 starts gdm-3.6.2
On Wed, Jan 30, 2013 at 11:35 PM, Canek Peláez Valdés can...@gmail.com wrote: On Wed, Jan 30, 2013 at 3:14 PM, Alecks Gates aleck...@gmail.com wrote: On Wed, Jan 30, 2013 at 2:22 PM, Stefan G. Weichinger li...@xunil.at wrote: Am 30.01.2013 20:22, schrieb Stefan G. Weichinger: Put up the failed session of gdm here to keep the list uncluttered: https://dl.dropbox.com/u/24516209/gdm_problems.txt I am away from this system for now ... more tomorrow, thanks so far. Stefan I switched to systemd not too long ago and I have the same issue as well, at least it sounds the same -- Basically, I get a hanging GDM after typing my password and logging in. I'm certainly no expert, but I've enjoyed the rest of systemd so I've stuck with it and just use startx to boot into Gnome3. I'll attatch some logs from /var/log/gdm. Alecks, your error is different, and one similar to one I had before: https://bugs.gentoo.org/show_bug.cgi?id=363061 What does systemctl status accounts-daemon.service says? Actually, could tell me what services are in red when you run systemctl --full --all? By the way, Alecks, maybe you could try to delete /var/lib/gdm (the gdm user $HOME), and emerge again gdm? Also could you check that all the files under /var/lib/gdm/ have gdm:gdm ownership? Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México