[Bug 222728] New: "save solver testcase" success dialog: buttons not translated
https://bugzilla.novell.com/show_bug.cgi?id=222728 Summary: "save solver testcase" success dialog: buttons not translated Product: openSUSE 10.2 Version: Beta 2 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: suse-beta@cboltz.de QAContact: jsrain@novell.com YaST2 package manager has a new feature to save a solver testcase. The success dialog asking to prepare y2logs for bugzilla has untranslated buttons "Yes", "No", "Cancel". I highly doubt that those strings are not translated yet ;-) and therefore guess that they are not marked as translatable in the dialog definition. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 ------- Comment #1 from suse-beta@cboltz.de 2006-11-20 11:29 MST ------- Created an attachment (id=106286) --> (https://bugzilla.novell.com/attachment.cgi?id=106286&action=view) german screenshot -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |ma@novell.com |screening@forge.provo.novell| |.com | -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 ma@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|ma@novell.com |sh@novell.com -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 sh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Minor ------- Comment #2 from sh@novell.com 2006-11-21 08:37 MST ------- This uses generic Qt QMessageBox buttons which should be translated along with the standard Qt messages: msg = _( "<p>Dependency resolver test case written to <br><tt>%1</tt></p>" "<p>Prepare <tt>y2logs.tgz tar</tt> archive to attach to Bugzilla?</p>" ).arg( testCaseDir ); button_no = QMessageBox::question( 0, // parent _( "Success" ), // caption msg, QMessageBox::Yes |QMessageBox::Default, QMessageBox::No, QMessageBox::Cancel |QMessageBox::Escape ); -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 ------- Comment #3 from sh@novell.com 2006-11-21 08:40 MST ------- Created an attachment (id=106414) --> (https://bugzilla.novell.com/attachment.cgi?id=106414&action=view) screen shot with translated buttons -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 sh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |suse-beta@cboltz.de ------- Comment #4 from sh@novell.com 2006-11-21 08:44 MST ------- So the mechanism works in general (the buttons are translated in my environment - don't have the other translations installed, though). The question is: Why are the standard Qt translations not loaded in your environment? Please look into your y2logs for any of those messages: y2warning( "Qt locale directory not set - " "no translations for predefined Qt dialogs" ); y2warning( "Can't load translations for predefined Qt dialogs from %s/%s", (const char *) path, (const char *) trans_file ); y2milestone( "Loaded translations for predefined Qt dialogs from %s/%s", (const char *) path, (const char *) trans_file ); Please look in /usr/lib/qt3/translations/ if there is a file qt_de.qm . Those are the German translations for those Qt standard messages. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 suse-beta@cboltz.de changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Minor |Major Status|NEEDINFO |ASSIGNED Info Provider|suse-beta@cboltz.de | Summary|"save solver testcase" |kdesu sets locale to POSIX |success dialog: buttons not | |translated | ------- Comment #5 from suse-beta@cboltz.de 2006-11-21 09:25 MST ------- Indeed: 2006-11-21 16:12:19 <2> cboltz(6399) [qt-ui] YQUI_x11.cc(loadPredefinedQtTranslations):434 Can't load translations for predefined Qt dialogs from /usr/lib/qt3/translations/qt_c.qm Huh? Why does it search for qt_c.qm? I just tested a bit: - I hit this bug when starting YOU via opensuse-updater. - I also hit it when running "kdesu yast2" via Alt-F2 - the buttons are translated when I "su" and call "yast2 sw_single" in a xterm My guess is that kdesu resets some locale variables... Wait... "kdesu xterm" shows POSIX for all locale settings! -> probably something for the KDE maintainers -> also reproducable with a fresh user -> renaming the bug and adjusting summary because this hits *all* applications run through kdesu BTW: I just found out that the "Cancel" button has the same effect as "Yes" :-( Since yes and no should be enough in this dialog, simply remove "Cancel" (or fix it so that it does not display the "save file" dialog). -> separate (minor) bugreport for this? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 suse-beta@cboltz.de changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|sh@novell.com |kde-maintainers@suse.de Status|ASSIGNED |NEW Component|YaST2 |KDE QAContact|jsrain@novell.com |qa@suse.de -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 andreas.hanke@gmx-topmail.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andreas.hanke@gmx-topmail.de ------- Comment #6 from andreas.hanke@gmx-topmail.de 2006-11-21 12:19 MST ------- This is not really a bug, but the consequence of a feature. kdesu now uses sudo instead of su as backend and sudo has to clear the environment for security reasons. This isn't necessary with su because it always asks for the password, but it's necessary with sudo because sudo can be configured to work without the password and then a user could change the behaviour of previously approved commands by setting some environment variables. You can change this via /etc/sudoers or visudo or yast2-sudo. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 ------- Comment #7 from stbinner@novell.com 2006-11-21 13:49 MST ------- I think the locale is set because of bug 152077 ? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 ------- Comment #8 from andreas.hanke@gmx-topmail.de 2006-11-22 08:12 MST ------- (In reply to comment #7)
I think the locale is set because of bug 152077 ?
I don't think that this is related to bug 152077. In fact, it looks like the patch from bug 152077 isn't even part of the kdelibs3 package anymore. At least I'm unable to find it in the current kdelibs3.src.rpm. Switch kdesurc to use su instead of sudo, and the locale isn't reset anymore. So it must have something to do with sudo. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 ------- Comment #9 from andreas.hanke@gmx-topmail.de 2006-11-22 08:21 MST ------- This sentence: (In reply to comment #8)
In fact, it looks like the patch from bug 152077 isn't even part of the kdelibs3 package anymore.
is nonsense because the patch from bug 152077 is now included in the tarball. But the rest of comment 8 remains valid. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 llunak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Summary|kdesu sets locale to POSIX |kdesu resets locale -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 ------- Comment #10 from llunak@novell.com 2006-11-22 09:26 MST ------- Created an attachment (id=106611) --> (https://bugzilla.novell.com/attachment.cgi?id=106611&action=view) kdelibs3 patch -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 llunak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Fix_is_Ready ------- Comment #11 from llunak@novell.com 2006-11-22 09:29 MST ------- This seems to be several small problems together causing this one (like either yast2 or Qt taking LC_ALL="" as LC_ALL=C which I think is wrong). -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 ------- Comment #12 from suse-beta@cboltz.de 2006-11-22 11:13 MST ------- (In reply to comment #11)
This seems to be several small problems together causing this one (like either yast2 or Qt taking LC_ALL="" as LC_ALL=C which I think is wrong).
I guess none of them does such a thing - or _everything_ including xterm is broken ;-) Please test (in a Konsole): cb@cboltz:~> locale LANG=de_DE@euro LC_CTYPE="de_DE@euro" LC_NUMERIC="de_DE@euro" LC_TIME="de_DE@euro" LC_COLLATE="de_DE@euro" LC_MONETARY="de_DE@euro" LC_MESSAGES="de_DE@euro" LC_PAPER="de_DE@euro" LC_NAME="de_DE@euro" LC_ADDRESS="de_DE@euro" LC_TELEPHONE="de_DE@euro" LC_MEASUREMENT="de_DE@euro" LC_IDENTIFICATION="de_DE@euro" LC_ALL= cb@cboltz:~> kdesu xterm in the xterm again: root@cboltz:/home/cb> locale LANG= LC_CTYPE="POSIX" LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL= root@cboltz:/home/cb> Hmm, I just wanted to retest this from a xterm (as user) to get Qt completely out of this - but kdesu hangs :-( (it still works fine when running from Konsole) -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 stbinner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #13 from stbinner@novell.com 2006-11-22 13:02 MST ------- Added patch to kdelibs3. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 coolo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsuchome@novell.com ------- Comment #14 from coolo@novell.com 2006-11-29 03:57 MST ------- *** Bug 224422 has been marked as a duplicate of this bug. *** -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 ------- Comment #15 from coolo@novell.com 2006-11-29 03:59 MST ------- as 224422 is reported against RC2, this might not be fixed -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | ------- Comment #16 from jsuchome@novell.com 2006-11-29 04:12 MST ------- Actually, it was RC3, although meyabe not exactly official one. It has kdelibs3-3.5.5-45: gorgon:~ # LANG=C rpm -q --changelog kdelibs3 | head * Fri Nov 24 2006 - dmueller@suse.de - fix ktip icon hack breaking translations (#221177) * Thu Nov 23 2006 - dmueller@suse.de - fix cups only accepting localhost as ipp:// hostname (#222938) - fix samba sharing dialog accessible even though samba not running (#159223) * Wed Nov 22 2006 - stbinner@suse.de - fix kdesu resets locale (#222728) -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 ------- Comment #17 from andreas.hanke@gmx-topmail.de 2006-11-29 05:15 MST ------- What about the idea that it's sudo and not kdesu which resets the locale here? Can you investigate into this direction? Some information that should be easily reproducible: 1. kdesu does not reset the locale if it's switched from the sudo backend to the su backend. 2. kdesu does not reset the locale if the following is configured in /etc/sudoers: Defaults env_keep = "LANG" (and possibly more env vars if you have a complex setup, e.g. LC_ADDRESS LC_CTYPE LC_COLLATE etc.) -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 ------- Comment #18 from jsuchome@novell.com 2006-11-29 05:50 MST ------- I don't know much about sudo configuration, so I did only one quick test: 2. Adding 'Defaults env_keep = "LANG"' (or LC_CTYPE) doesn't change anything when the 'Defaults env_reset' is there (which is, by default). When I remove 'Defaults env_reset', kdesu works as I'd expected. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 ------- Comment #19 from andreas.hanke@gmx-topmail.de 2006-11-29 06:19 MST ------- Removing 'Defaults env_reset' is very insecure. Adding 'Defaults env_keep = "LANG"' should work on systems where LANG is the only actually used locale variable. If you're using more locale-related environment variables, try if adding all of them helps: Defaults env_keep = "LANG LC_ADDRESS LC_CTYPE LC_COLLATE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC \ LC_PAPER LC_TELEPHONE LC_TIME LC_ALL LANGUAGE LINGUAS" This should now really work, even without removing 'Defaults env_reset'. It's (a subset of) what Red Hat does. (Note that I do _not_ the security impact of this.) -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 ------- Comment #20 from andreas.hanke@gmx-topmail.de 2006-11-29 06:21 MST ------- s/_not_ the/_not_ know the/ -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 dmueller@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmueller@novell.com AssignedTo|kde-maintainers@suse.de |prusnak@novell.com Status|REOPENED |NEW ------- Comment #21 from dmueller@novell.com 2006-11-29 06:36 MST ------- hmm, annoying that I did not notice this by myself. Is it possible to fix sudo according to comment #19 ? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 ------- Comment #22 from jsuchome@novell.com 2006-11-29 06:38 MST ------- Sorry, I don't know how did I tested when I wrote comment #18, but now when I have 'Defaults env_keep = "LANG"' (together with Defaults env_reset) in /etc/sudoers, locale is not reset. So comment #19 fix probably is not necessary -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 ------- Comment #23 from andreas.hanke@gmx-topmail.de 2006-11-29 07:14 MST ------- Just for the records: I think that the kdelibs3 fix from attachment 106611 was never necessary, but don't know if it hurts either. (In reply to comment #22)
Sorry, I don't know how did I tested when I wrote comment #18, but now when I have 'Defaults env_keep = "LANG"' (together with Defaults env_reset) in /etc/sudoers, locale is not reset. So comment #19 fix probably is not necessary
It is necessary on systems with a more complex locale setup where the user wants e.g. English date formats together with Spanish messages and Russian paper size. There is no way to get this set up using LANG only, the LC_* variables are needed. If it's considered acceptable (security-wise) to pass LANG, be consistent and pass all of them. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 ------- Comment #24 from prusnak@novell.com 2006-11-30 03:26 MST ------- Fixed by adding this line: Defaults env_keep = "LANG LC_ADDRESS LC_CTYPE LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE LC_TIME LC_ALL LANGUAGE LINGUAS" into /etc/sudoers -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 prusnak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|prusnak@novell.com |security-team@suse.de -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 ------- Comment #25 from lnussel@novell.com 2006-11-30 04:08 MST ------- I doubt this is safe. glibc doesn't use those variables when the program runs suid root and the variable contains a slash. With sudo the suid check doesn't work so / will be allowed. So I could imagine those variables can be used for directory traversal attacks. Needs deeper investigation. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 ------- Comment #26 from andreas.hanke@gmx-topmail.de 2006-12-13 17:01 MST ------- (In reply to comment #25)
glibc doesn't use those variables when the program runs suid root and the variable contains a slash.
And what does glibc do if the variable contains a slash and the program does _not_ run suid root? It seems that glibc does these sanity checks independently of whether the program runs suid root, with the notable exception of LC_IDENTIFICATION. (=> glibc bug?) -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 ------- Comment #27 from andreas.hanke@gmx-topmail.de 2006-12-13 17:02 MST ------- Created an attachment (id=109665) --> (https://bugzilla.novell.com/attachment.cgi?id=109665&action=view) strace of /bin/cp with LANG=de_DE.UTF-8 -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 ------- Comment #28 from andreas.hanke@gmx-topmail.de 2006-12-13 17:03 MST ------- Created an attachment (id=109666) --> (https://bugzilla.novell.com/attachment.cgi?id=109666&action=view) strace of /bin/cp with LANG=../../../tmp -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 ------- Comment #29 from andreas.hanke@gmx-topmail.de 2006-12-13 17:03 MST ------- Created an attachment (id=109667) --> (https://bugzilla.novell.com/attachment.cgi?id=109667&action=view) difference between both straces -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 ------- Comment #30 from andreas.hanke@gmx-topmail.de 2006-12-13 17:08 MST ------- Conclusion: LC_MEASUREMENT, LC_TELEPHONE, LC_ADDRESS, LC_NAME, LC_PAPER, LC_MESSAGES, LC_MONETARY, LC_COLLATE, LC_TIME, LC_NUMERIC and LC_CTYPE are not used if they have a suspicious value, even if the program does _not_ run suid root. But LC_IDENTIFICATION is used. Strange glibc behaviour. Why is LC_IDENTIFICATION handled differently than all the others? Unfortunately, removing LC_IDENTIFICATION from the whitelist won't help because if LC_IDENTIFICATION is not set, the value of LANG is taken instead. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 ------- Comment #31 from andreas.hanke@gmx-topmail.de 2006-12-13 17:52 MST ------- LANGUAGE seems to have a problem as well. But LANGUAGE is rarely used and together with LINGUAS, other than LANG and LC_*, not really needed. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 ------- Comment #32 from andreas.hanke@gmx-topmail.de 2006-12-13 17:56 MST ------- Created an attachment (id=109670) --> (https://bugzilla.novell.com/attachment.cgi?id=109670&action=view) LANGUAGE problem Difference between: LANG=de_DE.UTF-8 + LANGUAGE unset And: LANG=de_DE.UTF-8 + LANGUAGE=../../../tmp -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 andreas.hanke@gmx-topmail.de changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #109670|text/x-patch |text/plain mime type| | -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 stbinner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|Fix_is_Ready | ------- Comment #33 from stbinner@novell.com 2007-01-29 03:27 MST ------- Fix_is_Ready was for the patch applied to kdelibs3 on 22th November, I don't see a new patch after this report was reopened. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stbinner@novell.com ------- Comment #34 from jsuchome@novell.com 2007-04-03 05:11 MST ------- *** Bug 259802 has been marked as a duplicate of this bug. *** -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 ------- Comment #35 from jsuchome@novell.com 2007-04-03 06:09 MST ------- *** Bug 259802 has been marked as a duplicate of this bug. *** -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 ------- Comment #36 from mfabian@novell.com 2007-04-10 12:41 MST ------- Pavol Rusnak> Fixed by adding this line: Pavol Rusnak> Pavol Rusnak> Defaults env_keep = "LANG LC_ADDRESS LC_CTYPE LC_COLLATE LC_IDENTIFICATION Pavol Rusnak> LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE Pavol Rusnak> LC_TIME LC_ALL LANGUAGE LINGUAS" That is not enough because users who need an input method to input their native language (e.g. Chinese, Japanese, Korean, ...) will still have the problem that they cannot input their native language after kdesu. See also: http://lists.opensuse.org/opensuse-m17n/2007-04/msg00000.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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 ------- Comment #37 from mfabian@novell.com 2007-04-10 12:44 MST ------- To make input methods work correctly, the following environment variables need to be kept in addition to the locale environment variables: XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 ------- Comment #38 from prusnak@novell.com 2007-04-17 05:14 MST ------- (In reply to comment #37)
XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER
I have added these four variables to env_keep in /etc/sudoers. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 ------- Comment #39 from lnussel@novell.com 2007-04-17 05:35 MST ------- AFAIK kdesu has means to propagate settings itself. sudo's default config intentionally limits the propagated environment variables to avoid unintended side effects esp when used with NOPASSWD. Someone has to sufficiently proof that those variables have no unintended side effects like e.g. allowing to load arbitrary code via directory traversal bugs etc before adding them to the sudoers file. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 prusnak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kde-maintainers@suse.de, bnc-team- | |gnome@forge.provo.novell.com ------- Comment #40 from prusnak@novell.com 2007-05-09 06:17 MST ------- Seems like bug #259802 is the opposite case of this one. Should I remove variables from env_keep and let gnomesu, kdesu and other sudo wrappers to propagate settings by theirselves like Ludwig suggested? Or leave as it is and try to solve the other bugreport? Please advise. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728 ------- Comment #41 from mfabian@novell.com 2007-05-09 06:30 MST ------- If possible, I prefer to have these variables in env_keep because I often use "sudo" directly (not via gnomesu, kdesu, ...) and it is very annoying if the language environment and the input method related variables get lost each time. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222728#c42 Pavol Rusnak <prusnak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |security-team@suse.de --- Comment #42 from Pavol Rusnak <prusnak@novell.com> 2007-07-17 02:09:02 MST --- Ping. Any news on this issue? There is a pending submission to STABLE (from Comment #38). Should we add variables "XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER" to /etc/sudoers or leave them out? That means discard submission or let autobuild team check it in? -- 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=222728#c43 Ludwig Nussel <lnussel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|security-team@suse.de | --- Comment #43 from Ludwig Nussel <lnussel@novell.com> 2007-07-17 02:19:25 MST --- Discard the submission or add the line commented out. You can add a note like "uncomment the following line if you need to use special input methods. Note that this may allow users to compromise the root account if they are allowed to run commands without authentication." -- 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=222728#c44 --- Comment #44 from Pavol Rusnak <prusnak@novell.com> 2007-07-17 03:08:21 MST --- I have submitted to STABLE. Problematic variables from comment #38 are added only in commented line with note. -- 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=222728#c45 --- Comment #45 from Ludwig Nussel <lnussel@novell.com> 2007-07-17 03:16:59 MST --- The variables (LANG, LC_*) honored by glibc are most probably fine as glibc sanitizes them so you can keep them enabled. only the new ones are suspicious. -- 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.
participants (1)
-
bugzilla_noreply@novell.com