[Bug 1409639] Re: juju needs to support systemd for >= vivid

Martin Pitt martin.pitt at ubuntu.com
Thu Mar 12 14:49:30 UTC 2015


Thanks Robie for the summary. For the record, if you want to continue
running the DEP-8 tests in an upstart environment under vivid, you can
do that at the top of your test:

if [ -d /run/systemd/system ]; then
    if [ ! -x /tmp/autopkgtest-reboot ]; then
        echo "SKIP: testbed does not support reboot"
        exit 0
    fi
    if [ -n "${ADT_REBOOT_MARK:-}" ]; then
        echo "SKIP: Reboot with upstart still runs systemd; using init= ?"
        exit 0
    fi
    echo "Installing upstart..."
    apt-get install -y upstart
    echo "Rebooting into upstart..."
    /tmp/autopkgtest-reboot b1
fi

(That's what I put into systemd-shim's tests, which also only run under
upstart)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju-core in Ubuntu.
https://bugs.launchpad.net/bugs/1409639

Title:
  juju needs to support systemd for >= vivid

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-core/+bug/1409639/+subscriptions



More information about the Ubuntu-server-bugs mailing list