-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deb: suppress service restart by needrestart
Since Ubuntu 24.04, needrestart package kicks service restart out of package maintainer scripts. Take back fluentd service under control for us, it had better to suppress it. NOTE: It seems that needrestart package is available from EPEL 8/9, but it is broken for a long time, so just ignore it. Needrestart package missing dependency https://bugzilla.redhat.com/show_bug.cgi?id=2154293 Signed-off-by: Kentaro Hayashi <[email protected]> Co-authored-by: Shizuo Fujita <[email protected]>
- Loading branch information
1 parent
c8419c4
commit 182857a
Showing
5 changed files
with
49 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,5 @@ usr/lib/tmpfiles.d/* | |
etc/logrotate.d/* | ||
etc/fluent/* | ||
etc/default/* | ||
etc/needrestart/conf.d/* | ||
lib/systemd/system/* |
6 changes: 6 additions & 0 deletions
6
fluent-package/templates/etc/needrestart/conf.d/50-fluent-package.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Configuration for needrestart | ||
|
||
# Always suppress restarting by needrestart. | ||
$nrconf{blacklist_rc} = [ | ||
qr(^fluentd\.service$) | ||
]; |