Ticket #518 (closed task: fixed)

Opened 14 years ago

Last modified 14 years ago

Kill lpr2 with fire

Reported by: jdreed Owned by: jdreed
Priority: normal Milestone: Spring 2010
Component: printing Keywords:
Cc: Fixed in version:
Upstream bug:

Description

Unless release-team or consultdev objects, I will soon replace lpr2 with a script that tells users to stop using lpr2 and directs them to a URL for more information.

I don't want to yank it completely, because many applications which shell out to lpr kind of suck at informing the user that something went wrong.

The new lpr2 will warn users by zenity and/or zephyr on each invocation, as well as a one-time e-mail notification.

Change History

comment:1 Changed 14 years ago by jdreed

  • Status changed from new to accepted

This is ready to go, but I'm not going to deploy it until the 31st at the earliest. After I deploy it, /afs/.athena/contrib/consult/src/shell-scripts/lpr2.desupport will replace "lpr2" for i386_deb40 only. The script does the following:

  • If ATHENA_USER is not set, whine at the user via zenity or stderr as appropriate
  • If ATHENA_USER is set, whine at the user via zenity or zephyr (depending on whether they're locatable)
  • If the user has not yet received e-mail from us, whine at them via e-mail and CC it to lpr2-desupport (a discuss meeting)
  • exit with nonzero so that whatever is calling lpr2 knows that something bad happened.

The message directs users to  http://kb.mit.edu/confluence/x/mIBh.

I have removed all references to lpr2 from our stock answers.

comment:2 Changed 14 years ago by jdreed

  • Status changed from accepted to closed
  • Resolution set to fixed

Will be deployed with tonight's volume release

Note: See TracTickets for help on using tickets.