apache2 icon indicating copy to clipboard operation
apache2 copied to clipboard

Amazon-2 and Fedora support

Open damacus opened this issue 6 years ago • 4 comments

Brief Description 🗣

The delayed restart action when apache2 is installed for the first time hangs due to some systemd bug. This doesn't seem to happen on most platforms 🤔

Cookbook version 👩‍🍳

v6.0

Chef-client version 👨‍🍳

Latest

Platform Details 🚆

  • Amazon linux 2
  • Fedora 28+

Scenario 📖

Install apache2 on amazon linux or a new Fedora.

Steps to Reproduce 🌀

Install apache2 cookbook v6.0 on Amazon Linux 2

Expected Result 👮

The restart doesn't hang

damacus avatar Feb 20 '19 20:02 damacus

Having the same issue on Amazon Linux 2

htplbc avatar Feb 28 '19 19:02 htplbc

@damacus and @htplbc can you confirm what the latest versions are in these repos? I believe this could be the same issue as mentioned here: https://github.com/sous-chefs/apache2/issues/636#issuecomment-499527579

danbuchal avatar Jun 06 '19 14:06 danbuchal

I want to make sure @benclark 's comment doesn't get lost: https://github.com/sous-chefs/apache2/issues/636#issuecomment-518768014

His suggestion of enabling extended_status did resolve the issue for me:

apache2_install 'default' do
  mpm 'event'
  mod_conf(
    status: {
      extended_status: 'On'
    }
  )
end

danbuchal avatar Sep 16 '19 15:09 danbuchal

Marking stale due to inactivity. Remove stale label or comment or this will be closed in 7 days. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs.

github-actions[bot] avatar Sep 30 '20 00:09 github-actions[bot]