Ticket #413 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

alpine-config: ${ATHENA_USER:-$USER} doesn't work

Reported by: geofft Owned by:
Priority: normal Milestone:
Component: -- Keywords:
Cc: Fixed in version:
Upstream bug:

Description

alpine implements its own ${foo:-bar} parsing that's nonrecursive, so if $ATHENA_USER is unset, you get an error message about not finding a literal $USER.mail.mit.edu.

Perhaps we should fix this to be recursive, send the patch upstream, and Debathenify it, but among other concerns with this approach, that gets seriously in the way of the goal of stopping Debathenifying alpine and using the distro version (because we no longer need either the krb4 or Hesiod patches).

We could also just try harder to make sure $ATHENA_USER is set no matter what.

Change History

comment:1 Changed 12 years ago by geofft

  • Status changed from new to proposed

Sometime in between when we created this ticket and now, we started wrapping /usr/bin/alpine, so I've made the wrapper set $ATHENA_USER no matter what and gotten rid of ${ATHENA_USER:-$USER} in r24285.

comment:2 Changed 12 years ago by geofft

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

Moved to production.

Note: See TracTickets for help on using tickets.