23:47 Changeset [24215] by broder
In printing-config: * Include add-athena-printer script for configuring Athena print queues not available via BrowsePoll. parser = optparse.OptionParser( usage="usage: %prog [options] <Athena queue> [<Athena queue> ...]" ) parser.add_option('-f', '--force', action='store_true', dest='force', default=False, help="Attempt to install queue even if checks fail" ) return parser print >>sys.stderr, msg.strip() sys.exit(-1) # Local cupsd cups.setServer(LOCAL_SERVER) lc = cups.Connection() # Remote cupsd cups.setServer(REMOTE_SERVER) rc = cups.Connection() queues = rc.getPrinters() if queue not in queues: error('Athena printer %s does not exist' % queue) if not force and queue in lc.getPrinters(): error('The Athena printer %s has already been configured locally' % queue) info = queues[queue] # Download the PPD try: ppd = rc.getPPD(queue) except: error(""" try: lc.addPrinter(queue, filename=ppd, info=info['printer-info'], location=info['printer-location'], device=info['printer-uri-supported']) for k, v in rc.getPrinterAttributes(queue).items(): if not v: continue if not k.endswith('-default'): continue k = k[:-len('-default')] lc.addPrinterOptionDefault(queue, k, v) lc.acceptJobs(queue) lc.enablePrinter(queue) finally: os.unlink(ppd) options, args = parser().parse_args() try: if (not options.force and os.getuid() != 0 and grp.getgrnam('lpadmin').gr_gid not in os.getgroups()): error(""" except Exception: error(""" for q in args: addAthenaPrinter(q, force=options.force) main() { matrix currentmatrix % Push current matrix 5 1 roll % roll to bottom 3 index 2 index add 3 index moveto % move to start 4 2 roll translate scale % translate then scale 0 0 1 0 360 arc % draw it setmatrix % restore matrix } def motdfontsize mul leftmargin exch currentpoint exch pop exch sub moveto cvn motdfontsize selectfont gsave (\033) search % post (\033) pre true OR string false { stringwidth pop exch pop exch % prelen post ( ) search exch dofont % prelen post ( ) true OR prelen false { pop measure add } if } { stringwidth pop } ifelse grestore dup measure currentpoint pop add rightmargin gt { currentpoint pop leftmargin ne { 1 newline } if } if currentpoint pop exch { (\033) search % post (\033) pre true OR string false { show pop ( ) search exch dofont % post ( ) true OR false { pop exch pop currentpoint pop exch } { exit } ifelse } { show exit } ifelse } loop % and write the following space if we wrote anything else currentpoint pop ne { ( ) show } if % split into words and write them one by one { ( ) search { dup length 0 eq { pop show } { doword pop } ifelse } { exit } ifelse } loop doword % If text contains newline, parwrap first half, newline, and wrap % second half. if not, just parwrap whole thing. (\n) search { parwrap pop 1.75 newline innerwrap } { parwrap } ifelse exch /rightmargin exch def exch /leftmargin exch def (Times-Roman) dofont innerwrap dup stringwidth pop -1 mul 0 rmoveto show % set clipping path gsave newpath pageleft pagetop moveto pageright pagetop lineto pageright vsplit lineto pageleft vsplit lineto pageleft pagetop lineto clip newpath % date pageleft pagetop otherfontsize sub moveto otherfont setfont ({time-at-creation}) show % logo pageleft hsplit .25 inch sub add 2 div vsplit pagetop add 2 div moveto gsave .75 setgray logo grestore % vertical line hsplit pagetop moveto hsplit vsplit lineto stroke % username gsave pageright pagetop userfontsize .75 mul sub moveto userfont setfont pageright hsplit .25 inch add sub dup ({job-originating-user-name}) stringwidth pop lt { ({job-originating-user-name}) stringwidth pop div 1 scale } { pop } ifelse ({job-originating-user-name}) stringwidth pop -1 mul 0 rmoveto ({job-originating-user-name}) show grestore otherfont setfont % host pageright pagetop userfontsize sub otherfontsize sub moveto ({job-originating-host-name}) rshow % queue/job pageright pagetop userfontsize sub otherfontsize 2.2 mul sub moveto ({printer-name})show pageright pagetop userfontsize sub otherfontsize 2.2 mul sub moveto ({job-name}) rshow % horizontal line pageleft vsplit moveto pageright vsplit lineto stroke % undo clipping path grestore % left top right bottom spacing % left bottom right top spacing /spacing exch def /graphtop exch def /graphright exch def /graphbot exch def /graphleft exch def gsave 0 setlinewidth graphleft spacing graphright { dup graphtop moveto graphbot lineto stroke } for graphtop spacing neg graphbot { dup graphleft exch moveto graphright exch lineto stroke } for grestore % ulx uly length height 4 div % substitute h/4 for h 4 2 roll moveto % go to x, y 5 { } repeat pop pop % clear off the stack % llx lly urx ury height number % (coords assume transforms undone) [/n /h /ury /urx /lly /llx] {exch def} forall % undo transforms from the top of the job -90 rotate inchwidth inch neg 0 translate 2 setlinecap newpath % calculate dy between staves based on size and num/page ury lly sub h n mul sub n 1 sub div h add 0 1 n 1 sub { % spc i } for stroke pop 0.40 setlinewidth pagetop vsplit sub 1 inch add pageleft pagetop pageright .5 inch sub 25 12 musicpaper 0.48 setlinewidth pagetop vsplit sub 1 inch add pageleft pagetop pageright .5 inch sub 30 10 musicpaper /hex { dohex }
16:08 Ticket #459 (alpine should respect ATHENA_USER as FROM address) closed by andersk
duplicate: Dupe of #422.
16:00 Ticket #460 (mail / sendmail should respect $ATHENA_USER for from) created by adehnert
Sending mail with mailx(1) / /usr/sbin/sendmail should respect the …
15:54 Ticket #459 (alpine should respect ATHENA_USER as FROM address) created by adehnert
When you run Alpine on a machine where your local user is differently …


