So /dev/console exists but isn't immediately "ready for work". It appears it
becomes fully functional later (otherwise it would not be possible to start
the failing services manually).
Can we figure out at what point /dev/console becomes functional?

In the meantime two workarounds seem doable, both assuming /dev/console
doesn't depend on anything started during boot:
1. A boot script that doesn't complete until /dev/console works, make
rc/rc-sysinit boot sequence depend on it.
2. A patch in upstart that waits until /dev/console works.

Any thoughts?

Wout


On Mon, Jun 28, 2010 at 18:43, Scott James Remnant
<sc...@canonical.com>wrote:

> My understanding of this bug is that System V services fail to start
> because the rc-sysinit or rc jobs fail because /dev/console cannot be
> opened.  A workaround appears to be to comment out "console output" from
> those jobs.
>
> I also understand that in all cases, /dev/console actually exists --
> it's a fundamental node that always exists in the devtmpfs filesystem,
> and is created by the initramfs for a tmpfs-on-/dev filesystem.  In the
> case where neither of these is used, the node must exist on the root
> filesystem and is created as part of the installer process.
>
> And since it exists, but returns an error when it's being opened, this
> strongly implies some kind of kernel bug.
>
> --
> CUPS and other system services not starting at boot
> https://bugs.launchpad.net/bugs/554172
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in “upstart” package in Ubuntu: Confirmed
>
> Bug description:
> Binary package hint: cups
>
> Cups is not loading on my machine at boot, must run sudo /etc/init.d/cups
> start to after booting to print.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 10.04
> Package: cups 1.4.2-10
> ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
> Uname: Linux 2.6.32-19-generic i686
> NonfreeKernelModules: nvidia
> Architecture: i386
> Date: Fri Apr  2 13:07:35 2010
> InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100401)
> Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat:
> Connection refused
> MachineType: Dell Inc. Studio XPS 1340
> Papersize: letter
> PpdFiles: Brother-HL-2170W-series: Brother HL-2170W Foomatic/pxlmono
> (recommended)
> ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-19-generic
> root=UUID=615bbe85-506a-4152-af5a-a5c2da303d83 ro quiet splash
> ProcEnviron:
>  LANG=en_US.utf8
>  SHELL=/bin/bash
> SourcePackage: cups
> dmi.bios.date: 09/08/2009
> dmi.bios.vendor: Dell Inc.
> dmi.bios.version: A11
> dmi.board.name: 0Y279R
> dmi.board.vendor: Dell Inc.
> dmi.board.version: A11
> dmi.chassis.asset.tag: 1234567890
> dmi.chassis.type: 8
> dmi.chassis.vendor: Dell Inc.
> dmi.chassis.version: A11
> dmi.modalias:
> dmi:bvnDellInc.:bvrA11:bd09/08/2009:svnDellInc.:pnStudioXPS1340:pvrA11:rvnDellInc.:rn0Y279R:rvrA11:cvnDellInc.:ct8:cvrA11:
> dmi.product.name: Studio XPS 1340
> dmi.product.version: A11
> dmi.sys.vendor: Dell Inc.
>
>
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/554172/+subscribe
>

-- 
CUPS and other system services not starting at boot
https://bugs.launchpad.net/bugs/554172
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to