[SERVER-69982] packaging broken (missing systemd) for amazon linux 1. Created: 26/Sep/22  Updated: 29/Oct/23  Resolved: 10/May/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Alex Neben Assignee: Juan Gu
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Duplicate
is duplicated by SERVER-72497 Stop runing publish_packages task on ... Closed
Gantt Dependency
has to be done before SERVER-69870 Test package installs on all supporte... Closed
Problem/Incident
Related
related to SERVER-68470 Amazon Linux 4.2/4.4 RPMs fail to ins... Closed
related to SERVER-71916 Complete TODO listed in SERVER-69982 Closed
related to SERVER-70776 Remove AL1 RPM downloads from website Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4, v4.2
Participants:
Linked BF Score: 28

 Description   

mongo depends on systemd for installing and running. Systemd is not available on amazon linux 1 so it does not work.

Copied from slack
we depend on systemd for running mongod as a deamon. systemd is not available on amazon linux 1. My suggestion is we drop support for amazon linux 1 on mongo 4.2, 4.4 and 5 (which is where we support it) since it is close to EoL. https://aws.amazon.com/amazon-linux-ami/

The other option is we figure out how to make it work. I have no idea what this will entail. But like anything where there is a will there is a way.

The current state: it has been broken since possibly forever and I have not heard about people having issues with it. The only reason I discovered it was because i was working on fixing a similar problem for amazon linux 2 which DOES have systemd.
https://jira.mongodb.org/browse/SERVER-68470

Update:
This ticket is requesting that stop publishing the rpm for AL1 and remove all tests for AL1.



 Comments   
Comment by Githook User [ 18/Jan/23 ]

Author:

{'name': 'Aaron Morand', 'email': 'aaron.morand@10gen.com', 'username': 'aaron-morand'}

Message: Fix to include the code revert in SERVER-69982 which is breaking the release
Branch: master
https://github.com/10gen/mongo-release/commit/8b7a03cfd169784a591ca55f0bbb42fefc44ca64

Comment by Githook User [ 17/Jan/23 ]

Author:

{'name': 'Juan Gu', 'email': 'juan.gu@mongodb.com', 'username': 'juangugit'}

Message: Revert "SERVER-69982 packaging broken (missing systemd) for amazon linux 1"

This reverts commit 2133c0b2c49305ed36f1ec61a105a12b3aaa31cb.
Branch: v4.2
https://github.com/mongodb/mongo/commit/b5a637d8376faec06007b5748aed3f7dd5c55eae

Comment by Githook User [ 17/Jan/23 ]

Author:

{'name': 'Juan Gu', 'email': 'juan.gu@mongodb.com', 'username': 'juangugit'}

Message: Revert "SERVER-69982 packaging broken (missing systemd) for amazon linux 1"

This reverts commit 3d0699faa66b414f5d6e86514c609ecc04d57a3d.
Branch: v4.4
https://github.com/mongodb/mongo/commit/7abe05fdceb8bca948a45352c85189e60fe44e6f

Comment by Githook User [ 17/Jan/23 ]

Author:

{'name': 'Juan Gu', 'email': 'juan.gu@mongodb.com', 'username': 'juangugit'}

Message: Revert "SERVER-69982 packaging broken (missing systemd) for amazon linux 1"

This reverts commit ca697ff471204af2973cd7db6102e96641c2436b.
Branch: v5.0
https://github.com/mongodb/mongo/commit/49aae350729f4ef6d46904b7cf53ac51a7bf7ca2

Comment by Githook User [ 09/Jan/23 ]

Author:

{'name': 'Juan Gu', 'email': 'juan.gu@mongodb.com', 'username': 'juangugit'}

Message: SERVER-69982 packaging broken (missing systemd) for amazon linux 1

(cherry picked from commit ca697ff471204af2973cd7db6102e96641c2436b)
Branch: v4.2
https://github.com/mongodb/mongo/commit/2133c0b2c49305ed36f1ec61a105a12b3aaa31cb

Comment by Githook User [ 09/Jan/23 ]

Author:

{'name': 'Juan Gu', 'email': 'juan.gu@mongodb.com', 'username': 'juangugit'}

Message: SERVER-69982 packaging broken (missing systemd) for amazon linux 1

(cherry picked from commit ca697ff471204af2973cd7db6102e96641c2436b)
Branch: v4.4
https://github.com/mongodb/mongo/commit/3d0699faa66b414f5d6e86514c609ecc04d57a3d

Comment by Githook User [ 09/Jan/23 ]

