[Bug 681078] New: After zypper dup to 11.4 , most of the (graphical) YaST modules do not start via YaST on GNOME - yast2-control-center-gnome
https://bugzilla.novell.com/show_bug.cgi?id=681078 https://bugzilla.novell.com/show_bug.cgi?id=681078#c0 Summary: After zypper dup to 11.4 , most of the (graphical) YaST modules do not start via YaST on GNOME - yast2-control-center-gnome Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: i686 OS/Version: SuSE Other Status: NEW Severity: Major Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Martin.Seidler@web.de QAContact: jsrain@novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:2.0b12) Gecko/20110222 Firefox/4.0b12 I had been using 11.4 as factory-tested until November/December. After switching form to the 'real' 11.4 via zypper dup and zypper ref, most of the (graphical) YaST modules are not startable via graphical YaST>[YaST Module] But the problem seems to me only the starting in that way. E. g. I could use the module "Software Repositories" if I start it via Main Menue ("Computer") > "Install/Remove Software"=Software Mangager > \/[Repositories] > Edit Repositories But the YaST modules itself seem to be working if I start them directly via gnomesu [name of the YaST module] like gnomesu /sbin/yast2 sw_single. But not working is the start of the modules from the YaST2 Control Center just the waiting symbole is to be seen. The YaST module in KDE or LXDE is working without problems. Reproducible: Always Steps to Reproduce: 0. Upgrade to openSUSE 11.4 (from 11.4 RC or other users from 11.3) 1. Start the YaST2 Control Center (graphical or via console) 2. Click on a YaST module (like the Software Manager) Actual Results: The waiting symbol appears and disapears. Expected Results: The YaST module starts (like software manager) See: http://forums.opensuse.org/english/get-technical-help-here/pre-release-beta/... http://lists.opensuse.org/opensuse-factory/2011-03/msg00511.html -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c1
Ricardo Cruz
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c2
Martin Seidler
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c3
--- Comment #3 from Martin Seidler
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c4
--- Comment #4 from Martin Seidler
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c5
Martin Seidler
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c6
Ricardo Cruz
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c7
--- Comment #7 from Ricardo Cruz
Probably not related, but there are a few yast2 crashes reported in /YaST2/signal over the logs file. They seem to be related to the software manager. Martin, if you can (still) reproduce them, please let me know. Thanks Ricardo for your question(s). I think the old YaST2 crashes were related to crash in the Milestone Phase in
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c8
--- Comment #8 from Martin Seidler
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c9
--- Comment #9 from Martin Seidler
Thanks, Martin. Just wanted to be sure that wasn't an artefact from using gnomesu, or some such.
This is definitively some problem with yast2-control-center-gnome. Let's set the Component to Gnome, where the maintainers of that tool hang out... Thanks for changing that. And if would be (also) related to the gnomesu program (in contrast to e. g. kdesu or gksu/gksudo or a policykit solution) there may be people in the GNOME team or a Base system team that know how to deal best with the user rights/privileges management system in openSUSE's GNOME, too.
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c10
--- Comment #10 from Martin Seidler
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c11
Ricardo Cruz
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c12
Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c13
Martin Seidler
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c14
Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c15
Martin Seidler
The issue I can see is that desktop files for yast have "X-KDE-RootOnly=true" and also specify xdg-su in the Exec line. Which means we use both gnomesu and xdg-su (which will call gnomesu...).
Can you try editing /usr/share/applications/YaST2/firewall.desktop and remove the "X-KDE-RootOnly=true" line, done, now /usr/share/applications/YaST2/firewall.desktop :
[Desktop Entry] X-SuSE-translate=true X-SuSE-DocTeamID=ycc_firewall Type=Application Categories=Settings;System;Qt;X-SuSE-YaST;X-SuSE-YaST-Security; X-KDE-ModuleType=Library X-KDE-HasReadOnlyMode=true X-KDE-Library=yast2 X-SuSE-YaST-Call=firewall X-SuSE-YaST-Group=Security X-SuSE-YaST-Argument= X-SuSE-YaST-RootOnly=true X-SuSE-YaST-AutoInst=all X-SuSE-YaST-Geometry= X-SuSE-YaST-SortKey= X-SuSE-YaST-AutoInstClonable=true X-SuSE-YaST-AutoInstRequires=lan X-SuSE-YaST-AutoInstSchema=firewall.rnc Icon=yast-firewall Exec=xdg-su -c "/sbin/yast2 firewall" Name=Firewall GenericName=Configure a firewall StartupNotify=true
and then see if you can start the firewall module correctly?
Not jet (if better after a restart of the desktop envioment/the system I will report again): [Code] ~> su - Password: [...] ~ # yast2 ** (y2controlcenter-gnome:12473): WARNING **: key not found [/apps/yast-control-center/cc_actions_list] [/Code] Clicked on the firewall symbol -> an window (title: "xdg-su /sbin/yast2 firewall (as superuser") ) with a to me unknown terminal emulator opens and says (hopefully correct - I cannot copy it): [CODE] Invalid MIT-MAGIC-COOKIE-1 key y2base:12628: Gtk-WARNING **: cannot open display: :0.0 [/CODE] So no great improvement jet. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c16
--- Comment #16 from Martin Seidler
(In reply to comment #14)
Not jet (if better after a restart of the desktop envioment/the system I will report again):
No change/improvement after restart. And the funny terminal like window appears not if I start graphically the yast control center and by this way the firewall yast module. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c17
Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c18
--- Comment #18 from Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c19
--- Comment #19 from Martin Seidler
Ok, and can you now remove the xdg-su at the beginning of the Exec line too? I hope it was meant in that way: Exec=xdg-su -c "/sbin/yast2 firewall" -> Exec=/sbin/yast2 firewall
2. After that I started yast2 via GNOME terminal: [CODE] ~ # yast2 ** (y2controlcenter-gnome:28084): WARNING **: key not found [/apps/yast-control-center/cc_actions_list] [/CODE] [I started the firewall yast module via the Yast Control Center edited the logging level, accepted so closed the module's window. Started again and edited the logging level back to "Logg Only Critical".Then I closed the YaST Control Center] [CODE] ~ # [/CODE] 3. Accordingly to 2. when I stared the YaST Control Center via the GNOME Main Menu. . -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c20
Martin Seidler
Alternatively, can you do this in a shell:
su - xdg-su -c xeyes
Seems not to work (if I understood that the expected result should be the openning of the eyes - I saw only a flickering like as a window was opened and closed just after that): ~> su - Password: linux-o7fu:~ # xdg-su -c xeyes linux-o7fu:~ # xdg-su -c xeyes linux-o7fu:~ # By the way: Is it normal/wished that there are now still not only the process gnomesu but also xdg-su waiting and sleeping (status in GNOME's System Monitor). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c21
--- Comment #21 from Vincent Untz
By the way: Is it normal/wished that there are now still not only the process gnomesu but also xdg-su waiting and sleeping (status in GNOME's System Monitor).
xdg-su calls gnomesu, so it's kind of expected (although unfortunate). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c22
Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c23
--- Comment #23 from Martin Seidler
I'm really confused now. Does this work fine?
su - xterm Besides that I do not know how to copy out of a xterm window it looks fine:
linux-abcd:~ # xterm gives a window with linux-abcd:~ # xterm [abcd is a substitute]
FWIW, I can't reproduce the issue locally, so I wonder if you have changed your security settings, your pam settings, or if you have any specific xauth configuration.
I do not recall to have done anything like that. I even to not know where alter my Pluggable Authentication Modules (PAM) or something with X Window authorization nor do I recall to have ever used xauth. The nearest to that would be that I have activated all the magic keys and notification for my default user. But as there are several users with the same problem in the forums it seemed to me not to be caused by an unusual/singular stupidity. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c
Martin Seidler
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c24
--- Comment #24 from Martin Seidler
Alternatively, can you do this in a shell:
su - xdg-su -c xeyes
By the way: As an normal user with xdg-su it does work: # exit logout user@linux-abcd:~> xdg-su -c xeyes [a window appears, I enter my root password, small brother is watching, I closed the xeyes window] user@linux-abcd:~> Why should root become root/get root privileges (again)? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c25
--- Comment #25 from Vincent Untz
(In reply to comment #22)
I'm really confused now. Does this work fine?
su - xterm Besides that I do not know how to copy out of a xterm window it looks fine:
Okay, I just don't understand now. xdg-su is simply calling xterm and there it seems it doesn't work. But if you do it manually, it does work. I think I'd really need to be able to reproduce to better debug that. Or someone can play with xdg-su (it's a shell script) to see what's the difference between what I asked here and xdg-su. If someone knows how to reproduce this issue from a fresh install, I'd welcome instructions...
But as there are several users with the same problem in the forums it seemed to me not to be caused by an unusual/singular stupidity.
Heh, it's not stupidity. But there's a difference somewhere between our systems, and I have no idea what this is... (In reply to comment #24)
Why should root become root/get root privileges (again)?
This is simply what yast does: you run the shell as root, and it executes the modules with xdg-su. So I was simply trying to reproduce the issue outside of yast. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c26
--- Comment #26 from Martin Seidler
FWIW, I can't reproduce the issue locally, so I wonder if you have changed your security settings, your pam settings, or if you have any specific xauth configuration.
Maybe you could make a guess / give me a hint where the usual and unusual suspects should be fould and I could add them as attachment or post them. If there might be any passwords or things like that in that data I would be happy to get a warning so I might be able to delete them before that. I in my amateurish view would presume that there is the possibility that I have some settings (made by default or maybe not intently by me) that has been working well with the pre-release versions (and for other users with the 11.3 versions) and are (because of a change before the Goldmaster release?) not working with the current programs. 2) Should I also/after that/alternativly try to update or downgrade any (xdg-related?) programs/packages to play a bit try and error (think I have already done so a bit by reinstalling or de-installing or installing some of them but seems to me without success -> compare above, keyword: stup* )? ;-) If so - to what versions in what repository? compare: ~ # zypper search -s xdg [...] S | Name | Type | Version | Arch | Repository --+-------------------------------+------------+---------------+--------+-------------------- | python-pyxdg | package | 0.19-0.pm.1.1 | noarch | Packman Repository | python-pyxdg | srcpackage | 0.19-0.pm.1.1 | noarch | Packman Repository i | python-xdg | package | 0.19-6.1 | i586 | openSUSE-11.4-Oss v | xdg-menu | package | 0.2-202.1 | i586 | openSUSE-11.4-Oss i | xdg-menu | package | 0.2-398.1 | i586 | (System Packages) v | xdg-user-dirs | package | 0.13-7.1 | i586 | openSUSE-11.4-Oss i | xdg-user-dirs | package | 0.13-18.1 | i586 | (System Packages) i | xdg-user-dirs-debuginfo | package | 0.13-7.1 | i586 | openSUSE-11.4-Debug | xdg-user-dirs-debugsource | package | 0.13-7.1 | i586 | openSUSE-11.4-Debug i | xdg-user-dirs-gtk | package | 0.8-15.1 | i586 | openSUSE-11.4-Oss i | xdg-user-dirs-gtk-debuginfo | package | 0.8-15.1 | i586 | openSUSE-11.4-Debug | xdg-user-dirs-gtk-debugsource | package | 0.8-15.1 | i586 | openSUSE-11.4-Debug | xdg-user-dirs-gtk-lang | package | 0.8-15.1 | noarch | openSUSE-11.4-Oss v | xdg-utils | package | 1.0.2-93.1 | noarch | openSUSE-11.4-Oss i | xdg-utils | package | 1.0.2-105.1 | noarch | (System Packages) Regards Martin (pistazienfresser) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c27
--- Comment #27 from Martin Seidler
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c28
--- Comment #28 from Martin Seidler
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c
Martin Seidler
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c29
Martin Seidler
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c30
--- Comment #30 from Martin Seidler
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c31
Becker Gauthier
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c32
6tr6tr R
https://bugzilla.novell.com/show_bug.cgi?id=681078
https://bugzilla.novell.com/show_bug.cgi?id=681078#c33
Dominique Leuenberger
participants (1)
-
bugzilla_noreply@novell.com