Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[system.d ?? / kdm] kdm No DBUS session-bus found [résolu]
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
gaga
Apprentice
Apprentice


Joined: 27 Apr 2005
Posts: 288

PostPosted: Thu Feb 27, 2014 3:48 pm    Post subject: [system.d ?? / kdm] kdm No DBUS session-bus found [résolu] Reply with quote

Bonjour à tous,

J'avais mis de côté Gentoo depuis quelques années pour tester d'autres distrib'... mais je suis de retour :D
Ce retour est un peu "bancal" ; j'avoue que je suis un peu perdu avec systemd / grub2 /etc mais bon, bref, j'apprends à fur et à mesure ;)

Je reste néanmoins bloqué depuis 2 jours sur un pb assez gênant (dans le sens où je vais quand même avoir besoin de travailler sur mon pc et que kde ne fonctionne toujours pas ! ça me rend dingue).

Comme beaucoup d'autres threads : kdm = No DBUS session-bus found

Quote:
# cat /var/log/kdm.log | tail -n 30
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
klauncher(2319) kdemain: No DBUS session-bus found. Check if you have started the DBUS server.
kdeinit4: Communication error with launcher. Exiting!
kdmgreet(2284)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed: "Not connected to D-Bus server"

kdmgreet(2284)/kdecore (K*TimeZone*): No time zone information obtained from ktimezoned
QNativeImage: Unable to attach to shared memory segment.
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 62 (X_CopyArea)
Resource id in failed request: 0x0
Serial number of failed request: 590
Current serial number in output stream: 739
(EE) Server terminated successfully (0). Closing log file.


Et pourtant le service semble bien démarré :
Quote:
# systemctl status dbus.service
dbus.service - D-Bus System Message Bus
Loaded: loaded (/usr/lib64/systemd/system/dbus.service; static)
Active: active (running) since jeu. 2014-02-27 11:35:00 CET; 6h ago
Main PID: 2185 (dbus-daemon)
CGroup: /system.slice/dbus.service
└─2185 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation

févr. 27 11:35:01 localhost dbus-daemon[2185]: Unknown username "pulse" in message bus configuration file
févr. 27 16:50:02 D6420 systemd[1]: dbus.service changed dead -> running
févr. 27 16:50:06 D6420 systemd[1]: dbus.service changed dead -> running
févr. 27 16:50:14 D6420 systemd[1]: dbus.service changed dead -> running
févr. 27 16:54:30 D6420 systemd[1]: dbus.service changed dead -> running
févr. 27 16:58:09 D6420 systemd[1]: dbus.service changed dead -> running
févr. 27 17:15:10 D6420 dbus-daemon[2185]: dbus[2185]: [system] Activating via systemd: service name='org.freedesktop.PolicyKit1' unit='polkit.service'
févr. 27 17:15:10 D6420 dbus[2185]: [system] Activating via systemd: service name='org.freedesktop.PolicyKit1' unit='polkit.service'
févr. 27 17:15:10 D6420 dbus-daemon[2185]: dbus[2185]: [system] Successfully activated service 'org.freedesktop.PolicyKit1'
févr. 27 17:15:10 D6420 dbus[2185]: [system] Successfully activated service 'org.freedesktop.PolicyKit1'


Quote:

# systemctl list-units -t service
UNIT LOAD ACTIVE SUB DESCRIPTION
dbus.service loaded active running D-Bus System Message Bus
dhcpcd.service loaded active running Lightweight DHCP client daemon
getty@tty2.service loaded active running Getty on tty2
gpm.service loaded active running Console Mouse manager
kdm.service loaded active running KDM Display Manager
kmod-static-nodes.service loaded active exited Create list of required static device nodes for the current kernel
polkit.service loaded active running Authorization Manager
sshd.service loaded active running OpenSSH server daemon
syslog-ng.service loaded active running System Logger Daemon
systemd-backlight@acpi_video0.service loaded active exited Load/Save Screen Backlight Brightness of acpi_video0
systemd-backlight@acpi_video1.service loaded active exited Load/Save Screen Backlight Brightness of acpi_video1
systemd-fsck-root.service loaded active exited File System Check on Root Device
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-random-seed.service loaded active exited Load/Save Random Seed
systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-tmpfiles-setup-dev.service loaded active exited Create static device nodes in /dev
systemd-tmpfiles-setup.service loaded active exited Recreate Volatile Files and Directories
systemd-udev-trigger.service loaded active exited udev Coldplug all Devices
systemd-udevd.service loaded active running udev Kernel Device Manager
systemd-update-utmp.service loaded active exited Update UTMP about System Reboot/Shutdown
systemd-user-sessions.service loaded active exited Permit User Sessions
systemd-vconsole-setup.service loaded active exited Setup Virtual Console
user@0.service loaded active running User Manager for 0
user@1000.service loaded active running User Manager for 1000

LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.

26 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.


Quote:
#journalctl -u dbus
[...]
-- Reboot --
févr. 27 11:35:00 localhost systemd[1]: Starting D-Bus System Message Bus...
févr. 27 11:35:00 localhost systemd[1]: About to execute: /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
févr. 27 11:35:00 localhost systemd[1]: Forked /usr/bin/dbus-daemon as 2185
févr. 27 11:35:00 localhost systemd[1]: dbus.service changed dead -> running
févr. 27 11:35:00 localhost systemd[1]: Job dbus.service/start finished, result=done
févr. 27 11:35:00 localhost systemd[2185]: Executing: /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
févr. 27 11:35:00 localhost systemd[1]: Started D-Bus System Message Bus.
févr. 27 11:35:01 localhost dbus-daemon[2185]: Unknown username "pulse" in message bus configuration file
févr. 27 16:50:02 D6420 systemd[1]: dbus.service changed dead -> running
févr. 27 16:50:06 D6420 systemd[1]: dbus.service changed dead -> running
févr. 27 16:50:14 D6420 systemd[1]: dbus.service changed dead -> running
févr. 27 16:54:30 D6420 systemd[1]: dbus.service changed dead -> running
févr. 27 16:58:09 D6420 systemd[1]: dbus.service changed dead -> running
févr. 27 17:15:10 D6420 dbus-daemon[2185]: dbus[2185]: [system] Activating via systemd: service name='org.freedesktop.PolicyKit1' unit='polkit.service'
févr. 27 17:15:10 D6420 dbus[2185]: [system] Activating via systemd: service name='org.freedesktop.PolicyKit1' unit='polkit.service'
févr. 27 17:15:10 D6420 dbus-daemon[2185]: dbus[2185]: [system] Successfully activated service 'org.freedesktop.PolicyKit1'
févr. 27 17:15:10 D6420 dbus[2185]: [system] Successfully activated service 'org.freedesktop.PolicyKit1'


