Project

Profile

Help

Issue #2524

closed

Vagrant systemd and upstart scripts are not symlinked to source

Added by bmbouter over 7 years ago. Updated about 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Low
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
Platform Release:
2.12.2
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

To reproduce:

1. `vagrant up` to master
2. make a change to this file in your local checkout
3. Check the local vagrant environment to see if it received your changes with cat /usr/lib/systemd/system/pulp_resource_manager.service
4. Observe that your changes will not take effect in your dev environment
5. Which makes sense because this is not a symlink:

[vagrant@dev ~]$ ls -la /usr/lib/systemd/system/pulp_resource_manager.service 
-rw-r--r--. 1 root root 459 Dec  6 07:35 /usr/lib/systemd/system/pulp_resource_manager.service

In the dev environment, I expect all installed systemd .service files and all upstart init scripts to be symlinks to their source locations in the repo.

Actions #1

Updated by bizhang over 7 years ago

  • Severity changed from 2. Medium to 1. Low
  • Triaged changed from No to Yes
Actions #2

Updated by dalley over 7 years ago

  • Assignee set to dalley
Actions #3

Updated by dalley over 7 years ago

  • Status changed from NEW to ASSIGNED
Actions #4

Updated by dalley about 7 years ago

The systemd version present in Fedora 24 does not allow you to use symlinks to unit files in non-root directories. This issue has been fixed but we will need to wait until the systemd version present in our dev environment contains the fix before we may proceed with this issue.

Reassess at a later date.

Actions #5

Updated by dalley about 7 years ago

Within the last 24 hours the dev environment switched to Fedora 25, so it's time to reassess..

Added by dalley about 7 years ago

Revision 10e6673f | View on GitHub

Symlink development service files to the source

Create symbolic links so that the dev environment upstart and systemd unit files both point to the development ones.

closes #2524 https://pulp.plan.io/issues/2524

Added by dalley about 7 years ago

Revision 10e6673f | View on GitHub

Symlink development service files to the source

Create symbolic links so that the dev environment upstart and systemd unit files both point to the development ones.

closes #2524 https://pulp.plan.io/issues/2524

Actions #6

Updated by dalley about 7 years ago

  • Status changed from ASSIGNED to MODIFIED
Actions #7

Updated by semyers about 7 years ago

  • Platform Release set to 2.12.2
Actions #8

Updated by semyers about 7 years ago

  • Status changed from MODIFIED to 5
Actions #9

Updated by bizhang about 7 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE
Actions #10

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF