sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
[SM-Discuss] util-linux 2.21 and inittab update in FINAL
- From: Thomas Orgis <thomas-forum AT orgis.org>
- To: sm-discuss AT lists.ibiblio.org
- Subject: [SM-Discuss] util-linux 2.21 and inittab update in FINAL
- Date: Sat, 21 Apr 2012 08:36:55 +0200
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?
Alrighty then,
Thomas
PS: I want to add that I really, really am angry at util-linux folks for not
just supporting /dev paths anyway. What's so hard about this?
Attachment:
signature.asc
Description: PGP signature
-
[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.