La fin du Xorg.log ne semble pas me fournir d'infos...
Quote:

[ 17.826] (**) AlpsPS/2 ALPS DualPoint TouchPad: (accel) acceleration factor: 2.000
[ 17.826] (**) AlpsPS/2 ALPS DualPoint TouchPad: (accel) acceleration threshold: 4
[ 17.826] (--) synaptics: AlpsPS/2 ALPS DualPoint TouchPad: touchpad found
[ 17.826] (II) config/udev: Adding input device AlpsPS/2 ALPS DualPoint TouchPad (/dev/input/mouse1)
[ 17.826] (**) AlpsPS/2 ALPS DualPoint TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"
[ 17.826] (II) config/udev: Adding input device PC Speaker (/dev/input/event13)
[ 17.826] (II) No input driver specified, ignoring this device.
[ 17.826] (II) This device may have been added with another device file.
[ 17.827] (II) config/udev: Adding input device Dell WMI hotkeys (/dev/input/event6)
[ 17.827] (**) Dell WMI hotkeys: Applying InputClass "evdev keyboard catchall"
[ 17.827] (II) Using input driver 'evdev' for 'Dell WMI hotkeys'
[ 17.827] (**) Dell WMI hotkeys: always reports core events
[ 17.827] (**) evdev: Dell WMI hotkeys: Device: "/dev/input/event6"
[ 17.827] (--) evdev: Dell WMI hotkeys: Vendor 0 Product 0
[ 17.827] (--) evdev: Dell WMI hotkeys: Found keys
[ 17.827] (II) evdev: Dell WMI hotkeys: Configuring as keyboard
[ 17.827] (**) Option "config_info" "udev:/sys/devices/virtual/input/input6/event6"
[ 17.827] (II) XINPUT: Adding extended input device "Dell WMI hotkeys" (type: KEYBOARD, id 17)
[ 17.827] (**) Option "xkb_rules" "evdev"
[ 17.827] (**) Option "xkb_model" "pc104"
[ 17.827] (**) Option "xkb_layout" "us"
[ 21.529] (II) evdev: Dell WMI hotkeys: Close
[ 21.529] (II) UnloadModule: "evdev"
[ 21.529] (II) UnloadModule: "synaptics"
[ 21.529] (II) evdev: DualPoint Stick: Close
[ 21.529] (II) UnloadModule: "evdev"
[ 21.529] (II) evdev: Logitech USB-PS/2 Optical Mouse: Close
[ 21.529] (II) UnloadModule: "evdev"
[ 21.529] (II) evdev: Logitech HID compliant keyboard: Close
[ 21.529] (II) UnloadModule: "evdev"
[ 21.529] (II) evdev: Logitech HID compliant keyboard: Close
[ 21.529] (II) UnloadModule: "evdev"
[ 21.529] (II) evdev: Creative Technology USB Sound Blaster HD: Close
[ 21.529] (II) UnloadModule: "evdev"
[ 21.529] (II) evdev: Sleep Button: Close
[ 21.529] (II) UnloadModule: "evdev"
[ 21.529] (II) evdev: Power Button: Close
[ 21.529] (II) UnloadModule: "evdev"
[ 21.529] (II) evdev: Video Bus: Close
[ 21.529] (II) UnloadModule: "evdev"
[ 21.529] (II) evdev: Video Bus: Close
[ 21.529] (II) UnloadModule: "evdev"
[ 21.529] (II) evdev: Power Button: Close
[ 21.529] (II) UnloadModule: "evdev"
[ 21.572] (EE) Server terminated successfully (0). Closing log file.


Quote:
# eselect profile list
Available profile symlink targets:
[1] default/linux/amd64/13.0
[2] default/linux/amd64/13.0/selinux
[3] default/linux/amd64/13.0/desktop
[4] default/linux/amd64/13.0/desktop/gnome
[5] default/linux/amd64/13.0/desktop/gnome/systemd
[6] default/linux/amd64/13.0/desktop/kde
[7] default/linux/amd64/13.0/desktop/kde/systemd *
[8] default/linux/amd64/13.0/developer
[9] default/linux/amd64/13.0/no-multilib
[10] default/linux/amd64/13.0/x32
[11] hardened/linux/amd64
[12] hardened/linux/amd64/selinux
[13] hardened/linux/amd64/no-multilib
[14] hardened/linux/amd64/no-multilib/selinux
[15] hardened/linux/amd64/x32
[16] hardened/linux/uclibc/amd64


Quote:
# emerge --info
Portage 2.2.7 (default/linux/amd64/13.0/desktop/kde/systemd, gcc-4.7.3, glibc-2.17, 3.10.25-gentoo x86_64)
=================================================================
System uname: Linux-3.10.25-gentoo-x86_64-Intel-R-_Core-TM-_i5-2540M_CPU_@_2.60GHz-with-gentoo-2.2
KiB Mem: 16377420 total, 14138472 free
KiB Swap: 7815584 total, 7815584 free
Timestamp of tree: Thu, 27 Feb 2014 14:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash: 4.2_p45
dev-lang/python: 2.7.5-r3, 3.3.3
dev-util/cmake: 2.8.11.2
dev-util/pkgconfig: 0.28
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.12.4
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils: 2.23.2
sys-devel/gcc: 4.7.3-r1
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4.2
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc: 2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -pipe "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O3 -pipe "
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://192.168.10.253/mirror/gentoo/"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-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=""
USE="X a52 aac aacplus acl acpi alsa amd64 avahi bbswitch berkdb bluetooth branding bzip2 cairo cdda cddb cdr cli cracklib crypt cups cxx dbus declarative dhcpcd dri dts dvb dvd dvdr emboss encode equalizer exif faac fam ffmpeg firefox flac fortran gd gdbm gif gpm iconv ieee1394 ipv6 jack jpeg jpeg2k kde kipi lcms ldap libass libcaca libnotify mad matroska melt mmx mng modules mozilla mp3 mp4 mpeg mtp multilib multimedia musepack ncurses nls nptl ogg opengl openmp openssl p2p pam pango pcre pdf phonon plasma png policykit ppds pulseaudio pyqt4 qt3support qt4 readline resolvconf samba sdl semantic-desktop session spell sqlite sse sse2 sse3 sse4 sse4_2 ssl ssse3 startup-notification svg systemd tcpd theora threads tiff truetype udev udisks unicode upower usb v4l valgrind vdpau vorbis wavpack wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ublox ubx" INPUT_DEVICES="synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="intel nvidia" 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, SYNC, USE_PYTHON



