View previous topic :: View next topic |
Author |
Message |
ZeuZ_NG Guru
Joined: 10 Sep 2008 Posts: 453 Location: Near /dev/urandom | /dev/null
|
Posted: Tue Oct 23, 2012 10:25 pm Post subject: Systemd system only, GDM starts, logins allways fail |
|
|
So that-s pretty much the story, I-ve removed baselayout, moved to the native files for configuration, and then re-emerged gdm.
Also got rid of openrc, and sysvinit since it-s supposed to be a drop-in replacement (talking about systemd here)
Apparently, GDM is trying to talk to dbus wich is started and running, but gets denied it-s petitions...
Thats why login fails..
Any ideas? _________________ | Intel Core i7 920. | Intel DX58SO Extreme. |
| 8gb DDR3 1666mHz | 1TB 7200 RPM WD HDD.|
Unix´s guru view of sex:
unzip ; strip ; touch ; grep ; finger ; \
mount ; fsck ; more ; yes ; umount ; sleep. |
|
Back to top |
|
|
mbar Veteran
Joined: 19 Jan 2005 Posts: 1990 Location: Poland
|
Posted: Wed Oct 24, 2012 11:42 am Post subject: |
|
|
Please list your enabled services. |
|
Back to top |
|
|
ZeuZ_NG Guru
Joined: 10 Sep 2008 Posts: 453 Location: Near /dev/urandom | /dev/null
|
Posted: Thu Oct 25, 2012 5:43 pm Post subject: |
|
|
Code: |
zeuz@Ignition ~ $ systemctl
UNIT LOAD ACTIVE SUB JOB DESCRIPTION
proc-sys...misc.automount loaded active waiting Arbitrary Executable File
sys-devi...d-card0.device loaded active plugged NM10/ICH7 Family High Defi
sys-devi...t-wlan0.device loaded active plugged AR9285 Wireless Network Ad
sys-devi...et-eth0.device loaded active plugged AR8132 Fast Ethernet
sys-devi...da-sda1.device loaded active plugged WDC_WD2500BEVT-80A23T0
sys-devi...da-sda2.device loaded active plugged WDC_WD2500BEVT-80A23T0
sys-devi...da-sda3.device loaded active plugged WDC_WD2500BEVT-80A23T0
sys-devi...ock-sda.device loaded active plugged WDC_WD2500BEVT-80A23T0
sys-module-fuse.device loaded active plugged /sys/module/fuse
-.mount loaded active mounted /
dev-mqueue.mount loaded active mounted POSIX Message Queue File S
home.mount loaded active mounted /home
sys-fs-f...nections.mount loaded active mounted FUSE Control File System
tmp.mount loaded active mounted Temporary Directory
systemd-...d-console.path loaded active waiting Dispatch Password Requests
systemd-...word-wall.path loaded active waiting Forward Password Requests
accounts-daemon.service loaded active running Accounts Service
console-...daemon.service loaded active running Console Manager
console-...-start.service loaded active exited Console System Startup Log
dbus.service loaded active running D-Bus System Message Bus
getty@tty1.service loaded active running Getty on tty1
microcode_ctl.service loaded failed failed CPU Microcode Updater
polkit.service loaded active running Authorization Manager
rtkit-daemon.service loaded active running RealtimeKit Scheduling Pol
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-...unt-fs.service loaded active exited Remount Root and Kernel Fi
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-...-setup.service loaded active exited Recreate Volatile Files an
systemd-...rigger.service loaded active exited udev Coldplug all Devices
systemd-udevd.service loaded active running udev Kernel Device Manager
systemd-...ssions.service loaded active exited Permit User Sessions
systemd-...-setup.service loaded active exited Setup Virtual Console
upower.service loaded active running Daemon for power managemen
wicd.service loaded active running Wicd a wireless and wired
dbus.socket loaded active running D-Bus System Message Bus S
systemd-initctl.socket loaded active listening /dev/initctl Compatibility
systemd-journald.socket loaded active running Journal Socket
systemd-shutdownd.socket loaded active listening Delayed Shutdown Socket
systemd-...control.socket loaded active listening udev Control Socket
systemd-...-kernel.socket loaded active running udev Kernel Socket
basic.target loaded active active Basic System
getty.target loaded active active Login Prompts
graphical.target loaded active active Graphical Interface
local-fs-pre.target loaded active active Local File Systems (Pre)
local-fs.target loaded active active Local File Systems
multi-user.target loaded active active Multi-User
network.target loaded active active Network
remote-fs.target loaded active active Remote File Systems
sockets.target loaded active active Sockets
sound.target loaded active active Sound Card
swap.target loaded active active Swap
sysinit.target loaded active active System Initialization
systemd-...es-clean.timer loaded active waiting Daily Cleanup of Temporary
|
This is the output I-ve got when using only systemd from systemctl _________________ | Intel Core i7 920. | Intel DX58SO Extreme. |
| 8gb DDR3 1666mHz | 1TB 7200 RPM WD HDD.|
Unix´s guru view of sex:
unzip ; strip ; touch ; grep ; finger ; \
mount ; fsck ; more ; yes ; umount ; sleep. |
|
Back to top |
|
|
ZeuZ_NG Guru
Joined: 10 Sep 2008 Posts: 453 Location: Near /dev/urandom | /dev/null
|
Posted: Thu Oct 25, 2012 5:53 pm Post subject: |
|
|
Sorry, a more "to the point" approach:
Code: |
UNIT FILE STATE
accounts-daemon.service disabled
alsa-restore.service static
alsa-store.service static
autovt@.service disabled
bluetooth.service disabled
canberra-system-bootup.service disabled
canberra-system-shutdown-reboot.service disabled
canberra-system-shutdown.service disabled
colord.service static
console-getty.service disabled
console-kit-daemon.service disabled
console-kit-log-system-restart.service static
console-kit-log-system-start.service static
console-kit-log-system-stop.service static
console-shell.service disabled
cups.service disabled
dbus-org.freedesktop.hostname1.service static
dbus-org.freedesktop.locale1.service static
dbus-org.freedesktop.login1.service static
dbus-org.freedesktop.timedate1.service static
dbus-org.wicd.daemon.service enabled
dbus.service static
debug-shell.service disabled
dhcpcd.service disabled
emergency.service static
gdm.service disabled
getty@.service enabled
microcode_ctl.service enabled
NetworkManager-wait-online.service disabled
NetworkManager.service disabled
polkit.service static
quotaon.service static
rescue.service static
rtkit-daemon.service disabled
serial-getty@.service static
slim.service disabled
sshd.service disabled
sshd@.service static
systemd-ask-password-console.service static
systemd-ask-password-wall.service static
systemd-binfmt.service static
systemd-fsck-root.service static
systemd-fsck@.service static
systemd-halt.service static
systemd-hibernate.service static
systemd-hostnamed.service static
systemd-initctl.service static
systemd-journal-flush.service static
systemd-journald.service static
systemd-kexec.service static
systemd-localed.service static
systemd-logind.service static
systemd-modules-load.service static
systemd-poweroff.service static
systemd-quotacheck.service static
systemd-random-seed-load.service static
systemd-random-seed-save.service static
systemd-readahead-collect.service disabled
systemd-readahead-done.service static
systemd-readahead-drop.service disabled
systemd-readahead-replay.service disabled
systemd-reboot.service static
systemd-remount-fs.service static
systemd-shutdownd.service static
systemd-suspend.service static
systemd-sysctl.service static
systemd-timedated.service static
systemd-tmpfiles-clean.service static
systemd-tmpfiles-setup.service static
systemd-udev-settle.service static
systemd-udev-trigger.service static
systemd-udevd.service static
systemd-update-utmp-runlevel.service static
systemd-update-utmp-shutdown.service static
systemd-user-sessions.service static
systemd-vconsole-setup.service static
udisks2.service static
upower.service disabled
user@.service static
uuidd.service static
wicd.service enabled
wpa_supplicant.service disabled
wpa_supplicant@.service disabled
83 unit files listed.
|
_________________ | Intel Core i7 920. | Intel DX58SO Extreme. |
| 8gb DDR3 1666mHz | 1TB 7200 RPM WD HDD.|
Unix´s guru view of sex:
unzip ; strip ; touch ; grep ; finger ; \
mount ; fsck ; more ; yes ; umount ; sleep. |
|
Back to top |
|
|
mbar Veteran
Joined: 19 Jan 2005 Posts: 1990 Location: Poland
|
Posted: Fri Oct 26, 2012 12:57 pm Post subject: |
|
|
"methinks" you're missing Avahi service, please enable it |
|
Back to top |
|
|
ZeuZ_NG Guru
Joined: 10 Sep 2008 Posts: 453 Location: Near /dev/urandom | /dev/null
|
Posted: Fri Oct 26, 2012 3:52 pm Post subject: |
|
|
Ok now, that is a joke for sure.
GDM is disabled because I manually start it, right now I use startx with a fluxbox configuration file.
Avahi? Why would I need it et all? Zeroconf equivalent from windows.. _________________ | Intel Core i7 920. | Intel DX58SO Extreme. |
| 8gb DDR3 1666mHz | 1TB 7200 RPM WD HDD.|
Unix´s guru view of sex:
unzip ; strip ; touch ; grep ; finger ; \
mount ; fsck ; more ; yes ; umount ; sleep. |
|
Back to top |
|
|
mbar Veteran
Joined: 19 Jan 2005 Posts: 1990 Location: Poland
|
Posted: Fri Oct 26, 2012 5:42 pm Post subject: |
|
|
Not a joke -- I had a similar problem with GDM when migrating to systemd, solved by enabling Avahi. For some freaky reason it is needed.
If it doesn't help you, you can always disable it later, right? Worth a try and few minutes of spare time? |
|
Back to top |
|
|
ZeuZ_NG Guru
Joined: 10 Sep 2008 Posts: 453 Location: Near /dev/urandom | /dev/null
|
Posted: Fri Oct 26, 2012 6:50 pm Post subject: |
|
|
I Guess you're right, I'll try..
I noted it doesn't have a systemd flag though, how about the service/unit file? _________________ | Intel Core i7 920. | Intel DX58SO Extreme. |
| 8gb DDR3 1666mHz | 1TB 7200 RPM WD HDD.|
Unix´s guru view of sex:
unzip ; strip ; touch ; grep ; finger ; \
mount ; fsck ; more ; yes ; umount ; sleep. |
|
Back to top |
|
|
ZeuZ_NG Guru
Joined: 10 Sep 2008 Posts: 453 Location: Near /dev/urandom | /dev/null
|
Posted: Fri Oct 26, 2012 7:17 pm Post subject: |
|
|
UPDATE: Nope, Avahi served no purpouse.
Something tells me I'll have to leave emerged both or go to another login greeter.. _________________ | Intel Core i7 920. | Intel DX58SO Extreme. |
| 8gb DDR3 1666mHz | 1TB 7200 RPM WD HDD.|
Unix´s guru view of sex:
unzip ; strip ; touch ; grep ; finger ; \
mount ; fsck ; more ; yes ; umount ; sleep. |
|
Back to top |
|
|
mbar Veteran
Joined: 19 Jan 2005 Posts: 1990 Location: Poland
|
Posted: Sat Oct 27, 2012 6:57 am Post subject: |
|
|
what does "emerge -pv polkit" says?
On my system I had to unmask hard masked (-systemd) flag recently. And yes, GDM has to be emerged with systemd USE flag enabled (then you'll have service file available). |
|
Back to top |
|
|
ZeuZ_NG Guru
Joined: 10 Sep 2008 Posts: 453 Location: Near /dev/urandom | /dev/null
|
Posted: Sat Oct 27, 2012 2:05 pm Post subject: |
|
|
Calculating dependencies... done!
[ebuild R ] sys-auth/polkit-0.107-r1 USE="gtk introspection pam -examples -kde -nls (-selinux) (-systemd)" 0 kB
Exactly as you said.
But adding it to package.use didn't quite make it...
How do you do that last part of forcing it? _________________ | Intel Core i7 920. | Intel DX58SO Extreme. |
| 8gb DDR3 1666mHz | 1TB 7200 RPM WD HDD.|
Unix´s guru view of sex:
unzip ; strip ; touch ; grep ; finger ; \
mount ; fsck ; more ; yes ; umount ; sleep. |
|
Back to top |
|
|
dwbowyer Apprentice
Joined: 18 Apr 2008 Posts: 155
|
Posted: Sat Oct 27, 2012 2:29 pm Post subject: |
|
|
Been a while sine I've use the feature, but I think it would be
/etc/portage/use.mask: |
-systemd
|
look at /usr/portage/arch/<arch>/use.mask for examples. |
|
Back to top |
|
|
ulenrich Veteran
Joined: 10 Oct 2010 Posts: 1480
|
Posted: Sat Oct 27, 2012 3:12 pm Post subject: |
|
|
Using systemd I have these USE masks to negate profile USE masks:
Code: | # this is file: /etc/portage/profile/use.mask
udisks2
consolekit
-systemd |
|
|
Back to top |
|
|
ZeuZ_NG Guru
Joined: 10 Sep 2008 Posts: 453 Location: Near /dev/urandom | /dev/null
|
Posted: Sat Oct 27, 2012 7:10 pm Post subject: |
|
|
Oddly, I've created both files named in the last two posts, to no avail...
Ideas? Waiting sitting until polkit launches a new version sound temptative at this point, meanwhile leave baselayout, openrc, and sysvinit there just because otherwise I get a broken experience...
I'm using sys-apps/portage-2.1.11.31
Code: |
Portage 2.1.11.31 (default/linux/amd64/10.0/desktop/gnome, gcc-4.7.2, glibc-2.15-r3, 3.6.3-pfIgnition x86_64)
=================================================================
System uname: Linux-3.6.3-pfIgnition-x86_64-Intel-R-_Atom-TM-_CPU_N450_@_1.66GHz-with-gentoo-2.2
Timestamp of tree: Sat, 27 Oct 2012 14:00:01 +0000
ld GNU ld (GNU Binutils) 2.23
app-shells/bash: 4.2_p37
dev-java/java-config: 2.1.12
dev-lang/python: 2.6.8, 2.7.3-r2, 3.2.3-r1
dev-util/cmake: 2.8.9-r1
dev-util/pkgconfig: 0.27.1
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.11.2
sys-apps/sandbox: 2.6
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.6, 1.12.4
sys-devel/binutils: 2.23
sys-devel/gcc: 4.5.4, 4.7.2
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4.2
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc: 2.15-r3
Repositories: gentoo elementary aidecoe dustin sabayon sunrise
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O3 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="es_ES.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="es"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/elementary /var/lib/layman/aidecoe /var/lib/layman/dustin /var/lib/layman/sabayon /var/lib/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completition berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cxx dbus directb dmx dri drm dts dvd dvdr emboss encode evo exif fam fat firefox flac fontforge fortran fuse gdbm gif gles gnome gnome-keyring gpm graphite gstreamer gtk gtk3 iconv ipv6 jpeg lcms libnotify mad mmx mng modules motif mp3 mp4 mpeg msn mudflap multilib nautilus ncurses nptl ogg opengl openmp openvg optimization pango pcre pdf png policykit postproc ppds pppd qt3support readline sdl session shared-dricore socialweb spell sse sse2 ssl ssse3 startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb utils vaapi vapigen vorbis wifi wxwidgets x264 xcb xml xnest xv xvfb xvid zlib zsh-completion" ALSA_CARDS="intel_hda" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="plymouth systemd gensplash" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel glint i965 i915" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
|
_________________ | Intel Core i7 920. | Intel DX58SO Extreme. |
| 8gb DDR3 1666mHz | 1TB 7200 RPM WD HDD.|
Unix´s guru view of sex:
unzip ; strip ; touch ; grep ; finger ; \
mount ; fsck ; more ; yes ; umount ; sleep. |
|
Back to top |
|
|
mbar Veteran
Joined: 19 Jan 2005 Posts: 1990 Location: Poland
|
Posted: Sat Oct 27, 2012 7:16 pm Post subject: |
|
|
Close, but no cigar
Code: | cat /etc/portage/profile/package.use.mask/system
=sys-auth/polkit-0.107-r1 -systemd
|
|
|
Back to top |
|
|
ZeuZ_NG Guru
Joined: 10 Sep 2008 Posts: 453 Location: Near /dev/urandom | /dev/null
|
Posted: Sat Oct 27, 2012 7:21 pm Post subject: |
|
|
Yay! that did enable the useflags..
Gonna try to remerge and bootup without the other stuff again _________________ | Intel Core i7 920. | Intel DX58SO Extreme. |
| 8gb DDR3 1666mHz | 1TB 7200 RPM WD HDD.|
Unix´s guru view of sex:
unzip ; strip ; touch ; grep ; finger ; \
mount ; fsck ; more ; yes ; umount ; sleep. |
|
Back to top |
|
|
ZeuZ_NG Guru
Joined: 10 Sep 2008 Posts: 453 Location: Near /dev/urandom | /dev/null
|
Posted: Sat Oct 27, 2012 7:23 pm Post subject: |
|
|
Aw damn it,
Code: |
/usr/bin/xsltproc/usr/bin/xsltproc: error while loading shared libraries: libicuuc.so.49: cannot open shared object file: No such file or directory
: error while loading shared libraries: libicuuc.so.49: cannot open shared object file: No such file or directory
|
What package does this file belong to? _________________ | Intel Core i7 920. | Intel DX58SO Extreme. |
| 8gb DDR3 1666mHz | 1TB 7200 RPM WD HDD.|
Unix´s guru view of sex:
unzip ; strip ; touch ; grep ; finger ; \
mount ; fsck ; more ; yes ; umount ; sleep. |
|
Back to top |
|
|
szczerb Veteran
Joined: 24 Feb 2007 Posts: 1709 Location: Poland => Lodz
|
Posted: Sat Oct 27, 2012 8:11 pm Post subject: |
|
|
It's from dev-libs/icu and I remember a problem which needed reemerging gettext, then icu and the revdep. |
|
Back to top |
|
|
|