It does seem people's opinions on this are cultural and situational, though. Like many people do not feel particularly upset by a veteran or senior discount. But for textbooks, I think most people feel like the massive margins publishers push are already unreasonable and thus the existence of asymmetric pricing is actually evidence that the margins are larger than necessary.
Not sure, though. Most practices that involve some form of discrimination are bound to be controversial in some way. (Even describing them using the term 'discrimination' is sometimes controversial due to the connotations that the word carries, but alas.)