Je suis perdu là, je ne sais plus où chercher... une bonne âme pourrait m’aiguiller ?

Merci beaucoup :)


Last edited by gaga on Sun Mar 02, 2014 10:43 am; edited 1 time in total
Back to top
View user's profile Send private message
gaga
Apprentice
Apprentice


Joined: 27 Apr 2005
Posts: 288

PostPosted: Thu Feb 27, 2014 8:27 pm    Post subject: Reply with quote

Quote:
# ps -ef | grep dbus*
message+ 2132 1 0 22:16 ? 00:00:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
root 2409 1 0 22:19 tty2 00:00:00 /usr/bin/dbus-launch --sh-syntax --exit-with-session
root 2410 1 0 22:19 ? 00:00:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session


J'ai aussi testé avec les drivers nvidia (et en désactivant optimus dans le bios) : même resultat ou presque : cette fois kdm ne termine pas brutalement en quittant l'interface grapgique, j'ai simplement un fond d'écran mais pas d'invite pour se logguer... les messages de kdm.log sont identiques. Je précise que le driver nvidia est bien installé (Direct Rendering : Yes)
Back to top
View user's profile Send private message
SirRobin2318
Apprentice
Apprentice


Joined: 24 Apr 2004
Posts: 233
Location: Strasbourg, france.

PostPosted: Fri Feb 28, 2014 11:02 am    Post subject: Reply with quote

Est ce que tu peux nous montrer les USE flags qui sont utilisés pour systemd, dbus et kdm?

moi j'ai:

Code:
[ebuild   R    ] sys-apps/systemd                                      [208-r2:0/1]                  USE="acl cryptsetup filecaps firmware-loader gudev introspection kmod lzma pam (policykit) qrcode tcpd -audit -doc -gcrypt -http -python (-selinux) {-test} -vanilla -xattr" ABI_X86="(64) (-32) (-x32)" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" 0 kB
[ebuild   R    ] sys-apps/dbus                                         [1.6.18-r1]                   USE="X systemd -debug -doc (-selinux) -static-libs {-test}" ABI_X86="(64) (-32) (-x32)" 0 kB
[ebuild   R    ] kde-base/kdm                                          [4.11.5:4/4.11]               USE="handbook pam systemd (-aqua) (-consolekit) -debug -kerberos" 0 kB


Sinon, pour plus de context, est ce qu'on peut voir:
- journalctl -b -u polkit.service
- eselect profile list
- version du kernel (et sources utilisées. t'aurais pas patché avec kdus par exemple ?)
Back to top
View user's profile Send private message
DuF
Advocate
Advocate


Joined: 09 Dec 2002
Posts: 2647
Location: Paris

PostPosted: Fri Feb 28, 2014 11:54 am    Post subject: Reply with quote

peut être une piste, le flag systemd pour dbus est à virer lors de l'installation de dbus même s'il ne faut pas le faire en permanent, cf : http://wiki.gentoo.org/wiki/Systemd#Installation . Dès fois en allant vite on peut le laisser ou l'oublier lors de l'installation.
Back to top
View user's profile Send private message
gaga
Apprentice
Apprentice


Joined: 27 Apr 2005
Posts: 288

PostPosted: Fri Feb 28, 2014 1:06 pm    Post subject: Reply with quote

Merci pour vos réponses


Euh, j'ai pourtant suivi le tuto systemd, e t si j'ai bien compris, le USE="-systemd" n'est à utiliser que temporairement en cas de dépendance circulaire. Dans mon cas c'est une installation fraîche et je n'ai pas eu de souci... du coup je dois le virer mais pas en permanence ? Je ne comprends pas trop...

Quote:

[ebuild R ] sys-apps/systemd-208-r2:0/1 USE="acl filecaps firmware-loader gudev introspection kmod pam (policykit) tcpd -audit -cryptsetup -doc -gcrypt -http -lzma -python -qrcode (-selinux) {-test} -vanilla -xattr" ABI_X86="(64) (-32) (-x32)" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" 0 kB
[ebuild R ] sys-apps/dbus-1.6.18-r1 USE="X systemd -debug -doc (-selinux) -static-libs {-test}" ABI_X86="(64) (-32) (-x32)" 0 kB
[ebuild R ] kde-base/kdm-4.11.5:4/4.11 USE="handbook pam systemd (-aqua) (-consolekit) -debug -kerberos" 0 kB


- eselect profile list (déjà mis plus haut)
Quote:

# eselect profile list
[7] default/linux/amd64/13.0/desktop/kde/systemd *


- version du kernel : linux-3.10.25-gentoo pas de patch particulier à ma connaissance... c'est la dernière version "stable" via emerge gentoo-sources, pas de patch appliqué à posteriori

- journalctl -b -u polkit.service
Quote:

# journalctl -b -u polkit.service
-- Logs begin at mer. 2014-02-26 22:02:53 CET, end at jeu. 2014-02-27 23:46:48 CET. --

euh... ??? je n'ai pas besoin de polkit, si ??
Back to top
View user's profile Send private message
SirRobin2318
Apprentice
Apprentice


Joined: 24 Apr 2004
Posts: 233
Location: Strasbourg, france.

PostPosted: Fri Feb 28, 2014 1:32 pm    Post subject: Reply with quote

Polkit est intégré à systemd, ce qui est bizarre c'est qu'il devrait etre actif par défaut.
T'as bien le use flag policykit, donc rien à rebuilder, par contre, juste pour voir :
Code:
systemctl status polkit.service

Puis essaie :
Code:
systemctl enable polkit.service

Et reboot.
Back to top
View user's profile Send private message
gaga
Apprentice
Apprentice


Joined: 27 Apr 2005
Posts: 288

PostPosted: Fri Feb 28, 2014 2:08 pm    Post subject: Reply with quote

Hum... ça semble bon, non ?

Quote:
kbu kbu # systemctl status polkit.service
polkit.service - Authorization Manager
Loaded: loaded (/usr/lib64/systemd/system/polkit.service; static)
Active: inactive (dead)
Docs: man:polkit(8)

févr. 28 16:07:31 kbu systemd[1]: Collecting polkit.service
kbu kbu # systemctl enable polkit.service
The unit files have no [Install] section. They are not meant to be enabled
using systemctl.
Possible reasons for having this kind of units are:
1) A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
2) A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).
kbu kbu #


