[ 
https://issues.apache.org/jira/browse/VCL-817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andy Kurth resolved VCL-817.
----------------------------
    Resolution: Fixed

> pgrep command arguments have changed with RHEL/CentOS 7.x
> ---------------------------------------------------------
>
>                 Key: VCL-817
>                 URL: https://issues.apache.org/jira/browse/VCL-817
>             Project: VCL
>          Issue Type: Improvement
>          Components: vcld (backend)
>            Reporter: Andy Kurth
>            Assignee: Andy Kurth
>             Fix For: 2.4
>
>
> We use {{pgrep -fl}} in a few places.  This used to return the full command 
> names for each matching process.  This no longer seems to be the case with 
> 7.x.  The command names are truncated.  There is a new {{-a}} switch which 
> causes the full names to be displayed.  Unfortunately, the {{-a}} switch is 
> not available on earlier versions and the command fails if it is included.
> Code needs to be updated to detect which switches are available and then 
> assemble the correct command.
> This is very important.  pgrep is used to ensure multiple processes aren't 
> forked for the same reservation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to