[Bug 900849] New: xdg-su wiping environment for childs
http://bugzilla.opensuse.org/show_bug.cgi?id=900849 Bug ID: 900849 Summary: xdg-su wiping environment for childs Classification: openSUSE Product: openSUSE 13.1 Version: Final Hardware: Other OS: Other Status: NEW Severity: Major Priority: P5 - None Component: X11 Applications Assignee: bnc-team-screening@forge.provo.novell.com Reporter: nettezzaumanaa@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- hello geeko's minions .. reopening as new bug - related to 778786, 787869, 824565 - which are without input for pretty long time. I don't provide much additional technical related info, because explanation what happens (and maybe other reports too) should give clear overview. --------- I've originally found in KDE, that yast2 when - ran using any kde launchers (xdg-su) - have its main window translated to czech (as far as the LANG and LC variables were properly set using default tools), but modules (childs, forks) are not translated .. i verified, that when yast2 is launched from root's terminal, it works normally. Impact is (beyond other possibly worse things) that in clear opensuse installation is yast modules always in english when launched from gui (in kde) whilst the main window is translated according to env vars. something like: `xdg-su -c "env LANG=cs_CZ.utf8 /sbin/yast2"' doesn't work too for the childs. Please correct this behaviour (bugs noted at the beginning are without input for quite long time), I think that the impact is severe, I was just called by the owner of the box where I've found this bug that he can't use `disk' module for yast2 because of translation (he's not geek, just user) and I was unable to find out better resolution than teaching him to use su and typing yast2. Also there might be security impacts, just think about what unrest happens under hood su/sudo family app .. regards, daniel -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=900849 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bwiedemann@suse.com, | |nettezzaumanaa@gmail.com Flags| |needinfo?(nettezzaumanaa@gm | |ail.com) --- Comment #1 from Bernhard Wiedemann <bwiedemann@suse.com> --- The other 3 xdg-su bugs are very unrelated I can not reproduce this here. are you sure you have installed yast2-trans-cs ? note that xdg-su -c "env LANG=cs_CZ.utf8 /sbin/yast2" sets the environment after xdg-su, so the problem can not be in it. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=900849 Daniel Pecka <nettezzaumanaa@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(nettezzaumanaa@gm | |ail.com) | --- Comment #2 from Daniel Pecka <nettezzaumanaa@gmail.com> --- hello Bernard, I didn't check it any extensively. Ofc I have yast2-trans-cs installed. I also reproduced it straight away with the ppl on irc.freenode.net .. I can summarize howto reproduce it: 1) Have fully up-to-date 13.1 2) ensure, that your localization in kde is not english (might be german as well or something else like LANG=cs_CZ.UTF-8) 3) if you run yast2 by clicking on kde icon (or menu item or from systemsettings, just generally it calls xdg-su -c /sbin/yast2) you should have main window in desired translation but childs (click on disk module) will be english 4) if open terminal window and login as root using plain `su' and run yast2, everything is translated fine even in childs (modules) regards, daniel ps. I can give you more starts at the evening .. I will check on the affected box with completely clearly installed suse (with no further modifications) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=900849 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED Summary|xdg-su wiping environment |kdesu caches environment |for childs |variables --- Comment #4 from Bernhard Wiedemann <bwiedemann@suse.com> --- I found an interesting reproducer: LANG=foo kdesu -c 'xterm' would come up with a console and doing in there echo $LANG would give the expected result of 'foo'. LANG=bar kdesu -c 'xterm' echo $LANG however would return foo instead of bar, even after a killall kdesud, so probably not related to the caching of passwords -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com