Ticket #367 (closed defect: fixed)

Opened 16 years ago

Last modified 16 years ago

Unprecise questions in interactive mode

Reported by: naapuri Owned by: desai
Priority: trivial Milestone: Bcfg2 0.9.1 Release
Component: bcfg2-client Version:
Keywords: interactive Cc:


  1. In interactive mode, the client asks whether to upgrade packages. However, the proposed version might be older than the installed one.
Upgrade Package netbase (4.28 -> 4.27)? (y/N)

I'm not sure whether we can always have a credible way to check which package is newer, so maybe the best (or at least easiest) fix is to change the text to something like "Upgrade/downgrade Package".

  1. With ConfigFile? entries, the client asks this question for any kind of anomaly:
Would you like to install ConfigFile: /etc/hosts? (y/N):

This question should better indicate what is going to happen if one says "y" here. It might mean installing a whole new file or changing file contents and/or permissions/ownership. (Yes, the client might have printed lines such as "ConfigFile? /etc/hosts permissions wrong: are 0640 should be 0644" but they are not necessarily adjacent to the question.) How many different question texts are needed?


Change History

comment:1 Changed 16 years ago by desai

  • Status changed from new to assigned

The first part of this is fixed. I need to think about how to do the second one more.

comment:2 Changed 16 years ago by desai

  • Milestone set to Bcfg2 0.9.1 Release

comment:3 Changed 16 years ago by desai

  • Status changed from assigned to closed
  • Resolution set to fixed

All posix ownership and permissions calls are now fixed as well. Committed in [ae992d98aa69fa9fd6feb47ebc0da41800b36df3] (SVN r2753)

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.