← Back to team overview

touch-packages team mailing list archive

[Bug 1468102] Re: rc.local output does not go to console

 

So the gist of this is that rc.local writes to /dev/console but you
don't see this? I added this to /etc/rc.local on a normal installation:

echo hello_stdout
echo hello_console > /dev/console

and "systemctl start rc-local.service" does print the hello_console on
the console (you need to run it on a VT, you won't see it in X), and the
hello_stdout goes to the journal. So apparently I'm missing something.

How do you test this exactly? Some OpenStack instance, and nova console-
log? Local VM? something else?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1468102

Title:
  rc.local output does not go to console

Status in systemd package in Ubuntu:
  Confirmed

Bug description:
  provided is user-data that should write:
  [stdout] Tue, 23 Jun 2015 20:17:52 +0000 ====== successfull boot 1 =======

  to the console on the first boot.

  currently in wily, rc.local's output is not being written to the
  console, so you wont see this.

  Note, that because of bug 1468103, you wont see it on first boot. If
  this bug were fixed then you'd see it on reboots.

  Related bugs:
   * bug 1468103:  rc.local runs too early.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: systemd 220-7ubuntu1
  ProcVersionSignature: User Name 3.19.0-22.22-generic 3.19.8-ckt1
  Uname: Linux 3.19.0-22-generic x86_64
  ApportVersion: 2.17.3-0ubuntu4
  Architecture: amd64
  Date: Tue Jun 23 20:26:30 2015
  Ec2AMI: ami-00000434
  Ec2AMIManifest: FIXME
  Ec2AvailabilityZone: nova
  Ec2InstanceType: m1.small
  Ec2Kernel: aki-00000002
  Ec2Ramdisk: ari-00000002
  Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  MachineType: OpenStack Foundation OpenStack Nova
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-22-generic root=LABEL=cloudimg-rootfs ro console=tty1 console=ttyS0
  SourcePackage: systemd
  UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 01/01/2011
  dmi.bios.vendor: Bochs
  dmi.bios.version: Bochs
  dmi.chassis.type: 1
  dmi.chassis.vendor: Bochs
  dmi.modalias: dmi:bvnBochs:bvrBochs:bd01/01/2011:svnOpenStackFoundation:pnOpenStackNova:pvr2014.1.4:cvnBochs:ct1:cvr:
  dmi.product.name: OpenStack Nova
  dmi.product.version: 2014.1.4
  dmi.sys.vendor: OpenStack Foundation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1468102/+subscriptions


References