Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70963 - etc-update doesn't show diffs any more in dialog mode
Summary: etc-update doesn't show diffs any more in dialog mode
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-12 06:33 UTC by Christian Schmidt
Modified: 2007-11-03 20:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Schmidt 2004-11-12 06:33:39 UTC
In portage-2.0.51-r3 diffs are not shown in dialog mode any more.

Reproducible: Always
Steps to Reproduce:
1. touch /etc/._cfg0000_rc.conf
2. etc-update

Actual Results:  
After selecting rc.conf, the menu is presented without showing the differences 
between the old and the new configuration file.

Expected Results:  
After selecting rc.conf, the differences between the old and the new 
configuration file should be displayed and the action menu should be displayed 
afterwards.

Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 
2.6.10-rc1 i686)
Comment 1 Carl A. Dunham 2004-12-06 00:31:57 UTC
Here's a fix:

--- /usr/lib/portage/bin/etc-update~    2004-12-06 02:43:08.000000000 -0500
+++ /usr/lib/portage/bin/etc-update     2004-12-06 03:28:46.000162769 -0500
@@ -382,10 +382,6 @@
        PAR=")"
 else
        PAR=""
-       rm_opts=""
-       mv_opts=""
-       cp_opts=""
-       pager=""
 fi

 declare -i count=0
Comment 2 Alec Warner (RETIRED) archtester gentoo-dev Security 2005-05-24 18:44:59 UTC
dialog works for me here, are you still experiencing this issue?
Comment 3 Jason Stubbs (RETIRED) gentoo-dev 2005-07-31 03:28:58 UTC
I fixed this by removing the offending code listed in comment #1. 
Comment 4 Mark Dominik Bürkle 2007-11-03 20:31:22 UTC
see also bug#197990 if You have unexpected "Exiting: User termination!".