Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231005 - net-proxy/ziproxy-2.5.2 request for ~x86-fbsd keyword
Summary: net-proxy/ziproxy-2.5.2 request for ~x86-fbsd keyword
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords: KEYWORDREQ
Depends on:
Blocks:
 
Reported: 2008-07-07 00:31 UTC by Kiko
Modified: 2008-07-14 10:43 UTC (History)
1 user (show)

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


Attachments
Fix for /etc/init.d/ziproxy (ziproxy.patch,919 bytes, patch)
2008-07-07 00:32 UTC, Kiko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kiko 2008-07-07 00:31:34 UTC
Tested this package for a while on gentoo-bsd and seems to be 100% but the init script which i don't think it works even on other arch's due to the fact it has --quiet which makes the pidfile to be created empty...
I'm attaching a patch to fix this...
Comment 1 Kiko 2008-07-07 00:32:47 UTC
Created attachment 159756 [details, diff]
Fix for /etc/init.d/ziproxy

replaced ${myservice} which doesn't exist anymore with ziproxy and removed --quiet from start() so it can create the pidfile properly
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-07-07 00:45:48 UTC
Please look up "critical" in a dictionary. :)
Comment 3 Kiko 2008-07-07 02:26:42 UTC
From what I see....critical is for bugs when packages do not work...and this one simply doesn't work..hence the critical..whats the point of having something that doesn't in the tree?
Either fix it or remove it...but at least one of them ;]
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2008-07-08 06:42:37 UTC
If you click on "severity" label you will see this explanation:
   Critical 	crashes, loss of data, severe memory leak
Care to give us the source of your (very) personal definition?
Comment 5 Alin Năstac (RETIRED) gentoo-dev 2008-07-08 19:09:59 UTC
The init script has been fixed in cvs.
Reassigned to bsd for ~x86-fbsd keyword.
Comment 6 Kiko 2008-07-08 19:21:57 UTC
(In reply to comment #4)
> If you click on "severity" label you will see this explanation:
>    Critical     crashes, loss of data, severe memory leak
> Care to give us the source of your (very) personal definition?

What would you call let's say...if GNOME didn't work? 'normal'?
So if some other app doesn't work...why doesn't it get fixed? I just filed a bug for pciutils which seems to be a duplicate but eitherways...the filed bug report has been going on for a few months already on that one
To me these are my definitions:
Blocker: Only for apps such as binutils/gcc/libedit etc...that can bork the entire system
Critical: When a package does not work
Normal: Something that should be fixed
Major: Works, but with some errors
Minor: Works, but does something which ain't supposed to
Trivial: Suggestions to comment something this or that way...or mostly text errors and such
Enhancement: If there's no problem, but you still feel like you can contribute with something to improve it..
On the Severity list u can look at these two:

Critical crashes, loss of data, severe memory leak 
Major major loss of function 

There's no major loss of function cose the damn thing doesn't even work!
so one goes higher...Critical!
Fix it, period.
Dragging these stupid conversations over and over about nonsense is dumb and gets nothing fixed.
Comment 7 Stefan Briesenick (RETIRED) gentoo-dev 2008-07-09 12:56:02 UTC
nonetheless: your ziproxy.patch is broken, since you did:

-   start-stop-daemon --stop --quiet --pidfile /var/run/${myservice}.pid
+   start-stop-daemon --stop --quiet --pidfile /var/run/ziproxy.pid

that ${myservice} has a reason! It's there, so that you can have more ziproxy instances with different configurations.

But Alin fixed it correctly at last.
Comment 8 Kiko 2008-07-09 17:31:55 UTC
(In reply to comment #7)
> nonetheless: your ziproxy.patch is broken, since you did:
> -   start-stop-daemon --stop --quiet --pidfile /var/run/${myservice}.pid
> +   start-stop-daemon --stop --quiet --pidfile /var/run/ziproxy.pid
> that ${myservice} has a reason! It's there, so that you can have more ziproxy
> instances with different configurations.
> But Alin fixed it correctly at last.

(In reply to comment #7)
> nonetheless: your ziproxy.patch is broken, since you did:
> -   start-stop-daemon --stop --quiet --pidfile /var/run/${myservice}.pid
> +   start-stop-daemon --stop --quiet --pidfile /var/run/ziproxy.pid
> that ${myservice} has a reason! It's there, so that you can have more ziproxy
> instances with different configurations.
> But Alin fixed it correctly at last.

Next time you wanna follow other people talking crap...at least test the damn thing, and KNOW what you're talking about!
1. The patch ain't broken
2. You can't run more than one server unless you create multiple confs and run it manually (which has nothing to do with the script..)
3. There's no ${myservice} anymore
4. STFU instead of trying to be a smart-ass...I'm tired of people here acting stupid instead of fixing things, people spend more time in here probably talking trash than actually fixing things...
why can't I ever see a bug like...someone submits a fix and a dev just tests it or makes his own fix and just writes...FIXED!..
it always takes months to get things fixed...sad sad sad
Comment 9 Alin Năstac (RETIRED) gentoo-dev 2008-07-09 17:51:59 UTC
First of all, I've fixed the problem, see comment #5.
Second, you should learn some manners before attempting to speak in public! Not that I would expect much from a person that choose to have such an email address, but still...

I'm out of here.
Comment 10 Stefan Briesenick (RETIRED) gentoo-dev 2008-07-12 10:26:53 UTC
@Kiko:

> Next time you wanna follow other people talking crap...at least test the
> damn thing, and KNOW what you're talking about!

I know what I'm talking about, since I wrote than "damn" ebuild.

> 1. The patch ain't broken

it is! Since you degrade the original purpose.

> 2. You can't run more than one server unless you create multiple confs and run it manually (which has nothing to do with the script..)

indeed. That's why there is a variable in that init-script. You can symlink "ziproxy" to e.g. "ziproxy-foo". Then /etc/conf.d/ziproxy-foo will be loaded. An in /etc/conf.d/ziproxy(*) you find this:

# Full path to ziproxy.conf file (instead of default one).
CONFIG="/etc/ziproxy/ziproxy.conf"

Well, problem sovled.

> 3. There's no ${myservice} anymore

I know. THAT was the only bug. Now it's called ${SVCNAME}. That init-script is quite old, and it was just forgotten to migrate to OpenRC.

> 4. STFU instead of trying to be a smart-ass...I'm tired of people here
> acting stupid instead of fixing things, people spend more time in here
> probably talking trash than actually fixing things...

You should learn how to behave. We ARE actually *fixing* things. But you should accept, that we don't *degrade* features like you did.
Comment 11 Kiko 2008-07-12 15:45:04 UTC
(In reply to comment #9)
> First of all, I've fixed the problem, see comment #5.
> Second, you should learn some manners before attempting to speak in public! Not
> that I would expect much from a person that choose to have such an email
> address, but still...
> I'm out of here.

 * Starting ziproxy ...
 * start-stop-daemon: did not create a valid pid in `/var/run/ziproxy.pid'                                              [ !! ]
 * ERROR: ziproxy failed to start

upgraded to the new version...it's still broken
you forgot to remove the '--quiet' from the start-stop-daemon command in the start() function
--quiet needs to be removed so the output can be sent to the /var/run/${SVCNAME}.pid file
Comment 12 Stefan Briesenick (RETIRED) gentoo-dev 2008-07-14 10:43:56 UTC
yes, indeed. I fixed this in CVS.

But this is also a regression because of OpenRC. With the old baselayout, it worked.