Modify ↓
Ticket #397 (closed defect: fixed)
Confusing question for bcfg -I
Reported by: | naapuri | Owned by: | desai |
---|---|---|---|
Priority: | minor | Milestone: | Bcfg2 0.9.2 Release |
Component: | bcfg2-client | Version: | |
Keywords: | Cc: |
Description
bcfg2 -I asks a question, but it doesn't look like a question:
/var/lib/mysql/my.cnf group wrong. is mysql should be root
It should probably read something like:
/var/lib/mysql/my.cnf group is mysql, should be root. Fix? (y/N):
Attachments
Change History
comment:1 Changed 16 years ago by desai
- Status changed from new to closed
- Resolution set to fixed
- Milestone set to Bcfg2 0.9.2 Release
comment:2 Changed 16 years ago by naapuri
- Priority changed from trivial to minor
- Status changed from closed to reopened
- Resolution fixed deleted
Reopening.
The questions still don't look like questions. The above now says:
/var/lib/mysql/my.cnf group is mysql should be root
while it should say:
/var/lib/mysql/my.cnf group is mysql, should be root. Fix? (y/N):
The problem gets worse when there are more than one thing wrong with a config file. All anomalies are printed at once (which is good), so there should only be one "Fix?" question:
/var/lib/mysql/my.cnf owner wrong. is mysql should be root /var/lib/mysql/my.cnf group is mysql should be root /var/lib/mysql/my.cnf perms are 0775 should be 0755
Alternative fix is to ask three questions, but that will be annoying.
Note: See
TracTickets for help on using
tickets.
Resolved in [b43c488c96124ad07d4200860948a943cbf500cb] (SVN r2808)