Page MenuHomePhabricator

Override the name of the Squid Proxy owner to something meaningful
Closed, ResolvedPublic

Description

Currently the/a Squid Proxy box is returning "nobody" as it's owner, this text should be over ridden with something meaning in the configuration. Maybe something like "Wikimedia Foundation".


Version: unspecified
Severity: enhancement
URL: http://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technical)&oldid=292184696#Your_cache_administrator_is_nobody

Details

Reference
bz18903

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:37 PM
bzimport set Reference to bz18903.

Mark, is this a field that is meant to have an email address or something? Do we have a nice address to target for that, or can we at least put something non-confusing in its place? :D

This email thread on the squid-cache mailing lists seem to show how to do it[1].

  1. http://www.squid-cache.org/mail-archive/squid-users/200005/0891.html

The 'nobody' comes from the value of squid cache_mgr http://www.squid-cache.org/Doc/config/cache_mgr/ . Nowadays we are only use squid for text which are being migrated to Varnish cache.

We will soon no more have any squid running on the cluster. This request will thus not be implemented. Sorry :-]

It was originally a real email address. I set it to nobody when I rewrote the Squid configuration in 2005, because I did not want to encourage people to send people emails whenever they saw an error message. I would have preferred to remove the message entirely, but Squid did not provide a way to do that; the message is displayed unconditionally.

Or to put it another way

IN SOVIET WIKIPEDIA, CACHE ADMINISTERS YOU

(In reply to comment #4)

It was originally a real email address. I set it to nobody when I rewrote the
Squid configuration in 2005, because I did not want to encourage people to
send
people emails whenever they saw an error message. I would have preferred to
remove the message entirely, but Squid did not provide a way to do that; the
message is displayed unconditionally.

This was filed back in the day when they were commonish sight (Secure maybe? I dont remember), I don't recall the last time i've actually seen one.

So this bug can probably be closed out if we really wanted, or just put something like the generic noc@ in there.

p858snake : the squid text caches are going to use varnish, so we are not going to fix this :-D

(In reply to comment #7)

p858snake : the squid text caches are going to use varnish, so we are not
going
to fix this :-D

:) https://gerrit.wikimedia.org/r/#/c/65570/2/templates/varnish/errorpage.inc.vcl.erb

Really?

I landed here after clicking "nobody" at "Your cache administrator is nobody." in an error page:

Wikimedia Foundation
Error

Our servers are currently experiencing a technical problem... If you would like to help, please donate... Your cache administrator is nobody.

What a joke. :) :/ :?

Quim: that is working as intended :-]

(In reply to comment #10)

Quim: that is working as intended :-]

So, we don't want to hear problem reports? I think the intention is wrong.

That is true Mark. We don't want half the planet to spam the mail server with useless reports that would never be read. 101% of the time, we get outages reported by tech savvy volunteers over IRC and wikitech-l.

(In reply to comment #12)

That is true Mark. We don't want half the planet to spam the mail server with
useless reports that would never be read. 101% of the time, we get outages
reported by tech savvy volunteers over IRC and wikitech-l.

I understand, but right now this just links to a "WONTFIX" bugzilla ticket.

Wouldn't it be better if the link was something like "report this" and just automatically gathered some information about the problem and then sent them to the status page where these issues are monitored?

(For now, my issue appears to be a real bug that I'll have to report elsewhere.)

The message in the Varnish error page, with the link to this bug report, is literally a joke. It was added to Varnish by Mark Bergsma as a nostalgic reference to the bug in Squid, which was the original subject of this bug report.

(In reply to comment #14)

The message in the Varnish error page, with the link to this bug report, is
literally a joke.

I appreciate that. I think, though, that Quim's response here shows the confusion when this happens. People who click the link ("It says 'nobody', but there is a link here. Maybe they just didn't fill in the name.") aren't going to see the humor since they don't usually use Bugzilla to convey humor.

Change 95147 had a related patch set uploaded by Mattflaschen:
Remove "Your cache administrator is nobody" joke.

https://gerrit.wikimedia.org/r/95147

This is not as funny when you actually get the error, which I just did on POSTing an edit.

svenmanguard wrote:

Yeah, I'd just remove the line entirely. It serves no purpose.

Change 95147 merged by Tim Starling:
Remove "Your cache administrator is nobody" joke.

https://gerrit.wikimedia.org/r/95147

Merged Matt's joke removal change on the basis of insufficient hilarity. I suggest Mark B. comes up with a funnier joke.