simple-init's glean-install installs systemd service files on ubuntu 14 (upstart)

Bug #1615673 reported by Waldemar Znoinski
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
diskimage-builder
Triaged
High
Unassigned

Bug Description

glean-install
INFO:glean-install:Installing systemd services
INFO:glean-install:glean.sh in /usr/local/bin
INFO:glean-install:Installing glean@.service -> /usr/lib/systemd/system/glean@.service
INFO:glean-install:install -D -g root -o root -m 0644 /usr/local/lib/python2.7/dist-packages/glean/init/glean@.service /usr/lib/systemd/system/glean@.service
INFO:glean-install:Replacing GLEANSH_PATH -> /usr/local/bin in /usr/lib/systemd/system/glean@.service
INFO:glean-install:sed -i "s|%%GLEANSH_PATH%%|/usr/local/bin|g" /usr/lib/systemd/system/glean@.service
INFO:glean-install:Installing glean-udev.rules -> /etc/udev/rules.d/99-glean.rules
INFO:glean-install:install -D -g root -o root -m 0644 /usr/local/lib/python2.7/dist-packages/glean/init/glean-udev.rules /etc/udev/rules.d/99-glean.rules

cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.5 LTS"
NAME="Ubuntu"
VERSION="14.04.5 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.5 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

/usr/lib/systemd/system doesn't exist before glean-install

/usr/lib/systemd does:
/usr/lib/systemd# ls -latr
total 16
drwxr-xr-x 2 root root 4096 Aug 18 20:42 ntp-units.d
drwxr-xr-x 60 root root 4096 Aug 22 12:14 ..
drwxr-xr-x 4 root root 4096 Aug 22 12:15 .

should glean-install be checking for existence of /usr/lib/systemd/system instead of just /usr/lib/systemd ?

summary: - simple-init's glean-install install systemd service files on ubuntu 14
+ simple-init's glean-install installs systemd service files on ubuntu 14
+ (upstart)
Changed in diskimage-builder:
assignee: nobody → Waldemar Znoinski (wznoinsk)
Changed in diskimage-builder:
assignee: Waldemar Znoinski (wznoinsk) → nobody
Changed in diskimage-builder:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Waldemar Znoinski (wznoinsk) wrote :

the fix is somehow hanging:
https://review.openstack.org/#/c/279818/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.