edit : l'heure n'est pas bonne, je dois encore réglé ça par la suite, mais c'est la sortie juste après le reboot

Quote:
# journalctl -b -u polkit.service
-- Logs begin at mer. 2014-02-26 22:02:53 CET, end at ven. 2014-02-28 16:07:45 CET. --
févr. 28 16:07:31 kbu systemd[1]: Collecting polkit.service
Back to top
View user's profile Send private message
SirRobin2318
Apprentice
Apprentice


Joined: 24 Apr 2004
Posts: 233
Location: Strasbourg, france.

PostPosted: Fri Feb 28, 2014 2:18 pm    Post subject: Reply with quote

OK, donc va falloir trouver pourquoi ton polkit est dead:
Code:
 Active: inactive (dead)

Ça c'est pas bon.

Regarde si tu trouves quelque chose dans :
Code:
journalctl -b -p err

ou
Code:
journalctl -b -p warning
Back to top
View user's profile Send private message
SirRobin2318
Apprentice
Apprentice


Joined: 24 Apr 2004
Posts: 233
Location: Strasbourg, france.

PostPosted: Fri Feb 28, 2014 2:37 pm    Post subject: Reply with quote

Just pour être sur:
Code:
ps -uax | grep polkit


Aussi, parmis les services que tu as listé, en plus des tiens j'ai: rtkit-daemon.service et systemd-udev-settle.service.
Back to top
View user's profile Send private message
gaga
Apprentice
Apprentice


Joined: 27 Apr 2005
Posts: 288

PostPosted: Fri Feb 28, 2014 2:47 pm    Post subject: Reply with quote

Voilà les résultats, mais je suis un peu perdu... X arrive à se lancer via startx sans probleme... pourquoi les log disent l'inverse ?

Quote:
# journalctl -b -p err
-- Logs begin at mer. 2014-02-26 22:02:53 CET, end at ven. 2014-02-28 16:29:50 CET. --
févr. 28 16:05:00 kbu kernel: usb 1-1.2.1.1.1: dvb_usb_v2: Did not find the firmware file 'dvb-usb-it9135-01.fw'. Please see linux/Documentation/dvb/ for more details on firmware-problems. Status -2
févr. 28 16:05:00 kbu kernel: iwlwifi 0000:03:00.0: request for firmware file 'iwlwifi-6000-4.ucode' failed.
févr. 28 16:05:00 kbu kernel: iwlwifi 0000:03:00.0: no suitable firmware found!
févr. 28 16:05:15 kbu kdm[2126]: X server died during startup
févr. 28 16:05:15 kbu kdm[2126]: X server for display :0 cannot be started, session disabled
févr. 28 16:05:21 kbu dhcpcd[2119]: eno1: DHCP lease expired


Quote:
févr. 28 16:04:59 kbu kernel: usb 2-1.8: config 0 descriptor??
févr. 28 16:04:59 kbu kernel: systemd-getty-g (1239) used greatest stack depth: 4600 bytes left
févr. 28 16:04:59 kbu kernel: gentoo-local-ge (1240) used greatest stack depth: 4184 bytes left
févr. 28 16:05:00 kbu kernel: usb 1-1.2.1.1.1: dvb_usb_v2: Did not find the firmware file 'dvb-usb-it9135-01.fw'. Please see linux/Documentation/dvb/ for more details on firmware-problems. Status -2
févr. 28 16:05:00 kbu kernel: iwlwifi 0000:03:00.0: request for firmware file 'iwlwifi-6000-4.ucode' failed.
févr. 28 16:05:00 kbu kernel: iwlwifi 0000:03:00.0: no suitable firmware found!
févr. 28 16:05:12 kbu kernel: nvidia: module license 'NVIDIA' taints kernel.
févr. 28 16:05:12 kbu kernel: Disabling lock debugging due to kernel taint
févr. 28 16:05:12 kbu kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 331.38 Wed Jan 8 19:32:30 PST 2014
févr. 28 16:05:12 kbu kernel: nvidia-smi (2059) used greatest stack depth: 3504 bytes left
févr. 28 16:05:15 kbu dhcpcd[2119]: no interfaces have a carrier
févr. 28 16:05:15 kbu kdm[2126]: X server died during startup
févr. 28 16:05:15 kbu kdm[2126]: X server for display :0 cannot be started, session disabled
févr. 28 16:05:21 kbu dhcpcd[2119]: eno1: DHCP lease expired
févr. 28 16:05:29 kbu dhcpcd[2119]: eno1: no IPv6 Routers available


Quote:
# ps -uax | grep polkit
root 14662 0.0 0.0 112532 996 pts/0 S+ 16:46 0:00 grep --colour=auto polkit
Back to top
View user's profile Send private message
gaga
Apprentice
Apprentice


Joined: 27 Apr 2005
Posts: 288

PostPosted: Fri Feb 28, 2014 2:51 pm    Post subject: Reply with quote

Quote:
Aussi, parmis les services que tu as listé, en plus des tiens j'ai: rtkit-daemon.service et systemd-udev-settle.service.


