Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS builds appears to rerun "everyboot" inithooks over and over?! Not just at boot... #2000

Open
JedMeister opened this issue Nov 12, 2024 · 2 comments

Comments

@JedMeister
Copy link
Member

JedMeister commented Nov 12, 2024

As per subject, AWS (i.e. EC2 AMI) & ISO builds rerun the "everyboot" inithooks (/usr/lib/inithooks/everyboot.d/) every minute!

As inithooks should be idempotent, it shouldn't have any negative impact.


[update] seen in v18.x VM (ISO install) recently. Hasn't been seen it in LXC to date - assume issue is intermittent and/or requires specific circumstance.

@JedMeister
Copy link
Member Author

@OnGle noted offline that he hasn't yet been able to reproduce this!?

@OnGle
Copy link
Member

OnGle commented Nov 25, 2024

Issue is:

  1. Our login wrapper runs:
    a. inithooks
    b. confconsole
    c. prints motd
    d. login
  2. Confconsole is not run on AWS
  3. Login will exit after 1 minute IDLE
  4. Getty will restart the process for a given TTY when it exits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants