plus3it / amigen7

Set of tools to provide automation of tasks for creating STIG-partitioned EL7 AMIs
Apache License 2.0
33 stars 27 forks source link

Add "Cleanup" task to ensure that /var/run is a link to /run #53

Open ferricoxide opened 6 years ago

ferricoxide commented 6 years ago

Problem Description:

On instances launched RHEL 7 AMIs /var/run is not a link to /run. This breaks DBUS upgrades

Expected Behavior:

/var/run is a link to /run in all created AMIs

Actual Behavior:

/var/run is not a link to /run in all created AMIs

(Detailed) Steps to reproduce:

Build new RHEL 7 AMIs from current scripts

(Optional) Fix recommendation:

Add an "end-of-build" type of task to ensure that /var/run is a link to /run.

ferricoxide commented 6 years ago

@lorengordon you addressed this via spel?

lorengordon commented 6 years ago

No. Seems more appropriate to fix in this project. In spel was only planning to test that the symlink existed on a built AMI.

eemperor commented 6 years ago

I have it in my queue to create that symlink test.

ferricoxide commented 5 years ago

I think that Red Hat fixed the issue that was provoking this not long after the problem was reported (though, may just be that, having moved on to more-recent bootstrap AMIs, we're simply no longer triggering the problem)

At any rate: @eemperor did you create the symlink test? If not, should we close this issue, regardless?