Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56781 - The perforce proxy don't start/stop properly
Summary: The perforce proxy don't start/stop properly
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal
Assignee: Stuart Herbert (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-12 04:35 UTC by Gisle Aas
Modified: 2006-05-29 08:07 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The fix I made to make perfore-proxy {start,stop} work for me (p4p.patch,919 bytes, patch)
2004-07-12 04:37 UTC, Gisle Aas
Details | Diff
init.d-perforce-proxy.patch (perforce-proxy.patch,464 bytes, patch)
2006-04-11 08:18 UTC, Håvard Wall
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gisle Aas 2004-07-12 04:35:25 UTC
It looks like the p4p init file is just copies from the p4d init file.
I'll attach a patch that fixes this problem for me.


Reproducible: Always
Steps to Reproduce:
1. /etc/init.d/perforce-proxy start
2. access perforce via the proxy
3. look at /var/log/perforce-proxy
Actual Results:  
erforce proxy error:
        Date 2004/07/12 10:52:52:
        Operation: flush2
        can't make directory for depot/depot/main/Apps/PDK/src/DynDLL/Makefile,v
        mkdir: depot: Permission denied


Expected Results:  
No error message.
Comment 1 Gisle Aas 2004-07-12 04:37:09 UTC
Created attachment 35244 [details, diff]
The fix I made to make perfore-proxy {start,stop} work for me
Comment 2 Gisle Aas 2004-07-12 04:39:21 UTC
The patch is actually reversed.  Sorry about that.
Comment 3 Håvard Wall 2006-04-11 08:18:15 UTC
Created attachment 84449 [details, diff]
init.d-perforce-proxy.patch

I believe the line that stripped out the -d and -r arguments was correct, but the stop() function was obviously wrong. I propose this patch instead that uses start-stop-daemon --stop which should do the same trick, but should be easier to maintain.
Comment 4 Stuart Herbert (RETIRED) gentoo-dev 2006-05-29 08:07:00 UTC
I'm no longer maintaining this package.  No-one else has stepped up and volunteered to maintain it; we will be dropping Perforce from Portage shortly.

Best regards,
Stu