[Bug 1569952] [NEW] Comment in multiline stanza breaks the job

Sworddragon 1569952 at bugs.launchpad.net
Wed Apr 13 15:02:15 UTC 2016


Public bug reported:

I'm using Ubuntu 16.04 dev with upstart 1.13.2-0ubuntu21 and if a
comment is used at the beginning of a line within a multiline stanza the
job breaks. For example executing "initctl reload-configuration" and
"dmesg | tail -n 1" shows on the following stanza the error "init:
/etc/init/lxdm.conf:12: Expected token":

start on ((filesystem
           and runlevel [!06]
#           and started dbus
           and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1
                or stopped udev-fallback-graphics))
          or runlevel PREVLEVEL=S)

** Affects: upstart (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1569952

Title:
  Comment in multiline stanza breaks the job

Status in upstart package in Ubuntu:
  New

Bug description:
  I'm using Ubuntu 16.04 dev with upstart 1.13.2-0ubuntu21 and if a
  comment is used at the beginning of a line within a multiline stanza
  the job breaks. For example executing "initctl reload-configuration"
  and "dmesg | tail -n 1" shows on the following stanza the error "init:
  /etc/init/lxdm.conf:12: Expected token":

  start on ((filesystem
             and runlevel [!06]
  #           and started dbus
             and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1
                  or stopped udev-fallback-graphics))
            or runlevel PREVLEVEL=S)

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



More information about the foundations-bugs mailing list