install de rtkit en cours (je ne sais pas trop si c'est utile, mais rien ne coupe de tester)...

mais pour systemd-udev-settle.service je ne vois pas...

Quote:
[ebuild R ] virtual/udev-208-r1 USE="gudev introspection kmod (-selinux) (-static-libs)" ABI_X86="(64) (-32) (-x32)" 0 kB
[ebuild R ] sys-fs/udev-init-scripts-26 0 kB


edit : lui aussi est *dead*....
Quote:
# systemctl status systemd-udev-settle.service
systemd-udev-settle.service - udev Wait for Complete Device Initialization
Loaded: loaded (/usr/lib64/systemd/system/systemd-udev-settle.service; static)
Active: inactive (dead)
Docs: man:udev(7)
man:systemd-udevd.service(8)



edit2 : pourtant si je lance à la main il semble à son aise...
Quote:
# /usr/lib/systemd/systemd-udevd --debug
device 0x15c4860 has devpath '/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda6'
restoring old watch on '/dev/sda6'
adding watch on '/dev/sda6'
device 0x15c4860 has devpath '/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda5'
restoring old watch on '/dev/sda5'
adding watch on '/dev/sda5'
device 0x15c4860 has devpath '/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda9'
restoring old watch on '/dev/sda9'
adding watch on '/dev/sda9'
device 0x15c4860 has devpath '/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda7'
restoring old watch on '/dev/sda7'
adding watch on '/dev/sda7'
device 0x15c4860 has devpath '/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda1'
restoring old watch on '/dev/sda1'
adding watch on '/dev/sda1'
device 0x15c4860 has devpath '/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda2'
restoring old watch on '/dev/sda2'
adding watch on '/dev/sda2'
device 0x15c4860 has devpath '/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda3'
restoring old watch on '/dev/sda3'
adding watch on '/dev/sda3'
device 0x15c4860 has devpath '/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda8'
restoring old watch on '/dev/sda8'
adding watch on '/dev/sda8'
device 0x15c4860 has devpath '/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda'
restoring old watch on '/dev/sda'
adding watch on '/dev/sda'
device 0x15c4860 has devpath '/devices/virtual/block/loop7'
restoring old watch on '/dev/loop7'
adding watch on '/dev/loop7'
device 0x15c4860 has devpath '/devices/virtual/block/loop6'
restoring old watch on '/dev/loop6'
adding watch on '/dev/loop6'
device 0x15c4860 has devpath '/devices/virtual/block/loop5'
restoring old watch on '/dev/loop5'
adding watch on '/dev/loop5'
device 0x15c4860 has devpath '/devices/virtual/block/loop4'
restoring old watch on '/dev/loop4'
adding watch on '/dev/loop4'
device 0x15c4860 has devpath '/devices/virtual/block/loop3'
restoring old watch on '/dev/loop3'
adding watch on '/dev/loop3'
device 0x15c4860 has devpath '/devices/virtual/block/loop2'
restoring old watch on '/dev/loop2'
adding watch on '/dev/loop2'
device 0x15c4860 has devpath '/devices/virtual/block/loop1'
restoring old watch on '/dev/loop1'
adding watch on '/dev/loop1'
device 0x15c4860 has devpath '/devices/virtual/block/loop0'
restoring old watch on '/dev/loop0'
adding watch on '/dev/loop0'
=== trie on-disk ===
tool version: 208
file size: 5876959 bytes
header size 80 bytes
strings 1300151 bytes
nodes 4576728 bytes
load module index
read rules file: /lib64/udev/rules.d/40-usb-media-players.rules
read rules file: /lib64/udev/rules.d/42-usb-hid-pm.rules
read rules file: /lib64/udev/rules.d/50-firmware.rules
read rules file: /lib64/udev/rules.d/50-udev-default.rules
read rules file: /lib64/udev/rules.d/60-cdrom_id.rules
read rules file: /lib64/udev/rules.d/60-keyboard.rules
read rules file: /lib64/udev/rules.d/60-persistent-alsa.rules
read rules file: /lib64/udev/rules.d/60-persistent-input.rules
read rules file: /lib64/udev/rules.d/60-persistent-serial.rules
read rules file: /lib64/udev/rules.d/60-persistent-storage-tape.rules
read rules file: /lib64/udev/rules.d/60-persistent-storage.rules
read rules file: /lib64/udev/rules.d/60-persistent-v4l.rules
read rules file: /lib64/udev/rules.d/61-accelerometer.rules
read rules file: /lib64/udev/rules.d/64-btrfs.rules
read rules file: /lib64/udev/rules.d/69-libmtp.rules
read rules file: /lib64/udev/rules.d/70-libgphoto2.rules
read rules file: /lib64/udev/rules.d/70-power-switch.rules
read rules file: /lib64/udev/rules.d/70-printers.rules
read rules file: /lib64/udev/rules.d/70-uaccess.rules
read rules file: /lib64/udev/rules.d/70-udev-acl.rules
read rules file: /lib64/udev/rules.d/71-seat.rules
read rules file: /lib64/udev/rules.d/73-seat-late.rules
read rules file: /lib64/udev/rules.d/75-net-description.rules
read rules file: /lib64/udev/rules.d/75-probe_mtd.rules
read rules file: /lib64/udev/rules.d/75-tty-description.rules
read rules file: /lib64/udev/rules.d/77-nm-olpc-mesh.rules
read rules file: /lib64/udev/rules.d/78-sound-card.rules
read rules file: /lib64/udev/rules.d/80-drivers.rules
read rules file: /lib64/udev/rules.d/80-net-name-slot.rules
read rules file: /lib64/udev/rules.d/80-udisks2.rules
read rules file: /lib64/udev/rules.d/85-regulatory.rules
read rules file: /lib64/udev/rules.d/90-alsa-restore.rules
read rules file: /lib64/udev/rules.d/90-network.rules
read rules file: /lib64/udev/rules.d/90-pulseaudio.rules
read rules file: /lib64/udev/rules.d/95-udev-late.rules
read rules file: /lib64/udev/rules.d/95-upower-battery-recall-dell.rules
read rules file: /lib64/udev/rules.d/95-upower-battery-recall-fujitsu.rules
read rules file: /lib64/udev/rules.d/95-upower-battery-recall-gateway.rules
read rules file: /lib64/udev/rules.d/95-upower-battery-recall-ibm.rules
read rules file: /lib64/udev/rules.d/95-upower-battery-recall-lenovo.rules
read rules file: /lib64/udev/rules.d/95-upower-battery-recall-toshiba.rules
read rules file: /lib64/udev/rules.d/95-upower-csr.rules
read rules file: /lib64/udev/rules.d/95-upower-hid.rules
read rules file: /lib64/udev/rules.d/95-upower-wup.rules
read rules file: /lib64/udev/rules.d/99-nvidia.rules
read rules file: /lib64/udev/rules.d/99-systemd.rules
rules contain 196608 bytes tokens (16384 * 12 bytes), 19764 bytes strings
19051 strings (154662 bytes), 17111 de-duplicated (136839 bytes), 1941 trie nodes used
set children_max to 16


edit3 : c'est normal que je n'ai pas de polkit.service dans /usr/lib/systemd/systemd ?

Quote:

kbu kbu # /usr/lib/systemd/systemd
systemd systemd-binfmt systemd-fsck systemd-localed systemd-multi-seat-x systemd-remount-fs systemd-sleep systemd-update-utmp
systemd-ac-power systemd-bootchart systemd-hostnamed systemd-logind systemd-quotacheck systemd-reply-password systemd-sysctl systemd-user-sessions
systemd-activate systemd-cgroups-agent systemd-initctl systemd-machined systemd-random-seed systemd-shutdown systemd-timedated systemd-vconsole-setup
systemd-backlight systemd-coredump systemd-journald systemd-modules-load systemd-readahead systemd-shutdownd systemd-udevd


edit4:
Quote:

kbu kbu # polkitd
bash: polkitd : commande introuvable
kbu kbu # updatedb
kbu kbu # locate polkitd
/usr/include/polkit-1/polkit/polkitdetails.h
/usr/lib64/polkit-1/polkitd
/usr/share/man/man8/polkitd.8.bz2


pourtant le paquet semble bien installé:
Quote:
[ebuild R ] sys-auth/polkit-0.112-r1 USE="introspection kde nls pam systemd -examples -gtk (-selinux)" 0 kB


hum hum...
Back to top
View user's profile Send private message
SirRobin2318
Apprentice
Apprentice


Joined: 24 Apr 2004
Posts: 233
Location: Strasbourg, france.

PostPosted: Fri Feb 28, 2014 3:02 pm    Post subject: Reply with quote

C'est bizarre, j'ai pas eu à l'installer à la main. tu peux me donner emerge --info, je voudrais jeter un coup d'oeil à tes use flags.
Back to top
View user's profile Send private message
gaga
Apprentice
Apprentice


Joined: 27 Apr 2005
Posts: 288

PostPosted: Fri Feb 28, 2014 3:03 pm    Post subject: Reply with quote

SirRobin2318 wrote:
C'est bizarre, j'ai pas eu à l'installer à la main. tu peux me donner emerge --info, je voudrais jeter un coup d'oeil à tes use flags.



Voila le dernier :
Quote:
# emerge --info
Portage 2.2.7 (default/linux/amd64/13.0/desktop/kde/systemd, gcc-4.7.3, glibc-2.17, 3.10.25-gentoo x86_64)
=================================================================
System uname: Linux-3.10.25-gentoo-x86_64-Intel-R-_Core-TM-_i5-2540M_CPU_@_2.60GHz-with-gentoo-2.2
KiB Mem: 16377908 total, 15292476 free
KiB Swap: 7815584 total, 7815584 free
Timestamp of tree: Thu, 27 Feb 2014 14:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash: 4.2_p45
dev-lang/python: 2.7.5-r3, 3.3.3
dev-util/cmake: 2.8.11.2
dev-util/pkgconfig: 0.28
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.12.4
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils: 2.23.2
sys-devel/gcc: 4.7.3-r1
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4.2
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc: 2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -pipe "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O3 -pipe "
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://192.168.10.253/mirror/gentoo/"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-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=""
USE="X a52 aac aacplus acl acpi alsa amd64 avahi bbswitch berkdb bluetooth branding bzip2 cairo cdda cddb cdr cli cracklib crypt cups cxx dbus declarative dhcpcd dri dts dvb dvd dvdr emboss encode equalizer exif faac fam ffmpeg fftw firefox flac fortran gd gdbm gif gpm iconv ieee1394 ipv6 jack jpeg jpeg2k kde kipi lcms ldap libass libcaca libnotify mad matroska melt mmx mng modules mozilla mp3 mp4 mpeg mtp multilib multimedia musepack ncurses nls nptl ogg opengl openmp openssl p2p pam pango pcre pdf phonon plasma png policykit ppds pulseaudio pyqt4 qt3support qt4 readline resolvconf samba sdl semantic-desktop session spell sqlite sse sse2 sse3 sse4 sse4_2 ssl ssse3 startup-notification svg systemd tcpd theora threads tiff truetype udev udisks unicode upower usb v4l valgrind vdpau vorbis wavpack wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ublox ubx" INPUT_DEVICES="synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="intel nvidia" 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, SYNC, USE_PYTHON



Merci beaucoup pour ton aide... j'ai au moins l'impression d'avoir un truc à chercher ;)

edit : pourquoi j'ai openrc d'installer sachant que j'ai systemd ??

Quote:
# emerge -pv sys-apps/openrc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] sys-apps/openrc-0.12.4 USE="ncurses netifrc pam unicode -debug -newnet (-prefix) (-selinux) -static-libs -tools" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

* IMPORTANT: 2 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

kbu kbu # equery b sys-apps/openrc
* Searching for sys-apps/openrc ...
kbu kbu #


Je peux le supprimer ?
Back to top
View user's profile Send private message
SirRobin2318
Apprentice
Apprentice


Joined: 24 Apr 2004
Posts: 233
Location: Strasbourg, france.

PostPosted: Fri Feb 28, 2014 4:00 pm    Post subject: Reply with quote

Ne le supprime pas pour l'instant, c'est pas recommandé par la doc gentoo. Il apporte peut etre des fichiers de confs et cie qui pourraient être utilisés. Donc on inspectera ça plus tard, pour l'instant on essaie de rendre ton système plus stable, après on pourra le casser à nouveau :)

Je viens de rentrer, je vais voir si je trouve des choses à creuser dans ce que tu as posté.
Back to top
View user's profile Send private message
gaga
Apprentice
Apprentice


Joined: 27 Apr 2005
Posts: 288

PostPosted: Fri Feb 28, 2014 4:07 pm    Post subject: Reply with quote

C'est sympa de te pencher sur mon cas. Merci.

Je trouve dommage que j'en sois là : j'ai l'impression d'avoir fait une install plutôt classique, que je suis très proche d'y arriver.... et ça fait plusieurs jours que je suis coincé. Heureusement que je n'ai pas eu besoin urgemment de mon PC, sinon bonjour la galère....
Back to top
View user's profile Send private message
SirRobin2318
Apprentice
Apprentice


Joined: 24 Apr 2004
Posts: 233
Location: Strasbourg, france.

PostPosted: Fri Feb 28, 2014 4:17 pm    Post subject: Reply with quote

Oui, c'est frustrant, mais il faut être un peu masochiste pour utiliser gentoo dans tous les cas :)
En fait, le handbook gentoo ne documente rien sur systemd, c'est une histoire de politique, ils veulent pas l'imposer. Du coup, les gens finissent avec des installations batardes mélangeant ce qu'il fallait faire pour gentoo sans systemd et avec systemd.

Bref, les docs finiront par se stabiliser...

En attendant, rajoute à tes use flags : systemd-units, et emerge -uDNa @world.
C'est la seule chose que j'ai trouvé manquante dans tes use flags, on va déjà voir si ça change quelque chose.
Back to top
View user's profile Send private message
SirRobin2318
Apprentice
Apprentice


Joined: 24 Apr 2004
Posts: 233
Location: Strasbourg, france.

PostPosted: Fri Feb 28, 2014 4:24 pm    Post subject: Reply with quote

Et non c'est pas normal qu'il manque /usr/lib/systemd/system/polkit.service, avec un peu de chance ça sera apporté par le use flag systemd-units.
Back to top
View user's profile Send private message
gaga
Apprentice
Apprentice


Joined: 27 Apr 2005
Posts: 288

PostPosted: Fri Feb 28, 2014 4:27 pm    Post subject: Reply with quote

En fait j'utilise systemd car je viens de quelques années de fedora et que c'était systemd chez eux... je sais que ça a été un peu poussé par RH, mais bon, mais je commence à regretter un peu openrc je t'avoue :s


Quote:

# emerge -uDNa @world

* IMPORTANT: 2 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] sys-auth/consolekit-0.4.6 USE="systemd-units*"


