Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] util-linux 2.21 and inittab update in FINAL

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] util-linux 2.21 and inittab update in FINAL
  • Date: Sat, 21 Apr 2012 11:55:01 +0200

On Sa 2012-04-21 08:36:55 +0200, Thomas Orgis wrote:
> Hi,
>
> I just got bitten by an util-linux update breaking my login. Seems like
> this is http://www.sourcemage.org/issues/110 and there is code in FINAL
> dealing with this:
>
> if [ "${VERSION:0:4}" == "2.20" ] && [ "${OLD_SPELL_VERSION:0:4}" == "2.19"
> ]; then
> message "New version of util-linux needs to update /etc/inittab ..." &&
> cp $INSTALL_ROOT/etc/inittab $INSTALL_ROOT/etc/inittab-$(date
> +'%Y%m%d%H%M') &&
> sed -i "s:/dev/tty:tty:" $INSTALL_ROOT/etc/inittab &&
> message "Updated"
> fi &&
>
> Now, of course I broke this by doing the update too late, jumping from 2.19
> to 2.21. So I have two questions about this:
>
> 1. Was the intention to delete the FINAL code when updating to 2.21?
> Because now it is dead meat right there.
> 2. I don't really like the sed line there ... it doesn't check if there is
> actually agetty in the line it works on. There are other getty programs.
>
> So ... what's the intention here? Just remove the code as the update to
> 2.20 is history?
I don't think the update is history. Our Iso is so old that whenever
someone installs a system from it he has to go throught this update.




Archive powered by MHonArc 2.6.24.

Top of Page