|
Mantis - cas_migrateconf
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 4543 | regular use | minor | always | 2010-09-03 14:54 | 2015-11-26 12:42 |
|
|
|||||
| Reporter: | yann | Platform: | |||
| Assigned To: | OS: | ||||
| Priority: | normal | OS Version: | |||
| Status: | new | Product Version: | |||
| Product Build: | Resolution: | open | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | |||
|
|
|||||
| Summary: | 0004543: Configuration migration doesn't work properly if a directory is given | ||||
| Description: |
Hi, According to the wiki page, cswclassutils cswmigrateconf class action script can migrate a whole directory: "If a path specified in MIGRATE_FILES is a directory, the whole directory tree is going to be copied." [1] However I was not able to use this mode successfully with vsftpd. It seems that before doing the migration, the script always tries to test the existence of /etc/opt/csw/vsftpd.CSW which is not applicable in the directory case: # If there's a sample configuration file, remove the copied one. __sample_conf="${__dest_file_name}.CSW" if [ -r "${__sample_conf}" ]; then if files_are_identical "${__sample_conf}" "${__dest_file_name}"; then return "${__do_copy}" else return "${__do_not_copy}" fi fi Have I done something wrong or is it a bug ? Thanks in advance for your answer. [1] http://wiki.opencsw.org/cswclassutils-package#toc15 [^] |
||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: | |||||
|
|
|||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2010-09-03 14:54 | yann | New Issue | |||
| 2010-09-03 16:32 | maciej | Note Added: 0008262 | |||
| 2010-09-03 16:43 | bonivart | Status | new => assigned | ||
| 2010-09-03 16:43 | bonivart | Assigned To | => maciej | ||
| 2010-11-28 14:07 | bwalton | Project | cswclassutils => cas_migrateconf | ||
| 2014-03-24 00:50 | maciej | Note Added: 0010783 | |||
| 2015-11-26 12:42 | maciej | Assigned To | maciej => | ||
| 2015-11-26 12:42 | maciej | Status | assigned => new | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||