emerge en cours...
Back to top
View user's profile Send private message
gaga
Apprentice
Apprentice


Joined: 27 Apr 2005
Posts: 288

PostPosted: Fri Feb 28, 2014 4:36 pm    Post subject: Reply with quote

SirRobin2318 wrote:
Et non c'est pas normal qu'il manque /usr/lib/systemd/system/polkit.service, avec un peu de chance ça sera apporté par le use flag systemd-units.


ça y est il existe :
Quote:
# ls -l /usr/lib/systemd/system/polkit.service
-rw-r--r-- 1 root root 172 24 févr. 19:16 /usr/lib/systemd/system/polkit.service


mais toujours pas de polkit fonctionnel :
Quote:
# systemctl status polkit.service
polkit.service - Authorization Manager
Loaded: loaded (/usr/lib64/systemd/system/polkit.service; static)
Active: inactive (dead)
Docs: man:polkit(8)


kdm.log tjrs pareil :
Quote:
Loading extension GLX
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
> Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
klauncher(2344) kdemain: No DBUS session-bus found. Check if you have started the DBUS server.
kdeinit4: Communication error with launcher. Exiting!
kdmgreet(2338)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed: "Not connected to D-Bus server"

kdmgreet(2338)/kdecore (K*TimeZone*): No time zone information obtained from ktimezoned


