sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
Re: [SM-Discuss] util-linux 2.21 and inittab update in FINAL
- 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.
-
[SM-Discuss] util-linux 2.21 and inittab update in FINAL,
Thomas Orgis, 04/21/2012
-
Re: [SM-Discuss] util-linux 2.21 and inittab update in FINAL,
Florian Franzmann, 04/21/2012
-
Re: [SM-Discuss] util-linux 2.21 and inittab update in FINAL,
Thomas Orgis, 04/21/2012
- Re: [SM-Discuss] util-linux 2.21 and inittab update in FINAL, Andraž 'ruskie' Levstik, 04/21/2012
-
Re: [SM-Discuss] util-linux 2.21 and inittab update in FINAL,
Thomas Orgis, 04/21/2012
-
Re: [SM-Discuss] util-linux 2.21 and inittab update in FINAL,
Ladislav Hagara, 04/23/2012
-
Re: [SM-Discuss] util-linux 2.21 and inittab update in FINAL,
Thomas Orgis, 04/23/2012
- Re: [SM-Discuss] util-linux 2.21 and inittab update in FINAL, Sukneet Basuta, 04/23/2012
- Re: [SM-Discuss] util-linux 2.21 and inittab update in FINAL, Jaka Kranjc, 04/24/2012
-
Re: [SM-Discuss] util-linux 2.21 and inittab update in FINAL,
Thomas Orgis, 04/23/2012
-
Re: [SM-Discuss] util-linux 2.21 and inittab update in FINAL,
Florian Franzmann, 04/21/2012
Archive powered by MHonArc 2.6.24.