Fedora 10 - EC2 small - mingetty
Created a Fedora 10 EC2 small instance yesterday and noticed /var/log/messages filling. The mingetty app was complaining that /dev/tty2 - /dev/tty6 was not found even though inittab didn't mention them. Created the devices using mknod even though they aren't being used and the messages ceased.
2
people have this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?I saw same behavior with my fc10 build I just made today so clearly this still exists. I fixed it by running as root:
# mknod /dev/tty2 c 4 2
# mknod /dev/tty3 c 4 3
# mknod /dev/tty4 c 4 4
# mknod /dev/tty5 c 4 5
# mknod /dev/tty6 c 4 6
I’m dissaspointed
-
Inappropriate?Actually, that will only persist on reboots. If you terminate or start a new instance of that AMI, /dev/tty2 - /dev/tty6 will need to be created each time. I added this to my /etc/rc.local and re-bundled my AMI:
if [ ! -e /dev/tty2 ]
then
mknod /dev/tty2 c 4 2
fi
if [ ! -e /dev/tty3 ]
then
mknod /dev/tty3 c 4 3
fi
if [ ! -e /dev/tty4 ]
then
mknod /dev/tty4 c 4 4
fi
if [ ! -e /dev/tty5 ]
then
mknod /dev/tty5 c 4 5
fi
if [ ! -e /dev/tty6 ]
then
mknod /dev/tty6 c 4 6
fi
-
Inappropriate?Hi,
Thanks for those suggestions. Sorry it took a little longer than I thought.
We have put in a fix into all Elastic Server new assemblies going forward (from about 10 minutes ago) which essentially puts in the missing tty nodes on EC2 when needed.
We implemented this as an Elastic Server "run on boot script" component which goes into all builds. If for some reason you don't want this script it is /etc/cft.d/onboot/tty-tweak-for-ec2
On the next release of our factory nodes for EC2 we will put in a more specific fix for EC2 only, and then remove the run-on-boot-script from all future assemblies.
Thanks for the patience.
Pat K
CohesiveFT
I’m glad we fixed it
-
Thanks.
Loading Profile...



EMPLOYEE