Mailinglist Archive: opensuse-bugs (12990 mails)

< Previous Next >
[Bug 467487] New: running "you" as root causes yast2 online_update to run twice
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 20 Jan 2009 00:22:13 -0700 (MST)
  • Message-id: <bug-467487-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=467487


Summary: running "you" as root causes yast2 online_update to
run twice
Classification: openSUSE
Product: openSUSE 11.1
Version: Final
Platform: x86-64
OS/Version: openSUSE 11.1
Status: NEW
Severity: Minor
Priority: P5 - None
Component: YaST2
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: novellbmw@xxxxxxxx
QAContact: jsrain@xxxxxxxxxx
Found By: ---


User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.19)
Gecko/20081213 SUSE/1.1.14-1.1 SeaMonkey/1.1.14

running "you" as root causes yast2 online_update to run twice
This might be related to the fact, that there are no updates available when I
do this.
I found that "you" is defined as an alias in /etc/bash.bashrc
It is defined the same on openSUSE-11.0 but I checked that yast2 does not
return an error code to the caller on 11.0.

I propose to change the alias to
alias you='test "$EUID" = 0 && ( /sbin/yast2 online_update || true ) || su - -c
"/sbin/yast2 online_update "'


Reproducible: Always

Steps to Reproduce:
1. in a terminal: su -
2. you
3. Cancel
Actual Results:
after Cancel, yast2 online_update pops up again

Expected Results:
after Cancel, it should just close as openSUSE-11.0 did.

--
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.

< Previous Next >