Mantis - cswclassutils
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
3785 | regular use | minor | have not tried | 2009-07-28 20:37 | 2009-08-12 11:29 |
|
|||||
Reporter: | yann | Platform: | |||
Assigned To: | bonivart | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | |||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | |||
|
|||||
Summary: | 0003785: autoenable_specificdaemonname probably doesn't work | ||||
Description: |
Hi, Just had a look at i.cswinitsmf trying to solve a bug reported on my package, and I noticed the code used to evaluate autoenable_specificdaemonname is probably wrong. The code is: if [ "$autoenable_$service" = "no" ]; then daemon=no elif [ "$autoenable_$service" = "yes" ]; then daemon=yes fi but sh consider there are two variables $autoenable_ and $service. $autoenable_ has never been set so it is "", so for exemple for opencsw sh will replace "$autoenable_$service" by "cswopenssh". You could instead do: eval autoenable_service="\$autoenable_$service" and replace $autoenable_$service by $autoenable_service |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: | |||||
|
|||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2009-07-28 20:37 | yann | New Issue | |||
2009-08-07 17:05 | bonivart | Status | new => assigned | ||
2009-08-07 17:05 | bonivart | Assigned To | => bonivart | ||
2009-08-07 17:06 | bonivart | Note Added: 0006525 | |||
2009-08-10 17:16 | bonivart | Note Added: 0006549 | |||
2009-08-12 11:29 | bonivart | Note Added: 0006559 | |||
2009-08-12 11:29 | bonivart | Status | assigned => closed | ||
2009-08-12 11:29 | bonivart | Resolution | open => fixed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|