Bug 21482

Summary: [patch] "keep" setting does not persist when device comes back.
Product: [Fedora] Fedora Reporter: Patrick C. F. Ernzer <pcfe>
Component: kudzuAssignee: Bill Nottingham <notting>
Status: CLOSED WONTFIX QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: aleksey, fedora, piskozub, rvokal, stk, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-23 19:25:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to kudzu to preserve 'detached' setting none

Description Patrick C. F. Ernzer 2000-11-29 12:23:29 UTC
if a device is removed from the system and 'keep configuration' is
selected, kudzu will ask again if the device was present in an intermediate
run but is removed at the current run.

As in: (*= run kudzu)

* laptop in docking station: devices detected, select 'configure'
* laptop out of docking station: missing devices detected, select 'keep'
* laptop in docking station: no message
* laptop out of docking station: missing devices detected again

IMHO there should be a selection for 'keep this time' and for 'always keep'.

Comment 1 Bill Nottingham 2002-01-23 06:48:10 UTC
Actually, that indicates a bug. Apologies for the late response. Does this
behavior persist in 7.2?

Comment 2 Patrick C. F. Ernzer 2002-01-23 10:08:45 UTC
Yes, this behaviour persists in RHL 7.2 (fully updated as of yesterday with RHN)

Comment 3 Aleksey Nogin 2002-09-23 21:40:32 UTC
This still behaves the same in 7.2 and in 7.3.94 ((null)) Public Beta.

1) Plug in a device, reboot, configure device in Kudzu
2) Unplug the device, reboot, select "keep" in Kudzu.
3) Plug, reboot.
4) Unplug, reboot.

Expected: the "keep" setting is remembered, Kudzu does not do anything.
Actual: Kudzu yet again asks whether to keep or remove the configuration.

This is pretty annoying, especially with laptops, where plugging/unplugging
devices is common. Especially annoying with docking stations - there kudzu will
ask the "keep" question for every device on the docking station...

P.S. Updated Severity and priority per notting's "that indicates a bug" comment.
I tend to agree - IMHO it's a bug.

Comment 4 Aleksey Nogin 2002-10-01 09:10:41 UTC
Still there is Psyche...

Comment 5 Aleksey Nogin 2003-01-06 10:23:52 UTC
Still there in Phoebe

Comment 6 Aleksey Nogin 2003-05-17 20:33:07 UTC
Still there with kudzu-1.1.3-1.1

Comment 7 Martin Ebourne 2003-06-07 14:34:14 UTC
Created attachment 92237 [details]
Patch to kudzu to preserve 'detached' setting

Note that this changes compareDevice to also check the description. I find it
difficult to believe that this should not be checked - certainly I'm not aware
of any device that doesn't return a consistent description. However without it
compareDevice was matching up various completely unrelated USB devices (and
maybe others too).

Comment 8 Martin Ebourne 2003-06-07 14:39:51 UTC
Well didn't look like it was going to get fixed any other way, so please see the
patch I've added. I can't believe that the only laptop users who find this
behaviour extremely irritating are Aleksey and myself (to the point of me
disabling the kudzu 'service'). I've tested it on my laptop quite a bit and all
seems to work well.

Aleksey - I've rebuilt the RPMs with this patch. Feel free to give them a try.

http://www.ebourne.me.uk/downloads/kudzu-0.99.99-1keep.i386.rpm
http://www.ebourne.me.uk/downloads/kudzu-debuginfo-0.99.99-1keep.i386.rpm
http://www.ebourne.me.uk/downloads/kudzu-devel-0.99.99-1keep.i386.rpm
http://www.ebourne.me.uk/downloads/kudzu-0.99.99-1keep.src.rpm


Comment 9 Warren Togami 2004-06-15 01:17:44 UTC
Notting please review?

Comment 10 Bill Nottingham 2004-06-28 19:45:10 UTC
It checks the description, ergo, it's not correct for the general case.

Comment 11 Bill Nottingham 2005-09-23 19:25:28 UTC
As the interactive mode of kudzu has been removed in later releases (such as the
release shipped in FC4), changes in this area aren't planned.