journalctl -b -p err
Quote:
# journalctl -b -p err
-- Logs begin at mer. 2014-02-26 22:02:53 CET, end at ven. 2014-02-28 18:34:44 CET. --
févr. 28 18:34:11 kbu kernel: usb 1-1.2.1.1.1: dvb_usb_v2: Did not find the firmware file 'dvb-usb-it9135-01.fw'. Please see linux/Documentation/dvb/ for more details on firmware-problems. Status -2
févr. 28 18:34:11 kbu systemd-udevd[2071]: error: can not open '/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1.1/1-1.2.1.1.1/firmware/dvb-usb-it9135-01.fw/loading'
févr. 28 18:34:24 kbu kernel: iwlwifi 0000:03:00.0: request for firmware file 'iwlwifi-6000-4.ucode' failed.
févr. 28 18:34:24 kbu kernel: iwlwifi 0000:03:00.0: no suitable firmware found!


journalctl -b -p warning
Quote:
févr. 28 18:34:10 kbu kernel: ACPI: Enabled 2 GPEs in block 00 to 3F
févr. 28 18:34:10 kbu kernel: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
févr. 28 18:34:10 kbu kernel: i8k: unable to get SMM BIOS version
févr. 28 18:34:10 kbu kernel: i8042: Warning: Keylock active
févr. 28 18:34:10 kbu kernel: ACPI Warning: 0x0000000000005040-0x000000000000505f SystemIO conflicts with Region \_SB_.PCI0.SBUS.SMBI 1 (20130328/utaddress-251)
févr. 28 18:34:10 kbu kernel: sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
févr. 28 18:34:10 kbu kernel: kworker/u32:5 (1270) used greatest stack depth: 5048 bytes left
févr. 28 18:34:10 kbu kernel: usb 2-1.8: config 0 descriptor??
févr. 28 18:34:10 kbu kernel: systemd-getty-g (1288) used greatest stack depth: 4424 bytes left
févr. 28 18:34:10 kbu kernel: udevadm (1534) used greatest stack depth: 4272 bytes left
févr. 28 18:34:11 kbu kernel: usb 1-1.2.1.1.1: dvb_usb_v2: Did not find the firmware file 'dvb-usb-it9135-01.fw'. Please see linux/Documentation/dvb/ for more details on firmware-problems. Status -2
févr. 28 18:34:11 kbu systemd-udevd[2071]: error: can not open '/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1.1/1-1.2.1.1.1/firmware/dvb-usb-it9135-01.fw/loading'
févr. 28 18:34:24 kbu kernel: iwlwifi 0000:03:00.0: request for firmware file 'iwlwifi-6000-4.ucode' failed.
févr. 28 18:34:24 kbu kernel: iwlwifi 0000:03:00.0: no suitable firmware found!
févr. 28 18:34:24 kbu kernel: nvidia: module license 'NVIDIA' taints kernel.
févr. 28 18:34:24 kbu kernel: Disabling lock debugging due to kernel taint
févr. 28 18:34:24 kbu kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 331.38 Wed Jan 8 19:32:30 PST 2014
févr. 28 18:34:24 kbu kernel: nvidia-smi (2138) used greatest stack depth: 3504 bytes left
févr. 28 18:34:29 kbu dhcpcd[2207]: no interfaces have a carrier
févr. 28 18:34:42 kbu dhcpcd[2207]: eno1: no IPv6 Routers available
févr. 28 18:34:44 kbu systemd[2388]: Failed to open private bus connection: Failed to connect to socket /run/user/0/dbus/user_bus_socket: No such file or directory => normal ça ?


Quote:
# ps -uax | grep polkit
root 2404 0.0 0.0 112532 996 pts/0 S+ 18:36 0:00 grep --colour=auto polkit
Back to top
View user's profile Send private message
SirRobin2318
Apprentice
Apprentice


Joined: 24 Apr 2004
Posts: 233
Location: Strasbourg, france.

PostPosted: Fri Feb 28, 2014 4:40 pm    Post subject: Reply with quote

Attends mais t'es pas supposé avoir consolekit...
Tu l'as installé à la main ? est ce qu'il est dans ton fichier world ?

Du coup t'as surement un conflit entre logind (de systemd) et consolekit. Essaie de le virer pour voir ?
Back to top
View user's profile Send private message
gaga
Apprentice
Apprentice


Joined: 27 Apr 2005
Posts: 288

PostPosted: Fri Feb 28, 2014 4:46 pm    Post subject: Reply with quote

je l'ai supprimé et c'est toujours pareil... non je ne me souviens pas l'avoir installé à la main...

Last edited by gaga on Fri Feb 28, 2014 4:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
SirRobin2318
Apprentice
Apprentice


