Ticket #413 (closed defect: fixed)
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
Note: See
TracTickets for help on using
tickets.
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.