Author:

{'name': 'Juan Gu', 'email': 'juan.gu@mongodb.com', 'username': 'juangugit'}

Message: SERVER-69982 packaging broken (missing systemd) for amazon linux 1
Branch: v5.0
https://github.com/mongodb/mongo/commit/ca697ff471204af2973cd7db6102e96641c2436b

Comment by Githook User [ 06/Jan/23 ]

Author:

{'name': 'Juan Gu', 'email': 'juan.gu@mongodb.com', 'username': 'juangugit'}

Message: Revert "SERVER-69982 packaging broken (missing systemd) for amazon linux 1"

This reverts commit ed4854591045d79bfe5c0b8ba282df62715bdf49.
Branch: v4.2
https://github.com/mongodb/mongo/commit/d103f2bddbee560025518de4fc534b8024b17963

Comment by Githook User [ 06/Jan/23 ]

Author:

{'name': 'Juan Gu', 'email': 'juan.gu@mongodb.com', 'username': 'juangugit'}

Message: Revert "SERVER-69982 packaging broken (missing systemd) for amazon linux 1"

This reverts commit 3abc01e17662a57137d8f73e40a815191217ecbb.
Branch: v5.0
https://github.com/mongodb/mongo/commit/97d4bde13eea095c5cbfab29b3abc906312005ef

Comment by Githook User [ 06/Jan/23 ]

Author:

{'name': 'Juan Gu', 'email': 'juan.gu@mongodb.com', 'username': 'juangugit'}

Message: Revert "SERVER-69982 packaging broken (missing systemd) for amazon linux 1"

This reverts commit a756768c63d4580aa799c2f8778cbdfd1fbd048d.
Branch: v4.4
https://github.com/mongodb/mongo/commit/d53fcc2688d0289a65cddf5875fb5dfc5919eb1a

Comment by Githook User [ 08/Dec/22 ]

Author:

{'name': 'Juan Gu', 'email': 'juan.gu@mongodb.com', 'username': 'juangugit'}

Message: SERVER-69982 packaging broken (missing systemd) for amazon linux 1

(cherry picked from commit 7d703bb39dc2bdff9784f5decaa81508568600f9)
Branch: v4.2
https://github.com/mongodb/mongo/commit/ed4854591045d79bfe5c0b8ba282df62715bdf49

Comment by Githook User [ 08/Dec/22 ]

Author:

{'name': 'Juan Gu', 'email': 'juan.gu@mongodb.com', 'username': 'juangugit'}

Message: SERVER-69982 packaging broken (missing systemd) for amazon linux 1

(cherry picked from commit 7d703bb39dc2bdff9784f5decaa81508568600f9)
Branch: v4.4
https://github.com/mongodb/mongo/commit/a756768c63d4580aa799c2f8778cbdfd1fbd048d

Comment by Githook User [ 07/Dec/22 ]

Author:

{'name': 'Juan Gu', 'email': 'juan.gu@mongodb.com', 'username': 'juangugit'}

Message: SERVER-69982 packaging broken (missing systemd) for amazon linux 1
Branch: v5.0
https://github.com/mongodb/mongo/commit/3abc01e17662a57137d8f73e40a815191217ecbb

Comment by Alex Neben [ 05/Dec/22 ]

kelsey.schubert@mongodb.com this is close to merging - what needs to happen to remove the rpm as a download option for v4.2, v4.4, and v5.0 (https://www.mongodb.com/try/download/community)? Are there other places it needs to be removed?

Comment by Ryan Egesdahl (Inactive) [ 31/Oct/22 ]

benjamin.cefalo@mongodb.com Yes, the tarball will still be produced for the platform. We just won't be producing an RPM for it anymore because of our dependence on systemd going forward for all platforms. I don't know if we include our SysV Init scripts in the tarball (I think we do not), so anyone using our tarball will need to be prepared to either write their own init scripts or download ours from the repository.

Comment by Benjamin Cefalo [ 29/Oct/22 ]

Just wanting to confirm because EPIC Games has an ask into me about AL1, when using the tar.gz AL1 is supported, its just the RPM that has issues which is why its not available for deploy via automation?

Comment by Evin Roesle [ 21/Oct/22 ]

If we continue to support AL1 then it SGTM on my side as well. Thank you alexander.neben@mongodb.com 

Comment by Alex Neben [ 12/Oct/22 ]

FYI alex.ettouati@mongodb.com. Can we drop support for amazon linux 1?

Generated at Thu Feb 08 06:14:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.