Joined: 24 Apr 2004
Posts: 233
Location: Strasbourg, france.

PostPosted: Fri Feb 28, 2014 4:47 pm    Post subject: Reply with quote

Ah, dans les autres pièges à con dans catégorie gentoo-systemd, vérifie que t'as bien:
Code:
-session        optional        pam_systemd.so

à la fin de /etc/pam.d/system-auth
Back to top
View user's profile Send private message
gaga
Apprentice
Apprentice


Joined: 27 Apr 2005
Posts: 288

PostPosted: Fri Feb 28, 2014 4:50 pm    Post subject: Reply with quote

non, c'est bon, la ligne y est... j’avais même testé en enlevant le "-" et c'est pareil...

Quote:
# cat /etc/pam.d/system-auth
auth required pam_env.so
auth required pam_unix.so try_first_pass likeauth nullok
auth optional pam_permit.so

account required pam_unix.so
account optional pam_permit.so

password required pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 retry=3
password required pam_unix.so try_first_pass use_authtok nullok sha512 shadow
password optional pam_permit.so

session required pam_limits.so
session required pam_env.so
session required pam_unix.so
session optional pam_permit.so
-session optional pam_systemd.so
Back to top
View user's profile Send private message
SirRobin2318
Apprentice
Apprentice


Joined: 24 Apr 2004
Posts: 233
Location: Strasbourg, france.

PostPosted: Fri Feb 28, 2014 4:54 pm    Post subject: Reply with quote

Tu peux laisser le "-", c'est normal.
Ok, donne moi :
Code:
systemctl list-units --type=service
Back to top
View user's profile Send private message
gaga
Apprentice
Apprentice


Joined: 27 Apr 2005
Posts: 288

PostPosted: Fri Feb 28, 2014 4:55 pm    Post subject: Reply with quote

Quote:
# systemctl list-units --type=service
UNIT LOAD ACTIVE SUB DESCRIPTION
dbus.service loaded active running D-Bus System Message Bus
dhcpcd.service loaded active running Lightweight DHCP client daemon
gpm.service loaded active running Console Mouse manager
kdm.service loaded active running KDM Display Manager
kmod-static-nodes.service loaded active exited Create list of required static device nodes for the current kernel
sshd.service loaded active running OpenSSH server daemon
syslog-ng.service loaded active running System Logger Daemon
systemd-backlight@acpi_video0.service loaded active exited Load/Save Screen Backlight Brightness of acpi_video0
systemd-backlight@acpi_video1.service loaded active exited Load/Save Screen Backlight Brightness of acpi_video1
systemd-fsck-root.service loaded active exited File System Check on Root Device
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-random-seed.service loaded active exited Load/Save Random Seed
systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-tmpfiles-setup-dev.service loaded active exited Create static device nodes in /dev
systemd-tmpfiles-setup.service loaded active exited Recreate Volatile Files and Directories
systemd-udev-trigger.service loaded active exited udev Coldplug all Devices
systemd-udevd.service loaded active running udev Kernel Device Manager
systemd-update-utmp.service loaded active exited Update UTMP about System Reboot/Shutdown
systemd-user-sessions.service loaded active exited Permit User Sessions
systemd-vconsole-setup.service loaded active exited Setup Virtual Console
user@0.service loaded active running User Manager for 0

LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.

23 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.


dans le doute :

Quote:
# systemctl list-units --type=service --all
UNIT LOAD ACTIVE SUB DESCRIPTION
alsa-restore.service loaded inactive dead Restore Sound Card State
alsa-state.service loaded inactive dead Manage Sound Card State (restore and store)
alsa-store.service loaded inactive dead Store Sound Card State
auditd.service not-found inactive dead auditd.service
cups.service loaded inactive dead CUPS Printing Service
dbus.service loaded active running D-Bus System Message Bus
dhcpcd.service loaded active running Lightweight DHCP client daemon
emergency.service loaded inactive dead Emergency Shell
getty@tty1.service loaded inactive dead Getty on tty1
gpm.service loaded active running Console Mouse manager
kdm.service loaded active running KDM Display Manager
kmod-static-nodes.service loaded active exited Create list of required static device nodes for the current kernel
plymouth-quit-wait.service not-found inactive dead plymouth-quit-wait.service
plymouth-quit.service not-found inactive dead plymouth-quit.service
plymouth-start.service not-found inactive dead plymouth-start.service
rescue.service loaded inactive dead Rescue Shell
sshd.service loaded active running OpenSSH server daemon
syslog-ng.service loaded active running System Logger Daemon
systemd-ask-password-console.service loaded inactive dead Dispatch Password Requests to Console
systemd-ask-password-wall.service loaded inactive dead Forward Password Requests to Wall
systemd-backlight@acpi_video0.service loaded active exited Load/Save Screen Backlight Brightness of acpi_video0
systemd-backlight@acpi_video1.service loaded active exited Load/Save Screen Backlight Brightness of acpi_video1
systemd-binfmt.service loaded inactive dead Set Up Additional Binary Formats
systemd-fsck-root.service loaded active exited File System Check on Root Device
systemd-initctl.service loaded inactive dead /dev/initctl Compatibility Daemon
systemd-journal-flush.service loaded inactive dead Trigger Flushing of Journal to Persistent Storage
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-modules-load.service loaded inactive dead Load Kernel Modules
systemd-random-seed.service loaded active exited Load/Save Random Seed
systemd-readahead-collect.service loaded inactive dead Collect Read-Ahead Data
systemd-readahead-done.service loaded inactive dead Stop Read-Ahead Data Collection
systemd-readahead-replay.service loaded inactive dead Replay Read-Ahead Data
systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
systemd-shutdownd.service loaded inactive dead Delayed Shutdown Service
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-tmpfiles-clean.service loaded inactive dead Cleanup of Temporary Directories
systemd-tmpfiles-setup-dev.service loaded active exited Create static device nodes in /dev
systemd-tmpfiles-setup.service loaded active exited Recreate Volatile Files and Directories
systemd-udev-trigger.service loaded active exited udev Coldplug all Devices
systemd-udevd.service loaded active running udev Kernel Device Manager
systemd-update-utmp.service loaded active exited Update UTMP about System Reboot/Shutdown
systemd-user-sessions.service loaded active exited Permit User Sessions
systemd-vconsole-setup.service loaded active exited Setup Virtual Console
user@0.service loaded active running User Manager for 0

LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.

45 loaded units listed.
To show all installed unit files use 'systemctl list-unit-files'.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum