GNOME Bugzilla – Bug 333044
user-at-console check is wrong
Last modified: 2006-03-01 21:35:07 UTC
Please describe the problem: My gnome-volume-manager was exiting during startup without any apparent reason. Debugging showed nothing. But with strace I've found: 30024 access("/var/run/console/zdzichu", F_OK) = -1 ENOENT (No such file or directory) there is no such file on Slackware system. After changing gvm_user_at_console() to always return TRUE, GVM initializes and runs as daemon. So this check has to be either reworked or made optional. Also, I suggest someting along --- manager.c 2006-03-01 21:49:51.000000000 +0100 +++ manager.c.2 2006-03-01 21:51:52.000000000 +0100 @@ -3020,8 +3020,11 @@ gnome_client_set_restart_style (client, GNOME_RESTART_ANYWAY); } else { gnome_client_set_restart_style (client, GNOME_RESTART_NEVER); - if (gvm_user_at_console ()) + if (gvm_user_at_console ()) { warn ("already running"); + } else { + warn ("user at console check failed"); + } return 1; } to make debugging easier. Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information: gnome-volume-manager-1.5.14
*** Bug 333045 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 331689 ***