[Bug 347623] New: sudo: $TERM env botched
https://bugzilla.novell.com/show_bug.cgi?id=347623 Summary: sudo: $TERM env botched Product: openSUSE 10.3 Version: Final Platform: All OS/Version: All Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jengelh@gmx.de QAContact: qa@suse.de Found By: Beta-Customer When sudo is called from cron, it will set the "TERM" environment variable to "unknown" (previously: cron sets it to "dumb"). Setting it to unknown however makes programs such as asterisk spew out unnecessary warning messages. I think it should be left at what cron set it to. -- 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=347623 User jengelh@gmx.de added comment https://bugzilla.novell.com/show_bug.cgi?id=347623#c1 --- Comment #1 from Jan Engelhardt <jengelh@gmx.de> 2007-12-11 08:37:02 MST --- Citing asterisk: """ No entry for terminal type "unknown"; using dumb terminal settings. """ But /usr/share/terminfo/u/unknown exists, as does unknown in /etc/termcap, so it looks quite odd 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=347623 Mark Gordon <mtgordon@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mtgordon@novell.com AssignedTo|bnc-team-screening@forge.provo.novell.com |mkoenig@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.
https://bugzilla.novell.com/show_bug.cgi?id=347623 User mkoenig@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=347623#c2 Matthias Koenig <mkoenig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mkoenig@novell.com |prusnak@novell.com --- Comment #2 from Matthias Koenig <mkoenig@novell.com> 2007-12-12 05:26:47 MST --- reassigning to sudo maintainer -- 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=347623 User prusnak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=347623#c3 Pavol Rusnak <prusnak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |jengelh@gmx.de --- Comment #3 from Pavol Rusnak <prusnak@novell.com> 2007-12-12 05:56:45 MST --- You have to add TERM to env_keep variable in /etc/sudoers (either globally using Defaults, or individually for user). Could you please test? -- 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=347623 User michael.kromer@computergmbh.de added comment https://bugzilla.novell.com/show_bug.cgi?id=347623#c4 Michael Kromer <michael.kromer@computergmbh.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michael.kromer@computergmbh.de --- Comment #4 from Michael Kromer <michael.kromer@computergmbh.de> 2007-12-12 06:45:24 MST --- Solution with env_keep could not be affirmed. --- No entry for terminal type "unknown"; using dumb terminal settings. --- Still shows up with entry Defaults env_keep = "TERM" in /etc/sudoers. A simple export TERM=dumb stops cron mail messages to be generated by this "error". -- 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=347623 Pavol Rusnak <prusnak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|jengelh@gmx.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.
https://bugzilla.novell.com/show_bug.cgi?id=347623 Pavol Rusnak <prusnak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low -- 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