13:03 Ticket #458 (Non-BSD CUPS clients should choose the correct server) created by broder
Apparently the BSD-style commands (lpr, lpq, lprm, lpc) are being phased …
12:56 Ticket #448 (lprm/lpq wrapper should point you at the right CUPS server) closed by broder


22:54 Ticket #457 (force logout of abandoned cluster causes greyout) created by afarrell
After trying to force logout a user who has been away yet logged in for a …
18:25 Changeset [24214] by rbasch
In cluster-login-config: * Don't configure /etc/gdm/gdm.conf{,-custom} on post-gdm-2.20 platforms.
17:05 Changeset [24213] by rbasch
In debathena-kiosk: * Add a launcher GUI for the new gdm login window. (Trac: #431) * Disable the tabs bar for Firefox 3.5. * Move non-executables to /usr/share/debathena-kiosk.


21:00 Changeset [24212] by broder
Set the maintainer to the Debathena Project when debathenifying lprng.
20:59 Changeset [24211] by broder
Add "set_debathena_maintainer" frob to the debathenificator. (Trac: #456) set_debathena_maintainer adds the current Maintainer to XSBC-Original-Maintainer (creating the latter if it doesn't already exist), and sets the Maintainer to the Debathena Project.
20:56 Changeset [24210] by broder
Correctly transform recent versions of lprng, which have been converted to debhelper 7. (Trac: #446) Also be sure to error out if the transformation ever fails.
16:52 PackageNamesWeDidntUse edited by andersk
DOSathena! (diff)


20:08 PackageNamesWeDidntUse edited by broder
Submitted by mitchb (diff)


21:54 Ticket #456 (Maintainer for debathenified packages should be Debathena) created by broder
For reasons more or less identical to those in …
20:06 Changeset [24209] by broder
In printing-config: * Don't try to parse variables if their value is None.
20:05 Changeset [24208] by broder
Clean up directories that should have been deleted in r24202.
18:15 Changeset [24207] by rbasch
In gdm-config: * Don't divert /usr/share/gdm/BuiltInSessions/default.desktop in the new gdm, where it no longer exists. (Trac: #447) * Add a gconf default to disable the user list in the new gdm. (Trac: #429)
14:47 Changeset [24206] by geofft
Inspired by r24205, tweak the version check in various postinsts. The version check should take into account Debathena's ~distro version tags. Like the previous commit, this is for reference and does not necessitate a rebuild, if for no other reason than we've advanced well past the version in question.
12:10 Changeset [24205] by broder
Correct the DEB_UNDIVERT_VERSION versions in reactivate and printing-config. Without the trailing tilde, upgrading *from* the version where DEB_UNDIVERT_VERSION was set will trigger a single, harmless OMINOUS WARNING because of Debathena's ~distro version tags. These changes are just there for the sake of future reference, and do not need a package rebuild, so there's no changelog entry for either.
10:36 Changeset [24204] by broder
In printing-config: * Add missing dependency on python-cups.
02:59 Changeset [24203] by geofft
Fix a typo in r24202 that caused a FTBFS.
02:27 Changeset [24202] by geofft
In printing-config: * Stop wrapping lpc, since it's only useful with LPRng, and cancel, since it's not useful with LPRng (it's treated exactly the same as LPRng's lprm).
01:51 Changeset [24201] by geofft
In printing-config: * When doing operations against CUPS printers, act against the realserver because load balancing otherwise gets in your way. * Remove /etc/debathena-printing.conf and revert 1.4 and much of 1.7. Use the printing subsystem that the print queue lives on; attempt to convert LPRng options to CUPS ones for CUPS printers, but not vice versa. * Rephrase man pages to stop talking about Athena 10, and mention cups-lp(1)'s documentation of the -o options to lpr. * Fix a bug relating to lp using -d for its destination, not -P.


10:06 Ticket #455 (Inventory WRW apps on Athena and determine how they print) created by jdreed
We need to inventory the WRW apps, and determine how they print. The goal …
00:13 PackageNamesWeDidntUse edited by geofft
00:08 Ticket #454 (warn that changing root's password on clusters is pointless) created by geofft


18:58 Changeset [24200] by rbasch
In xsession: * Define a message function for use by Xsession.d scripts if the Xsession script has not done so.
12:26 Ticket #445 (debathena-libmoira-dev doesn't install moira.h) closed by broder
11:36 Ticket #453 (bugme kernel oops) created by geofft
Occasionally users can't log in because bugme dies in kernelspace. I …


16:14 Changeset [24199] by broder
In reactivate: * Now that policy-rc.d isn't blindly allowing stops and starts for anything in the chroot, we should be sure that the chroot actually knows it's a chroot before we try to start CUPS in it.
15:51 Changeset [24198] by broder
In reactivate: * Fix the policy-rc.d to actually allow for restarting cups and cupsys inside the chroot. Apparently pipes can delineate patterns, but don't mean anything within a single pattern, such as the one one pattern that results from variable expansion.
15:13 Changeset [24197] by broder
Fix a typo in the reactivate postinst.
14:00 Changeset [24196] by broder
In reactivate: * Clean up the CUPS remote queue cache on logout and package upgrades.
12:23 Ticket #452 (put up a "logging in" / "logging out" spinner) created by geofft
Black screens with just a cursor are scary. For bonus points, try to have …
11:45 Ticket #451 (reactivate 2 needs to clean up harder) created by geofft
I thought schroot would save us but it doesn't; the last two machines I …
10:17 PackageNamesWeDidntUse edited by nelhage
04:14 Ticket #450 (spread the gospel of Debathena packaging) created by geofft
It occurs to me that a fun side project would be to get some other people …


23:49 Ticket #97 (Use unionfs instead of LVM snapshots) closed by broder
fixed: Right! I can close tickets. We moved this to production at 9:59 PM …
23:48 Ticket #441 (reactivate 2 isn't getting krb4 tickets) closed by broder
fixed: Right! I can close tickets. We moved this to production at 9:59 PM …
22:12 Ticket #119 (Moira GUI) reopened by geofft
WONTFIXing tickets because they should go elsewhere without actually …


21:20 Changeset [24195] by broder
Fix build-all's handling of equivs packages and packages that shouldn't be built for a particular release.
16:07 Ticket #449 (Deal with .generation double-sided support for CUPS) created by jdreed
According to Mark Manley, creating ~/.cups/lpoptions which contains […] …
15:14 Ticket #448 (lprm/lpq wrapper should point you at the right CUPS server) created by jdreed
With the transition of the cluster printers to CUPS, lprm and lpq now only …


20:11 Ticket #447 (Update login session options for new gdm in karmic) created by rbasch
We will need to update our login session customizations for the new …
18:17 Changeset [24194] by broder
Bump the squeeze tag we append to packages for a rebuild.
18:16 Changeset [24193] by broder
Update our build infrastructure and docs to use aufs chroots instead of LVM snapshots.
17:29 Ticket #446 (debathena-lprng fails to patch lpc on squeeze) created by broder
The debathenify-lprng script fails to rename lpc -> mit-lpc on Squeeze. …
10:55 Changeset [24192] by broder
Re-arrange debathena-moira changelog since version 4.0.0+cvs20090922-0debathena2 was never uploaded.
10:54 Changeset [24191] by broder
In moira: * New CVS snapshot. * Drop patch fix-update-ticket, which was incorporated upstream.
10:45 Ticket #391 (Stop debathenifying bash and tcsh because no one uses double-tilde) closed by broder
fixed: All done.
10:41 Ticket #418 (pam-config enables libpam-krb524 on krb4-less systems) closed by broder
10:41 Ticket #428 (debathena-pidgin-wrapper doesn't respect ATHENA_USER) closed by broder
10:40 Ticket #347 (discuss configure.in uses obsolete AC_TYPE_SIGNAL) closed by broder
10:40 Ticket #266 (debathena-discuss: missing manpages) closed by broder
10:31 Changeset [24190] by broder
In moira: * Add a missing definition of ${prefix} in include/Makefile.in so that the moira.h header actually gets installed in /usr/include/moira. (Trac: #445)
09:44 Ticket #445 (debathena-libmoira-dev doesn't install moira.h) created by jdreed
third/moira/include/Makefile.in does not define $prefix, and $includedir …


19:00 Ticket #444 (LPRng options don't work with CUPS) created by geofft
A user has reported that -Zduplex -h doesn't work any more. While this …
16:55 Ticket #443 (We need a better bug reporter) created by jdreed
We need a better bug reporter, such as one which actively discourages …
14:55 Changeset [24189] by broder
Delete the ldap-cups-config package. LDAP-based browsing was abandoned due to flakiness in CUPS' handling of LDAP.


20:36 Ticket #442 (SIPB apt repo) created by geofft
I think we've discussed this kind of thing a few times previously and …
19:34 Changeset [24188] by broder
Update discuss to not call initialize_krb5_error_table on Mac OS X systems. r23811 replaced a call to initialize_krb_error_table with initialize_krb5_error_table, which is unnecessary with OS X's version of com_err.
18:25 Changeset [24187] by broder
Bump reactivate's version number. reactivate 2.0 in the apt repository was actually snapshotted from r24153, so it lacks the fix for homedirs that are system:anyuser none, and for preserving KRB5CCNAME/KRBTKFILE.
14:56 Changeset [24186] by broder
Just for good measure, have cluster conflict with current-and-older versions of debathena-cluster-printing-config.
14:47 Changeset [24185] by broder
/Actually/ remove debathena-cluster-printing-config As opposed to the first thing I see that starts with "cluster".
14:44 Changeset [24184] by broder
Revert cluster 1.15 (adding cluster-printing-config to cluster) until we better understand how it works.
11:01 Ticket #310 (Can't log in graphically if quota is exceeded) closed by broder
fixed: pulseaudio 1:0.9.14-0ubuntu20.3 hit jaunty-updates today. It's already hit …
10:57 Ticket #441 (reactivate 2 isn't getting krb4 tickets) created by quentin
pam_krb524 works when it runs when you first login. However, when the …
00:21 Ticket #440 (n-up printing from evince doesn't work) created by geofft
I've had about two reports from different people that n-up printing on …


19:47 PackageNamesWeDidntUse edited by adehnert
debathena-ssh-client-config is a real package (diff)
14:22 Ticket #397 (CUPS should probably support lpr -Pprinter2) closed by broder


18:17 Changeset [24183] by broder
Fix a typo in discuss's Makefile.
17:48 Changeset [24182] by broder
Be sure to install manpages for section 8 in discuss.
17:35 Changeset [24181] by broder
In discuss: * Add missing manpages. (Trac: #266)
16:48 Changeset [24180] by broder
In pidgin-wrapper: * Fix a typo in 10.0.4.
16:41 Changeset [24179] by broder
In pam-config: * Only enable libpam-krb524 if krb4 is actually available. (Trac: #418)
16:23 Changeset [24178] by broder
In pidgin-wrapper: * Check ATHENA_USER before using USER. (Trac: #428)
16:20 Ticket #439 (Generate command-not-found database for Debathena) created by broder
Even if we can't directly use command-not-found as a whichlocker …
16:00 Changeset [24177] by broder
In discuss: * Stop using the obsolete AC_TYPE_SIGNAL. (Trac: #347)
15:52 Ticket #291 (mail-icon-config should know about some common external mail providers) closed by broder
wontfix: I think the general conclusion here was that this would be a completely …
15:38 Changeset [24176] by broder
Stop debathenifying bash and tcsh. (Trac: #391)
15:31 Changeset [24175] by broder
Punt debathena-bash and debathena-tcsh from all recommendations.
13:32 Changeset [24174] by broder
Update schroot's configure to incorporate the changes in r24173.
13:05 Changeset [24173] by broder
In schroot, revert 43caff29 from upstream. Jaunty doesn't appear to offer non-multithreaded versions of the Boost libraries, which is causing a FTBFS.
12:52 Ticket #436 (repository and build process for patched schroot 1.3) closed by broder
fixed: I've imported schroot wholesale into /trunk/debathena/third/schroot, and …
12:41 Changeset [24172] by broder
Import the autogoo generated files in schroot. The packaging doesn't build these itself, so we need to.
12:40 Changeset [24171] by broder
Properly debathenify schroot. (Move it into the debathena-system component, provide debathena- names, and update the descriptions)
12:21 Changeset [24170] by broder
Fix /etc/setup.d/00check to permit union chroots on the root filesystem. It's only unsafe for the chroot directory to be the root directory if we're not doing a union filesystem on top of it. Note that to make this useful, you'll need to make the overlay a separate filesystem (e.g., by mounting a tmpfs on /var/lib/schroot/union/overlay) for aufs to permit the mount. Patch by Geoffrey Thomas.
12:20 Changeset [24169] by broder
Only use silent-rules in automake if it's available. This permits compiling with an older automake. (Patch by Geoffrey Thomas)
12:19 Changeset [24168] by broder
Adjust schroot build-deps for backport to Jaunty.
12:15 Changeset [24167] by broder
Import schroot upstream into subversion.


19:35 Ticket #123 (debathena-ssl-certificates should include a CRL) reopened by andersk
Does the CRL Distribution Points URL actually get used by anything?
19:23 Ticket #411 (We should honor $PRINTER, including in the GUI if possible) closed by broder
wontfix: Based on discussion at release-team, I'm declaring this a WONTFIX. We …
19:21 Changeset [24166] by broder
In printing-config: * Revert 1.15, based on further examination of how Gtk+ printing works.
18:10 Ticket #86 (firefox-extension should install CRL) reopened by rbasch
Server certs do include the CRL distribution point now, but I believe …
17:45 Ticket #438 (install MS Office on clusters) created by geofft
It would be really cool if we could use one of our site licenses for MS …
15:01 Ticket #326 (debathena-kerberos-config forgets to reload apparmor) closed by broder
fixed: This was fixed back in version 1.8 of kerberos-config
14:59 Ticket #123 (debathena-ssl-certificates should include a CRL) closed by broder
wontfix: Apparently mitcert-issued certs now include a CRL in them, which means …
14:59 Ticket #86 (firefox-extension should install CRL) closed by broder
wontfix: Apparently mitcert-issued certs now include a CRL in them, which means …


02:23 Ticket #435 (reactivate 2 regression: home directory must be world-listable) closed by geofft
fixed: Right, this is because I started using schroot -u root and root doesn't …
02:21 Changeset [24165] by geofft
reactivate: Run root commands inside the snapshot in /, not $HOME This permits logging in if your home directory isn't system:anyuser listable, since root no longer needs to be able to cd to your home directory inside the chroot (Trac: #435).
01:22 Changeset [24164] by geofft
reactivate: Prevent schroot from filtering out KRBTKFILE


18:00 Ticket #307 (the non-gdm tty "press ctrl-alt-f7 to log in" messages are gone in Jaunty) reopened by geofft
1. This affects gettys as well (I'm running a getty on lola-granola's …
17:21 Changeset [24163] by broder
In printing-config: * Only write out a block in the lpoptions file if there is a printer set in clusterinfo.
16:39 Changeset [24162] by broder
In cluster-login-config: * Revert 1.16; set the root password for both quickstation and non-quickstation machines.
16:22 Changeset [24161] by broder
Add a postinst to printing-config that refreshes clusterinfo if it's installed. This ensures that the CUPS default is updated when printing-config is initially installed or upgraded, rather than an hour later.
16:20 Changeset [24160] by broder
In clusterinfo: * Suppress the cron job if clusterinfo has been uninstalled.
16:08 Changeset [24159] by broder
In printing-config: * Take advantage of the new clusterinfo update.d hook to set a default CUPS printer when clusterinfo gets updated. (Trac: #411) sed -i -e '/### BEGIN debathena-printing-config/,/### END debathena-printing-config/d' /etc/cups/lpoptions
14:31 Changeset [24158] by broder
In clusterinfo: * Make save-cluster-info do something slightly less dumb if /var/run/athena-clusterinfo.sh or .csh is somehow a directory * Source the new clusterinfo information befure calling the update.d scripts so that they can access the environment variables easily.
13:05 Changeset [24157] by broder
In clusterinfo: * Run through scripts in /usr/share/debathena-clusterinfo/update.d after updating clusterinfo information. This gives other packages a hook for reacting to clusterinfo changes.
12:38 Ticket #437 (Consider expanding debathena-metrics blacklist) created by jdreed
We should expand the blacklist. We can either explicitly add some of the …
11:35 Changeset [24156] by broder
Fix a typo in r24154.
11:31 Changeset [24155] by broder
Add cluster-printing-config to cluster.
11:31 Changeset [24154] by broder
In printing-config: * Add a new debathena-cluster-printing-config package that configures the CUPS client to use printers.mit.edu.
02:33 Ticket #436 (repository and build process for patched schroot 1.3) created by geofft
The debathenificator doesn't currently support starting with a completely …
02:23 Ticket #435 (reactivate 2 regression: home directory must be world-listable) created by geofft
gkovacs reports and I confirmed with sipbtest that you can't log in to a …
01:04 Changeset [24153] by geofft
reactivate: Fix typo


00:25 Ticket #434 ("Spooled PDF File Rejected" from GTK+ LPR backend) created by geofft
If you open a .jpg in Eye Of GNOME (the default JPG viewer), and print it …


21:48 Changeset [24152] by geofft
In auto-update: * Slow updates to a 6-hour (desync'd) schedule during waking hours.
21:10 Changeset [24151] by geofft
reactivate: Restore shared mountpoint at /media.
21:10 Changeset [24150] by geofft
reactivate: Clean up /etc/schroot/schroot.conf. If this update happens during a login session, then reactivate 1.x will have modified schroot.conf, and schroot 1.3 will want to update that file, and athena-auto-update is unlikely to deal with this correctly. To avoid this, we clean up schroot.conf in our preinst; hopefully that happens before schroot 1.3 gets unpacked. And you don't particularly need to be in schroot.conf once you've logged in, anyway. (reactivate 2 uses chroot.d to avoid this problem.)
21:10 Changeset [24149] by geofft
reactivate: Restructure to make post-session cleanup easier. In addition, work with auto-update to lock out concurrent login sessions and updates, so as to reboot either if there was a package update requiring a reboot or if the login session cannot be cleaned up.
21:10 Changeset [24148] by geofft
reactivate: Remove a file that became unused in r23155.
21:10 Changeset [24147] by geofft
In auto-update: * Inhibit updates during a cluster login. * Write an /etc/nologin-style file in /var/run while updating.
Note: See TracTimeline for information about the timeline view.