Mantis - pigz
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
4268 | regular use | minor | always | 2010-02-12 14:59 | 2010-02-24 23:19 |
|
|||||
Reporter: | ckmehta1 | Platform: | |||
Assigned To: | dam | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | |||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | |||
|
|||||
Summary: | 0004268: Pigz Sol8 Workaround for threads causes failures when symlinked as /usr/bin/gzip | ||||
Description: |
One of the nice features about PIGZ is the ability to be a drop-in replacement for /usr/bin/gzip and get the multi-threading without changing every script that ultimately referenced GZIP (perhaps through a GTAR -Z function). However this workaround for Sol8 causes problems when I invoke /usr/bin/gzip, I get this error: /usr/bin/gzip: /usr/bin/../libexec/gzip: not found |
||||
Steps To Reproduce: | |||||
Additional Information: |
Based on what I can see, you try to reuse the same script for pigz and unpigz to support Sol8. If you really want to maintain Sol8 compatibility in this script, I would suggest that you replace the "/usr/bin/basename $0" section of this script with some case statement that handles the pigz/gzip unpigz/gunzip names. Alternatively, you could just create symlinks like ln -s /opt/csw/libexec/pigz /opt/csw/libexec/gzip ln -s /opt/csw/libexec/unpigz /opt/csw/libexec/gunzip I would say symlinks so the relationship is obvious to the casual observer. I would even say that /opt/csw/libexec/unpigz should be a symlink of /opt/csw/libexec/pigz |
||||
Relationships | |||||
Attached Files: | |||||
|
|||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2010-02-12 14:59 | ckmehta1 | New Issue | |||
2010-02-12 15:11 | dam | Status | new => assigned | ||
2010-02-12 15:11 | dam | Assigned To | => dam | ||
2010-02-15 12:14 | dam | Note Added: 0007435 | |||
2010-02-24 23:19 | dam | Note Added: 0007521 | |||
2010-02-24 23:19 | dam | Status | assigned => closed | ||
2010-02-24 23:19 | dam | Resolution | open => fixed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|