Ticket #1015 (closed defect: fixed)
Interactive client repeatedly asks whether to modify 'important' files
Reported by: | https://profiles.google.com/holger.weiss | Owned by: | solj |
---|---|---|---|
Priority: | major | Milestone: | Bcfg2 1.2.0 Release |
Component: | bcfg2-client | Version: | 1.0 |
Keywords: | Cc: | [email protected]… |
Description
"bcfg2 -I" gets confused when 'important' files are modified: the diff/prompt pairs are shown repeatedly (all in all: four times), and the prompt must be confirmed twice.
Attachments
Change History
comment:3 in reply to: ↑ 1 Changed 12 years ago by https://profiles.google.com/holger.weiss
Replying to solj:
I am unable to reproduce this behavior in the latest code:
# bcfg2 -vqIb base-gentoo [...]
Can you reproduce it when you try this without the "-b" flag? When I specify "-b <bundle>", I can't reproduce the problem either.
comment:4 follow-up: ↓ 5 Changed 12 years ago by solj
- Owner changed from desai to solj
- Status changed from new to accepted
I think https://gist.github.com/1036917 should fix the problem for you.
comment:5 in reply to: ↑ 4 Changed 12 years ago by https://profiles.google.com/holger.weiss
Replying to solj:
I think https://gist.github.com/1036917 should fix the problem for you.
This works fine if I confirm the prompt by answering "y"(es), but a "N"(o) reply must still be confirmed twice.
comment:6 Changed 12 years ago by solj
- Status changed from accepted to closed
- Resolution set to fixed
Fixed in b3bad727bc0968cd8b7fb29573e74d551a13c74d.
I am unable to reproduce this behavior in the latest code: