Skip to content

Revert "(PE-36861) Add a needrestart conf file for debian packages"#12

Merged
bastelfreak merged 1 commit intomainfrom
restart
Jul 8, 2025
Merged

Revert "(PE-36861) Add a needrestart conf file for debian packages"#12
bastelfreak merged 1 commit intomainfrom
restart

Conversation

@bastelfreak
Copy link
Copy Markdown
Contributor

This reverts commit e43660e.

e43660e added a denylist for needrestart to ignore openvoxdb/openvoxserver. Both services write files into /tmp/, which triggered service restarts, that were not required.

Since
puppetlabs/ezbake@bf1a75d, both services use the PrivateTmp feature from systemd, that makes the denylist obsolete.

This now ensures that needsrestart will restart openvoxdb/openvoxserver on Java updates. That will fix
puppetlabs/puppetserver#2900.

Please add all notable changes to the "Unreleased" section of the CHANGELOG.

@bastelfreak
Copy link
Copy Markdown
Contributor Author

I don't know a lot about the packaging. Do I need to configure something to ensure the config files are removed on package upgrades? Or will that happen automatically because the files are missing in the latest package?

ekohl
ekohl previously approved these changes May 7, 2025
This reverts commit e43660e.

e43660e added a denylist for
needrestart to ignore openvoxdb/openvoxserver. Both services write files
into /tmp/, which triggered service restarts, that were not required.

Since
puppetlabs/ezbake@bf1a75d,
both services use the PrivateTmp feature from systemd, that makes the
denylist obsolete.

This now ensures that needsrestart will restart openvoxdb/openvoxserver
on Java updates. That will fix
puppetlabs/puppetserver#2900.
@bastelfreak bastelfreak merged commit 6c60f70 into main Jul 8, 2025
7 checks passed
@bastelfreak bastelfreak deleted the restart branch July 8, 2025 11:11
@bastelfreak bastelfreak added the enhancement New feature or request label Jul 30, 2025
bastelfreak added a commit to bastelfreak/ezbake that referenced this pull request Jan 2, 2026
This reverts commit e43660e.

e43660e added a denylist for
needrestart to ignore openvoxdb/openvoxserver. Both services write files
into /tmp/, which triggered service restarts, that were not required.

Since
puppetlabs/ezbake@bf1a75d,
both services use the PrivateTmp feature from systemd, that makes the
denylist obsolete.

This now ensures that needsrestart will restart openvoxdb/openvoxserver
on Java updates. That will fix
puppetlabs/puppetserver#2900.

(cherry picked from commit 2ff6317)

---

This is cherry-picked from OpenVoxProject#61 and was originally added in OpenVoxProject#12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants