MISE À JOUR - Le retrait de mon dongle wifi USB semble résoudre le problème. Il en va de même de la désactivation de la mise en réseau (mais pas de la désactivation du wifi uniquement). Maintenant quoi?
UPDATE 2 - La commande 'uptime' indique qu'il y a 2 utilisateurs connectés. Cela provoquera sûrement le comportement que je décris. Je vais fouiller et voir si je peux déterminer qui est l'autre utilisateur. Peu importe, cela était uniquement dû au terminal que j'avais ouvert sur le bureau.
Si je me connecte à un compte, choisir «arrêter» ou redémarrer m'amène à l'accueil. La même chose se produit dans le greeter lui-même - je suis resté là. Aucun autre utilisateur n'est connecté.
Si je ne me connecte pas à un compte après le redémarrage, les options du menu de redémarrage et d'arrêt dans l'accueil fonctionneront si je les choisis immédiatement après l'apparition de l'accueil. Voir un diagramme de démarrage de ceci ici: https://www.dropbox.com/s/ufb7s6ykvlbkjxj/jarlath-EP35-DS3-precise-20130116-3.png
Si j'attends 5 secondes ou que je me connecte à un compte d'utilisateur, cela ne fonctionnera pas. J'ai testé cela plusieurs fois. Voir un diagramme de démarrage de ceci (connecté en tant qu'utilisateur): https://www.dropbox.com/s/yx6jgoo2c7fy6pp/jarlath-EP35-DS3-precise-20130116-4.png
sudo -halt et sudo reboot fonctionnent tous les deux comme ils le devraient cependant.
J'ai sorti tous les processus à partir d'un compte connecté (ps -A) et les ai laissés ici: www.pastebin.com/e3WHtHYm
Je suppose que c'est une mise à jour, quelque chose de nouveau du centre logiciel (peu probable car je n'ai rien installé à l'époque) ou une commande de terminal que j'ai émise est à l'origine de cela. Voici mon .bash_history bien avant le début du problème: pastebin.com/1DE5Tcd3
Mon noyau est 3.2.0-35, j'ai également essayé de démarrer des noyaux plus anciens:
- 3.2.0-32, 31, 30, 29, 26, 25, 24, 23, 22 -> Aucune différence
Selon les suggestions du bug https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/838792, j'ai essayé:
- Greped mon /etc/init.d pour les services utilisant su et supprimé 1 (ClamAV).
- Killed PulseAudio
Aucun de ces éléments n'a aidé. Un peu plus de contexte ci-dessous;
jarlath@jarlath-EP35-DS3:~$ cat /etc/polkit-1/localauthority.conf.d/51-ubuntu-admin.conf
[Configuration]
AdminIdentities=unix-group:sudo;unix-group:admin
jarlath@jarlath-EP35-DS3:~$ groups
jarlath adm cdrom sudo dip plugdev lpadmin sambashare vboxusers movies
De Logviewer, voici la sortie qui est générée au moment où j'essaie de fermer à partir du menu utilisateur:
auth.log
Feb 28 15:39:01 jarlath-EP35-DS3 CRON[15249]: pam_unix(cron:session): session opened for user root by (uid=0)
Feb 28 15:39:01 jarlath-EP35-DS3 CRON[15249]: pam_unix(cron:session): session closed for user root
Feb 28 15:39:16 jarlath-EP35-DS3 polkitd(authority=local): Unregistered Authentication Agent for unix-session:/org/freedesktop/ConsoleKit/Session6 (system bus name :1.114, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Feb 28 15:39:19 jarlath-EP35-DS3 lightdm: pam_unix(lightdm:session): session closed for user jarlath
Feb 28 15:39:22 jarlath-EP35-DS3 lightdm: pam_unix(lightdm:session): session opened for user lightdm by (uid=0)
Feb 28 15:39:22 jarlath-EP35-DS3 lightdm: pam_ck_connector(lightdm:session): nox11 mode, ignoring PAM_TTY :0
Feb 28 15:39:25 jarlath-EP35-DS3 lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "jarlath"
Feb 28 15:39:26 jarlath-EP35-DS3 dbus[580]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.184" (uid=104 pid=15385 comm="/usr/lib/indicator-datetime/indicator-datetime-ser") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.15" (uid=0 pid=1438 comm="/usr/sbin/console-kit-daemon --no-daemon ")
Feb 28 15:39:30 jarlath-EP35-DS3 lightdm: pam_unix(lightdm:session): session closed for user lightdm
Feb 28 15:39:30 jarlath-EP35-DS3 lightdm: pam_unix(lightdm:session): session opened for user jarlath by (uid=0)
Feb 28 15:39:30 jarlath-EP35-DS3 lightdm: pam_ck_connector(lightdm:session): nox11 mode, ignoring PAM_TTY :0
Feb 28 15:39:34 jarlath-EP35-DS3 polkitd(authority=local): Registered Authentication Agent for unix-session:/org/freedesktop/ConsoleKit/Session9 (system bus name :1.198 [/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1], object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Feb 28 15:39:45 jarlath-EP35-DS3 dbus[580]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.208" (uid=1000 pid=15640 comm="/usr/lib/indicator-datetime/indicator-datetime-ser") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.15" (uid=0 pid=1438 comm="/usr/sbin/console-kit-daemon --no-daemon ")
syslog
Feb 28 15:39:01 jarlath-EP35-DS3 CRON[15250]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
Feb 28 15:39:16 jarlath-EP35-DS3 gnome-session[3479]: WARNING: Unable to load desktop file '/usr/bin/everpad.desktop': No such file or directory
Feb 28 15:39:16 jarlath-EP35-DS3 gnome-session[3479]: EggSMClient-WARNING: Desktop file '/usr/share/applications/everpad.desktop' has malformed Icon key 'everpad.png'(should not include extension)
Feb 28 15:39:16 jarlath-EP35-DS3 gnome-session[3479]: WARNING: Unable to find desktop file 'Transmission BitTorrent Client.desktop': Valid key file could not be found in search dirs
Feb 28 15:39:16 jarlath-EP35-DS3 gnome-session[3479]: WARNING: Unable to find desktop file 'gnome-Transmission BitTorrent Client.desktop': Valid key file could not be found in search dirs
Feb 28 15:39:18 jarlath-EP35-DS3 gnome-session[3479]: WARNING: Unable to stop system: Authorization is required
Feb 28 15:39:20 jarlath-EP35-DS3 NetworkManager[1173]: <warn> error requesting auth for org.freedesktop.NetworkManager.sleep-wake: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.126': no such name
Feb 28 15:39:20 jarlath-EP35-DS3 NetworkManager[1173]: <warn> error requesting auth for org.freedesktop.NetworkManager.enable-disable-wifi: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.126': no such name
Feb 28 15:39:20 jarlath-EP35-DS3 NetworkManager[1173]: <warn> error requesting auth for org.freedesktop.NetworkManager.enable-disable-wwan: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.126': no such name
Feb 28 15:39:20 jarlath-EP35-DS3 NetworkManager[1173]: <warn> error requesting auth for org.freedesktop.NetworkManager.enable-disable-wimax: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.126': no such name
Feb 28 15:39:20 jarlath-EP35-DS3 NetworkManager[1173]: <warn> error requesting auth for org.freedesktop.NetworkManager.network-control: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.126': no such name
Feb 28 15:39:20 jarlath-EP35-DS3 NetworkManager[1173]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.protected: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.126': no such name
Feb 28 15:39:20 jarlath-EP35-DS3 NetworkManager[1173]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.open: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.126': no such name
Feb 28 15:39:20 jarlath-EP35-DS3 NetworkManager[1173]: <warn> error requesting auth for org.freedesktop.NetworkManager.settings.modify.system: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.126': no such name
Feb 28 15:39:20 jarlath-EP35-DS3 NetworkManager[1173]: <warn> error requesting auth for org.freedesktop.NetworkManager.settings.modify.own: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.126': no such name
Feb 28 15:39:20 jarlath-EP35-DS3 NetworkManager[1173]: <warn> error requesting auth for org.freedesktop.NetworkManager.settings.modify.hostname: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.126': no such name
Feb 28 15:39:21 jarlath-EP35-DS3 acpid: client 3292[0:0] has disconnected
Feb 28 15:39:21 jarlath-EP35-DS3 acpid: client 3292[0:0] has disconnected
Feb 28 15:39:21 jarlath-EP35-DS3 acpid: client connected from 15280[0:0]
Feb 28 15:39:21 jarlath-EP35-DS3 acpid: 1 client rule loaded
Feb 28 15:39:22 jarlath-EP35-DS3 acpid: client connected from 15280[0:0]
Feb 28 15:39:22 jarlath-EP35-DS3 acpid: 1 client rule loaded
Feb 28 15:39:26 jarlath-EP35-DS3 rtkit-daemon[2276]: Successfully made thread 15412 of process 15412 (n/a) owned by '104' high priority at nice level -11.
Feb 28 15:39:26 jarlath-EP35-DS3 rtkit-daemon[2276]: Supervising 7 threads of 2 processes of 2 users.
Feb 28 15:39:27 jarlath-EP35-DS3 rtkit-daemon[2276]: Successfully made thread 15416 of process 15412 (n/a) owned by '104' RT at priority 5.
Feb 28 15:39:27 jarlath-EP35-DS3 rtkit-daemon[2276]: Supervising 8 threads of 2 processes of 2 users.
Feb 28 15:39:27 jarlath-EP35-DS3 rtkit-daemon[2276]: Successfully made thread 15417 of process 15412 (n/a) owned by '104' RT at priority 5.
Feb 28 15:39:27 jarlath-EP35-DS3 rtkit-daemon[2276]: Supervising 9 threads of 2 processes of 2 users.
Feb 28 15:39:27 jarlath-EP35-DS3 rtkit-daemon[2276]: Successfully made thread 15418 of process 15412 (n/a) owned by '104' RT at priority 5.
Feb 28 15:39:27 jarlath-EP35-DS3 rtkit-daemon[2276]: Supervising 10 threads of 2 processes of 2 users.
Feb 28 15:39:27 jarlath-EP35-DS3 rtkit-daemon[2276]: Successfully made thread 15419 of process 15412 (n/a) owned by '104' RT at priority 5.
Feb 28 15:39:27 jarlath-EP35-DS3 rtkit-daemon[2276]: Supervising 11 threads of 2 processes of 2 users.
Feb 28 15:39:27 jarlath-EP35-DS3 rtkit-daemon[2276]: Successfully made thread 15420 of process 15412 (n/a) owned by '104' RT at priority 5.
Feb 28 15:39:27 jarlath-EP35-DS3 rtkit-daemon[2276]: Supervising 12 threads of 2 processes of 2 users.
Feb 28 15:39:31 jarlath-EP35-DS3 gnome-session[15446]: EggSMClient-WARNING: Desktop file '/home/jarlath/.config/autostart/everpad.desktop' has malformed Icon key 'everpad.png'(should not include extension)
Feb 28 15:39:36 jarlath-EP35-DS3 goa[15570]: goa-daemon version 3.4.0 starting [main.c:112, main()]
Feb 28 15:40:45 jarlath-EP35-DS3 dbus[580]: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
Feb 28 15:40:45 jarlath-EP35-DS3 AptDaemon: INFO: Initializing daemon
Feb 28 15:40:45 jarlath-EP35-DS3 AptDaemon.PackageKit: INFO: Initializing PackageKit compat layer
Feb 28 15:40:45 jarlath-EP35-DS3 dbus[580]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Feb 28 15:40:45 jarlath-EP35-DS3 AptDaemon.PackageKit: INFO: Initializing PackageKit transaction
Feb 28 15:40:45 jarlath-EP35-DS3 AptDaemon.Worker: INFO: Simulating trans: /org/debian/apt/transaction/dcf18c7d7f2c412a82d3288c2df8c094
Feb 28 15:40:45 jarlath-EP35-DS3 AptDaemon.Worker: INFO: Processing transaction /org/debian/apt/transaction/dcf18c7d7f2c412a82d3288c2df8c094
Feb 28 15:40:46 jarlath-EP35-DS3 AptDaemon.PackageKit: INFO: Get updates()
Feb 28 15:40:46 jarlath-EP35-DS3 AptDaemon.Worker: INFO: Finished transaction /org/debian/apt/transaction/dcf18c7d7f2c412a82d3288c2df8c094
Solution: j'ai trouvé une solution. Je ne l'utilise pas comme réponse car il n'identifie pas la cause profonde, mais pour ceux qui sont satisfaits d'une solution pour eux-mêmes, ils devraient essayer ce conseil de grendndelman.net
Créez un fichier nommé /etc/polkit-1/localauthority/50-local.d/usershutdown.pkla (le nom doit se terminer par .pkla) et mettez-y ce qui suit:
[Allow Shutdown]
Identity=unix-user:*
Action=org.freedesktop.consolekit.system.stop-multiple-users
ResultAny=yes
ResultInactive=yes
ResultActive=yes
[Allow Restart]
Identity=unix-user:*
Action=org.freedesktop.consolekit.system.restart-multiple-users
ResultAny=yes
ResultInactive=yes
ResultActive=yes