Re: [Bug 1273205] Re: /etc/init/ttyAMA0.conf causes endless tty spewage if ttyAMA does not exist

2014-02-07 Thread Robert C Jennings
Martin Pitt [02/06/2014 11:18 PM] > Robert C Jennings [2014-02-06 20:57 -]: >> Fix is included in 20140125 daily build of raring. > > I presume/hope you mean trusty here :-) Yes, trusty too. :) -- You received this bug notification because you are a member of Ubuntu Server Team, which is su

Re: [Bug 1273205] Re: /etc/init/ttyAMA0.conf causes endless tty spewage if ttyAMA does not exist

2014-02-06 Thread Martin Pitt
Thanks for the fix! Robert C Jennings [2014-02-06 20:57 -]: > Fix is included in 20140125 daily build of raring. I presume/hope you mean trusty here :-) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-init in Ubuntu. https:/

[Bug 1273205] Re: /etc/init/ttyAMA0.conf causes endless tty spewage if ttyAMA does not exist

2014-02-06 Thread Robert C Jennings
Fix is included in 20140125 daily build of raring. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-init in Ubuntu. https://bugs.launchpad.net/bugs/1273205 Title: /etc/init/ttyAMA0.conf causes endless tty spewage if ttyAMA does

[Bug 1273205] Re: /etc/init/ttyAMA0.conf causes endless tty spewage if ttyAMA does not exist

2014-02-06 Thread Robert C Jennings
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 This is added by the cloud image build process and should be resolved in the next build. Fix was committed to lp:~ubuntu-on-ec2/vmbuilder/automated-ec2-builds revision #578 and #579. With this change the getty will only be started if 'stty -F /dev/

[Bug 1273205] Re: /etc/init/ttyAMA0.conf causes endless tty spewage if ttyAMA does not exist

2014-02-01 Thread Martin Pitt
Yes, I never thought of it as an LXC bug in the first place. Whatever installs that job (cloud-init? our cloud image build process?) ought to change the upstart job to only start up if such a device exists in the first place. -- You received this bug notification because you are a member of Ubunt

[Bug 1273205] Re: /etc/init/ttyAMA0.conf causes endless tty spewage if ttyAMA does not exist

2014-02-01 Thread Stéphane Graber
lxc-start-ephemeral doesn't attach to /dev/console but to /dev/tty1 which is why you don't see the boot messsages or that error. Unfortunately there isn't a great deal we can do about this in LXC, the best fix is to change the upstart job to only start with "and not- container". A better fix would

[Bug 1273205] Re: /etc/init/ttyAMA0.conf causes endless tty spewage if ttyAMA does not exist

2014-01-28 Thread Ben Howard
** Also affects: lxc (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-init in Ubuntu. https://bugs.launchpad.net/bugs/1273205 Title: /etc/init/ttyAMA0.conf causes endless tty

[Bug 1273205] Re: /etc/init/ttyAMA0.conf causes endless tty spewage if ttyAMA does not exist

2014-01-27 Thread Martin Pitt
Ah, thanks for pointing out /etc/cloud/build.info. In said chroot that says build_name: server serial: 20131219.1 Note that I created this container last Thursday (2014-01-23), I already wondered why there were a gazillion packages to dist-upgrade right after I created it with sudo lxc-create

[Bug 1273205] Re: /etc/init/ttyAMA0.conf causes endless tty spewage if ttyAMA does not exist

2014-01-27 Thread Martin Pitt
Another observation: I still see these messages today after dist- upgrading to container to latest trusty. But *only* with lxc-start, *not* with lxc-start-ephemeral. In the latter case, the job still gets started: $ sudo status ttyAMA0 ttyAMA0 start/running, process 769 but I don't see the spewag

[Bug 1273205] Re: /etc/init/ttyAMA0.conf causes endless tty spewage if ttyAMA does not exist

2014-01-27 Thread Ben Howard
** Changed in: cloud-init (Ubuntu) Status: In Progress => Incomplete -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-init in Ubuntu. https://bugs.launchpad.net/bugs/1273205 Title: /etc/init/ttyAMA0.conf causes endless tt

[Bug 1273205] Re: /etc/init/ttyAMA0.conf causes endless tty spewage if ttyAMA does not exist

2014-01-27 Thread Ben Howard
Martin, Can you confirm the contents of /etc/cloud/build.info? New cloud images have a test to make sure that this sort of thing shouldn't happen. Also I am a bit concerned that this might be an issue with upstart determiniing if its in a container. The previous version should have prevented the j

[Bug 1273205] Re: /etc/init/ttyAMA0.conf causes endless tty spewage if ttyAMA does not exist

2014-01-27 Thread Robert C Jennings
The problem can be mitigated by deleting /etc/init/ttyAMA0.conf or editing to contain the following: # ttyAMA0 - getty # # This service maintains a getty on ttyAMA0 from the point the system is # started until it is shut down again. start on stopped rc RUNLEVEL=[2345] and ( not-contai